HomeNumber Generator › 1 to 2
1 to 2

Random Number 1 to 2

Click the number or press Generate — 2 possible outcomes

?
to
Total Possibilities
2
Probability per Number
50%
Expected Average
2
Range
1 – 2

About Random Number 1 to 2

Rolling a number between 1 and 2 is equivalent to rolling a standard 2-sided die (d2). Each of the 2 possible outcomes has exactly 50% probability — statistically identical to a physical roll.

Probability: Each number from 1 to 2 has exactly 50% probability on every roll. This is a discrete uniform distribution — there is no bias toward any particular value, and past results never influence future ones.

Common uses for this range: Coin-flip equivalent — choosing between two options with equal probability.

This tool runs entirely in your browser. No data is sent to any server, no results are logged, and the generator re-seeds on every click.

Frequently Asked Questions

How do I generate a random number between 1 and 2?

Click the large number or press Generate. A random integer between 1 and 2 is selected with 50% probability for each value. You can also adjust the range using the fields above.

Is every number equally likely?

Yes. Math.random() in modern browsers uses a cryptographically seeded algorithm producing a uniform distribution. Each of the 2 integers between 1 and 2 has exactly equal probability.

What is the average expected result?

The statistical mean of the range 1 to 2 is 2. Over many rolls, your results will converge toward this value. The standard deviation is approximately 0.5.

Can I pick multiple random numbers from this range?

Use our Number Generator to generate up to 20 numbers at once with a no-repeats option — ideal for lottery picks and random sampling.