Random Number Generator from 1 to 38

Random Number Generator
Random number from
to

Random number between 1 and 38?

any of the 38 whole numbers from 1 to 38, each with about a 2.63% chance

Generate a number

N = 38 − 1 + 1 = 38 P = 1 ÷ 38 ≈ 2.63%

The Range 1–38 in Numbers

Even / odd numbers19 / 19
Chance of an even number19 / 38 = 50%
Draws for a particular number to reach a 50% chance26

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

See Also

FAQ

Random number between 1 and 38?

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

How many numbers are there from 1 to 38?

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

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

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

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