← All Calculators

Random Number Generator

Fair random decisions

Random Number Generator
Fair random decisions

Random picks, number ranges, and coin flips

Use the number mode for a casual pick from an inclusive range. If the minimum is 1 and maximum is 6, the possible results are 1, 2, 3, 4, 5, and 6. Make sure the minimum is not greater than the maximum; for integer results, both endpoints are included.

Example

For a range from 10 to 20, there are 11 possible integers. A random result can be selected from that set; generating again makes a new pick. A coin flip represents two possible outcomes, heads or tails. For fairness in a group activity, agree on the process before seeing the result and do not reroll only because an outcome is inconvenient.

Not for security-sensitive uses

The number selection on this page is designed for casual choices and uses JavaScript's Math.random(). MDN notes that Math.random() is not cryptographically secure, so do not use this tool for passwords, authentication codes, encryption keys, or other security-sensitive decisions. Use a purpose-built cryptographic mechanism when security matters. See the MDN reference for Math.random().

Tips for accurate results

Set the minimum and maximum, and note whether the range includes both ends. The tool works well for choosing a name, deciding who goes first, or sampling a number. A coin flip is a 50/50 choice, so use it only for decisions where either outcome is acceptable.

Common mistakes and limits

Computer-generated numbers are pseudorandom, which is fine for games and choices but not for security keys or regulated draws. Streaks happen in random sequences, and a run of heads does not make tails more likely next time, a mistake known as the gambler's fallacy.

About AllCalc

AllCalc is a free calculator hub. Everything runs in your browser — no accounts, no downloads, no clutter. Results are for reference only and are not a substitute for professional financial, medical, or legal advice.

Read more →

Privacy

Calculator inputs are processed in your browser. See the Privacy Policy for details about local storage, third-party advertising, and contact-form submissions.

Read the full policy →

Terms

AllCalc provides general reference calculations. Verify important results independently. Use is at your own risk.

Read the full terms →