Random Number Generator from 1 to 9999

Random Number Generator
Random number from
to

Random number between 1 and 9,999?

any of the 9,999 whole numbers from 1 to 9,999, each with about a 0.010% chance

Generate a number

N = 9,999 − 1 + 1 = 9,999 P = 1 ÷ 9,999 ≈ 0.010%

The Range 1–9,999 in Numbers

Even / odd numbers4,999 / 5,000
Chance of an even number4,999 / 9,999 ≈ 49.99%
Draws for a particular number to reach a 50% chance6,931

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

See Also

FAQ

Random number between 1 and 9,999?

It can be any of the 9,999 whole numbers from 1 to 9,999, each with about a 0.010% chance

How many numbers are there from 1 to 9,999?

9,999 whole numbers: 9,999 − 1 + 1 = 9,999, because both bounds are included. Even numbers among them: 4,999, odd: 5,000 — so an even result comes up with about a 49.99% chance.

How many draws does it take to get a particular number from 1 to 9,999?

With repeats allowed, a particular number has at least a 50% chance of appearing once it has been given 6,931 draws; after 6,930 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 9,999?

Set how many numbers you need and tick «No repeats». The generator then draws without replacement, up to 1,000 different numbers at a time.