← Back to the wheel

What Is RNG? A Plain-English Guide To Random Numbers

November 11, 2026 · 6 min read

RNG stands for random number generator. It is a process that produces numbers without following a predictable sequence. On GetLuckyNumber.com, your browser supplies a random integer inside the range you choose, and the wheel displays that result.

The Two Ideas Behind The Tool

1. Unpredictability

You should not be able to work out the next result from earlier results. Seeing 8, 2 and 6 does not tell you which number comes next. Each new selection is generated independently within the chosen range.

2. Equal Chance For Each Listed Integer

For a range from 1 to 6, the possible outcomes are 1, 2, 3, 4, 5 and 6. Each has a theoretical probability of 1/6 per selection. Equal probability does not mean the results will alternate or that every number must appear once in six trials.

Why A Run Can Look Uneven

Random results naturally form clusters and gaps. Three identical results in a row can feel surprising, but that sequence is still possible. For a range from 1 to 6, a particular number may appear several times in 20 trials and another may not appear at all. A small sample is not expected to reproduce the theoretical distribution exactly.

Expected Counts Are Not Promises

In 60 trials from 1 to 6, the expected count for each number is 60 × 1/6 = 10. “Expected” describes the long-run average; it does not guarantee exactly ten appearances in one experiment. Comparing the expected count with the observed count is the central activity in our Probability Lab.

How This Wheel Selects A Number

The tool uses crypto.getRandomValues(), the browser's Web Crypto interface. It uses rejection sampling so the mapping to the requested integer range is not biased by leftover values. The selected number is computed first; the animation then finishes with that number under the pointer. The animation communicates the result rather than determining it.

Random And Pseudorandom Are Not Identical

Many classroom programs use a pseudorandom algorithm: a mathematical procedure with a starting state called a seed. This tool uses the browser's cryptographic random source instead. For this classroom tool, the important practical points are equal mapping across the requested range and no predictable pattern supplied by a simple formula.

What One Experiment Can — And Cannot — Show

Try A Thoughtful Classroom Investigation

Ask pupils to predict the distribution for 60 trials, run the experiment, and then repeat it with 600 trials. Discuss which proportions look more stable and why individual results remain unpredictable. The Probability Lab produces the frequency table automatically and includes a printable pupil sheet.

☕ Buy me a coffee