How to Pick a Random Number Fairly
November 25, 2026 · Blogs
Somebody has to pick who goes first, choose a raffle winner, or decide which five questions land on the quiz — and the moment you pick them yourself, someone says “you would choose that one”. Fair randomness is surprisingly hard to fake. Humans are terrible at it: we avoid repeats, spread our choices too evenly, and unconsciously favour the options we like.
![]()
Photo: McGeddon via Openverse, CC0
What a random number generator does
A random number generator produces numbers within a range you set — say, between 1 and 100 — with no pattern and no favouritism. You choose how many numbers you want and whether repeats are allowed, and the tool does the picking. It’s the digital equivalent of drawing names from a hat, except the hat never forgets to put a name back or accidentally holds two slips together.
The benefit is trust. When a number is generated by a tool in front of everyone, nobody has to take your word for the fairness of the draw. That makes it useful for classroom activities, giveaways, game nights, choosing samples, splitting people into groups, and settling the eternal question of who makes the tea. It also has quieter uses: generating test data, picking practice questions at random so you can’t dodge the hard ones, or choosing a truly arbitrary number for a guessing game.
There’s a nice contrast here with numbers that are deliberately not random. Your grades, for example, follow set rules, as our explanation of GPA shows. Random generation is the opposite tool for the opposite job: outcomes where pattern and preference are exactly what you don’t want.
How to use the random number generator, step by step
- Enter the lowest number in your range — the minimum.
- Enter the highest number — the maximum. For a standard dice roll, that’s 1 and 6.
- Choose how many numbers you want generated in one go.
- Decide whether duplicates are allowed. Switch them off for draws and raffles, where each number must be unique; leave them on for dice-style rolls, where repeats are natural.
- Click generate, and use the numbers exactly as they come out — no re-rolling because you didn’t like them.
Ready when you are: you can generate random numbers in any range and run your draw in front of the whole room.
Worked examples from everyday life
Example one: a raffle with 49 tickets and one winner. Set the range from 1 to 49, generate one number, duplicates irrelevant. Out comes, say, 27. Ticket 27 wins, and because everyone watched it happen, nobody mutters.
Example two: a teacher picking five different students from a class list of 30. Set the range 1 to 30, ask for five numbers, and turn duplicates off. You might get 4, 11, 19, 23 and 30 — five distinct students, chosen in one click, with no chance of the same person being picked twice while someone else never gets a turn.
Example three: simulating dice. Two dice means a range of 1 to 6, two numbers, duplicates firmly on — because rolling two fours is a perfectly normal event. If you ran ten rolls you might see 3 and 5, 6 and 6, 1 and 4, and so on. The repeats aren’t a fault in the tool; they’re what real randomness looks like.
What “random” really means (and what it doesn’t)
It helps to know there are two flavours. Everyday tools like this one use algorithms that produce numbers which behave randomly — unpredictable in practice, and perfectly fair for draws, games and decisions. Specialists call these pseudo-random, because an algorithm starts the process from a seed value.
For genuinely sensitive purposes, such as cryptography and security systems, stronger methods are needed, and standards bodies take the subject very seriously. The US National Institute of Standards and Technology runs a whole project on random bit generation at NIST, which gives you a sense of how deep the topic goes. The honest summary: a browser generator is ideal for fairness among friends and colleagues, and it isn’t the tool you’d use to secure a bank.
That distinction matters in one everyday place, though. Don’t use a simple number generator to create passwords — a password needs length, mixed characters and unpredictability of a different kind, as our guide to what makes a strong password explains. Right tool, right job.
Common mistakes when running a draw
Re-rolling until you like the result
The fastest way to destroy the fairness you wanted. If you generate again because the winner “won last time too”, you’re no longer running a draw — you’re choosing, with extra steps. Agree the rules before the first click, then accept what comes out.
Leaving duplicates on for a draw
If you’re picking five prize winners from 100 entries with duplicates allowed, the same number can appear twice and you’ll have to improvise mid-draw. Check the setting before you start, in front of your audience, so the rules are visibly fair.
Setting the wrong range
It sounds too obvious to mention, yet it happens constantly: tickets numbered 1 to 50, generator set to 1 to 100, and a winning number that doesn’t exist. Match the range to the real list before you click, and read the result aloud as it appears.
Questions people ask
Can a random number generator repeat the same number twice in a row?
Yes, and it should be able to. With duplicates allowed, getting 7 twice is exactly as likely as any other pair of results. If repeats never happened, the sequence would actually be less random, because you’d be able to predict that the next number is never the one you just saw.
Is an online generator fair enough for a giveaway?
For community, classroom and social media giveaways, yes — generate the number in a way people can see or verify, state your rules in advance, and stick to the first result. For regulated prize draws with significant prizes, check the rules that apply in your country, as formal promotions can have legal requirements beyond a fair number.
Why do my results sometimes look “clumpy”?
Because randomness clumps. Run twenty coin flips and you’ll likely get a run of four or five heads somewhere in there. Our brains expect randomness to look evenly spread, so genuine randomness often looks suspicious. The clumps are the signature of the real thing.
You can’t outsource fairness to your own good intentions — people are pattern-making creatures, and it shows in every “random” choice we make by hand. Let a generator do the picking, agree the rules out loud, and accept the first result. Nobody argues with a number that nobody chose.
Tags: fair draw, games, raffle, random number generator
