Explainers · 8 min read

How random number generators work

A plain-language guide to ranges, fairness, repetition, and everyday uses.

A random number generator chooses a value without using personal preference. For everyday decisions, the most important details are the allowed range and whether repeated results are acceptable.

01

Define the range

Choose the smallest and largest possible values. An inclusive range from 1 to 10 can return both 1 and 10.

02

Decide whether repeats are allowed

Independent draws may repeat. If you need every item exactly once, shuffle a list instead of generating independent numbers.

03

Common everyday uses

Random numbers can assign teams, choose practice questions, pick a starting player, select samples, or break a tie between equally good options.

04

Random does not mean guaranteed balance

Short sequences can look uneven. Fair randomness means each valid result has the intended chance—not that every small batch is perfectly distributed.