FO
FairOnly

One-based ranges

Random number from 1 to 40

Generate integers from 1 through 40, inclusive. Draw one value or export a sorted batch from 40 possibilities.

Draw settings

Results

Your results will appear here.
Possible values
40
Mean
20.5
Median
20.5
Chance per value
1 in 40

Draw notes & questions

Are both ends included?

Yes. Both 1 and 40 have the same 1 in 40 chance as every other integer on the first pick.

Where does the draw happen?

Your browser samples integers with Web Crypto rejection sampling. Your entries and results stay on this device.