What Does Random Mean for a Computer? Pseudo-Random Numbers Explained
A short, non-technical guide to how computers make random-looking numbers and when that is good enough.
2026-10-10 · 4 min read
Computers follow instructions
A computer is a machine that does what it is told, so it cannot produce true randomness from logic alone. Instead it uses a formula that starts from a seed value and generates a long sequence that looks random. This is called a pseudo-random number generator.
Good enough for most tasks
- Games, simulations and teaching examples.
- Classroom draws and casual giveaways.
- Sampling for quality checks.
A simple analogy
Imagine a very long recipe that tells you to take the previous number, multiply it, add something and keep only the last digits. If you start from the same seed you always get the same list, but without knowing the seed or the recipe the list looks unpredictable. Modern generators use far more sophisticated recipes and often a seed that comes from the time or from tiny unpredictable fluctuations in the device. That is why the output behaves well enough for statistics, games and everyday choices.
Not good enough for everything
Security keys, regulated gambling and official lotteries require stronger sources of unpredictability, often combined with physical processes and independent testing. For secure passwords, use the dedicated password generator. For everyday fairness, the numbers produced here are more than adequate.