Random Number Generator from 1 to 5000

Random Number Generator
Random number from
to

Random number between 1 and 5,000?

any of the 5,000 whole numbers from 1 to 5,000, each with a 0.02% chance

Generate a number

N = 5,000 − 1 + 1 = 5,000 P = 1 ÷ 5,000 = 0.02%

The Range 1–5,000 in Numbers

Even / odd numbers2,500 / 2,500
Chance of an even number2,500 / 5,000 = 50%
Draws for a particular number to reach a 50% chance3,466

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

Related Calculations

See Also

FAQ

Random number between 1 and 5,000?

It can be any of the 5,000 whole numbers from 1 to 5,000, each with a 0.02% chance

How many numbers are there from 1 to 5,000?

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

How many draws does it take to get a particular number from 1 to 5,000?

With repeats allowed, a particular number has at least a 50% chance of appearing once it has been given 3,466 draws; after 3,465 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 5,000?

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.