← All blog posts

Random Number Generator — the complete guide

WhiteUI · A plain-English guide to the Random Number Generator

Random numbers are a small job with a surprising number of details: three settings, limits of 0 to 1,000 and 1 to 20, a range rule that decides the odds, and a result panel with three things to read. This guide covers every part of the Random Number Generator: the settings, the limits, the maths, and the everyday uses, so you never have to guess what a number means.

At a glance

Default count: 5 numbers11020Count runs from 1 to 20 numbers
The default count is 5 numbers, on a scale that runs from 1 to 20 numbers per press.

The three settings

The minimum is the smallest number the tool can pick, and the maximum is the largest. The count is how many numbers you get in one press. The defaults are a minimum of 1, a maximum of 10 and a count of 5, so the tool picks five numbers, each from 1 to 10 inclusive. Each setting has a number box and a slider beside it, and both change the same value.

The limits: 0 to 1,000 and 1 to 20

The minimum and maximum run from 0 to 1,000, so the widest range is 0 to 1,000, which holds 1,001 whole numbers. The count runs from 1 to 20, so one press gives at most 20 numbers. If you need more than 20, press Generate again and add the sets together. If you type a minimum above the maximum, the two ends are swapped quietly, so you still get numbers inside the range you meant.

Reading the three numbers

Every press updates three things: the big line, which reads the count, such as “5 numbers”; the chips, which show the set itself; and two smaller lines, which give the smallest and the largest. With the example set 3, 7, 1, 10, 4, the smallest is 1 and the largest is 10. Those two lines are a quick check that every number sits inside the range you set, because no number can fall outside it.

The maths: range size and chance

The range is inclusive, so the count of values is maximum minus minimum plus 1: 1 to 10 holds 10 values, 1 to 6 holds 6, and 1 to 100 holds 100. The chance for any one number is 1 divided by that count: 10% for 1 to 10, 16.67% for 1 to 6, and 1% for 1 to 100. Each pick is independent, so the chance is the same on every pick, and repeats are allowed: with 5 picks from 10 values, 69.76% of sets contain a repeat.

Everyday uses

A dice roll is the simplest use: minimum 1, maximum 6, count 1. A raffle is one number from 1 to 100, with each ticket holding a 1% chance. A classroom draw is one number from 1 to 30, with each student holding a 1 in 30 chance, or 3.33%. A short list of 20 numbers from 1 to 10 gives a quick set of draws, with any one value appearing twice on average. The tool suits any job where the pick has to be fair and nobody can be accused of choosing.

The common mistake

People read the count as the range: five numbers from 1 to 10 is not five values, it is five picks from ten values, and each pick has a 1 in 10 chance. The count is how many numbers you get, and the range is where they come from. Mixing the two up makes the odds look ten times better than they are, so check which number is which before you quote a chance.

Frequently asked questions

What are the three settings of the Random Number Generator?

A minimum, a maximum and a count. The defaults are 1, 10 and 5, so the tool picks five numbers, each from 1 to 10 inclusive.

What are the limits of the tool?

The minimum and maximum run from 0 to 1,000, and the count runs from 1 to 20 numbers per press.

What is the chance of any one number being picked?

1 divided by the count of values in the range. For 1 to 10 it is 10%, for 1 to 6 it is 16.67%, and for 1 to 100 it is 1%.

How do I check my result?

Read the smallest and largest lines under the set. Every number must sit between the minimum and maximum you set.

Can numbers repeat?

Yes. Each pick is independent, so repeats are allowed, and 69.76% of 5-number sets from 1 to 10 contain a repeat.

More guides on the Random Number Generator

Try it yourself

Try the Random Number Generator — free, in your browser.

Open the Random Number Generator