Random Number Generator from 1 to 21

Random Number Generator
Random number from
to

Random number between 1 and 21?

any of the 21 whole numbers from 1 to 21, each with about a 4.76% chance

Generate a number

N = 21 − 1 + 1 = 21 P = 1 ÷ 21 ≈ 4.76%

The Range 1–21 in Numbers

Even / odd numbers10 / 11
Chance of an even number10 / 21 ≈ 47.62%
Draws for a particular number to reach a 50% chance15

With repeats allowed, each draw misses a particular number with probability 1 − 1/21, so after k draws it has appeared at least once with probability 1 − (1 − 1/21)k. That first reaches 50% at k = 15.

See Also

FAQ

Random number between 1 and 21?

It can be any of the 21 whole numbers from 1 to 21, each with about a 4.76% chance

How many numbers are there from 1 to 21?

21 whole numbers: 21 − 1 + 1 = 21, because both bounds are included. Even numbers among them: 10, odd: 11 — so an even result comes up with about a 47.62% chance.

How many draws does it take to get a particular number from 1 to 21?

With repeats allowed, a particular number has at least a 50% chance of appearing once it has been given 15 draws; after 14 draws the chance is still below 50%. Each draw is independent, so earlier misses do not make it «due».

How to pick several different numbers from 1 to 21?

Set how many numbers you need and tick «No repeats». The generator then draws without replacement, so you can get up to 21 different numbers — the whole range in random order.