Random Number Generator from 2 to 21

Random Number Generator
Random number from
to

Random number between 2 and 21?

any of the 20 whole numbers from 2 to 21, each with a 5% chance

Generate a number

N = 21 − 2 + 1 = 20 P = 1 ÷ 20 = 5%

The Range 2–21 in Numbers

Even / odd numbers10 / 10
Chance of an even number10 / 20 = 50%
Draws for a particular number to reach a 50% chance14

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

20 equally likely outcomes — the same odds as one roll of a 20-sided die (d20) from a tabletop game set.

See Also

FAQ

Random number between 2 and 21?

It can be any of the 20 whole numbers from 2 to 21, each with a 5% chance

How many numbers are there from 2 to 21?

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

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

With repeats allowed, a particular number has at least a 50% chance of appearing once it has been given 14 draws; after 13 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 2 to 21?

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

What has the same odds as a random number from 2 to 21?

20 equally likely outcomes — the same odds as one roll of a 20-sided die (d20) from a tabletop game set.