Random Number Generator from 1 to 45

Random Number Generator
Random number from
to

Random number between 1 and 45?

any of the 45 whole numbers from 1 to 45, each with about a 2.22% chance

Generate a number

N = 45 − 1 + 1 = 45 P = 1 ÷ 45 ≈ 2.22%

The Range 1–45 in Numbers

Even / odd numbers22 / 23
Chance of an even number22 / 45 ≈ 48.89%
Draws for a particular number to reach a 50% chance31

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

See Also

FAQ

Random number between 1 and 45?

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

How many numbers are there from 1 to 45?

45 whole numbers: 45 − 1 + 1 = 45, because both bounds are included. Even numbers among them: 22, odd: 23 — so an even result comes up with about a 48.89% chance.

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

With repeats allowed, a particular number has at least a 50% chance of appearing once it has been given 31 draws; after 30 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 45?

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