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

The Range 1–5,000 in Numbers

N = 5,000 − 1 + 1 = 5,000
P = 1 ÷ 5,000 = 0.02%
Whole numbers in the range 5,000
Chance of each number 1 / 5,000 = 0.02%
Even / odd numbers 2,500 / 2,500
Chance of an even number 2,500 / 5,000 = 50%
Draws for a particular number to reach a 50% chance 3,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.

See Also

Random Number Generator

This generator picks a random whole number between two bounds, both of them included. The number is drawn in your browser from its cryptographic random source, and every number in the range has the same chance. For example, it can help you find out random number between 1 and 5,000? Enter the lower bound (e.g. '1') and the upper bound (e.g. '5,000'), then press 'Generate'. On the result page you can draw several numbers at once, with or without repeats.
Random Number Generator
Random number from
to

Neighbouring Ranges

RangeWhole numbersChance of each number
1–264264≈0.38%
1–300300≈0.33%
1–365365≈0.27%
1–456456≈0.22%
1–5005000.2%
1–600600≈0.17%
1–8008000.125%
1–999999≈0.10%
1–1,0001,0000.1%
1–1,5001,500≈0.067%
1–3,0003,000≈0.033%
1–5,0005,0000.02%
1,000–9,9999,000≈0.011%
1–9,9999,999≈0.010%
1–10,00010,0000.01%

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.