Random Generator

Number Generator

Generate random numbers within your range

This generator picks a random number between any two values you set. It is useful for draws, sampling, games, and any decision where you want an outcome nobody chose.

Numbers produced here come from your browser's pseudorandom generator. That is entirely appropriate for games and raffles, though not for cryptographic purposes, which need a different class of generator.

How to use it

  1. Set the minimum and maximum of your range.
  2. Generate a number.
  3. Repeat as needed, or adjust the range and generate again.

Common uses

  • Running a prize draw by numbering entrants and generating a winner.
  • Picking a random student, seat, or team member without visible bias.
  • Sampling from a list for quality checks or spot audits.
  • Replacing dice or a spinner in a board game when the physical one has gone missing.
  • Deciding an order of play when nobody wants to go first.

What people get wrong about randomness

The most persistent misconception is the gambler's fallacy: the belief that a result which has not appeared for a while is somehow due. Each generation is independent, so a number that came up three times running is exactly as likely as any other on the next attempt.

Genuinely random sequences also look far less even than people expect. Clusters and repeats are normal, and a sequence that appears suspiciously patterned is usually just what randomness actually looks like over a small number of trials.

Frequently asked questions

Are the numbers truly random?
They come from your browser's pseudorandom number generator, which is statistically sound for games, draws, and sampling. It is not suitable for cryptography, which requires a cryptographically secure generator.
Can the same number come up twice in a row?
Yes, and it should. Each generation is independent of the last, so repeats are expected and are not a sign that anything is wrong.
Can I use this for a prize draw?
Yes. Number your entrants sequentially and generate within that range. For draws where the outcome is contested, generating in front of witnesses is worth doing.
Why does the same number keep appearing?
Over a small number of generations, clusters are normal. Genuinely random sequences look much less evenly spread than intuition suggests, and apparent patterns usually disappear over more trials.