Skip to content
Allin

How to Pick a Name at Random — Without Anyone Doubting the Result

Published 4/10/2026 · 4 min read · Everyday calculators

Lena Hoffmann

Lena HoffmannScience & education writer at Allin

Mathematics · Physics

Checked against 2 sources

View profile
In short

To pick a name at random fairly, put every entry in a list exactly once, use a generator that draws with uniform probability across the whole list, and fix the rules before you draw — how many winners, whether a name can be picked twice, and what happens if the winner does not respond. Announce the method beforehand and, for anything with real stakes, record the draw or use a source of randomness that can be verified after the fact. The usual failure is not the random number itself but the process around it: a list with duplicates, a draw repeated until someone likes the outcome, or rules invented after the name came out.

A fair draw needs more than a random number: equal probability, no reuse of a biased method, and a result someone else can check. Here is how to run one.

What fair actually means here

A draw is fair when every entry has the same probability of being selected. That sounds obvious, but it is broken constantly in small ways: a list where a name appears twice doubles that person's odds, and a physical hat favours whatever was dropped in last and sits on top. The list itself, not the randomiser, is where most unfairness enters.

Fairness also has a second half that people forget: the outcome has to be accepted. A mathematically perfect draw that nobody witnessed and that cannot be checked afterwards will still be disputed. Treat the draw as a process with an audience, not just a computation.

With or without replacement, and why it matters

Drawing with replacement puts each name back after it is picked, so the same person can win twice. Drawing without replacement removes them, which is what you want for multiple prizes or for assigning people to slots. For three winners out of forty entries, without replacement each person has a 3 in 40 chance, or 7.5 percent; with replacement the arithmetic changes and some names may repeat.

Decide this before the draw, not when a repeat appears. The same applies to reserves: if you may need substitutes, draw the full ordered list in one go and keep positions four, five and six as the reserve order, rather than running a fresh draw later with a smaller pool.

When a browser random number is not enough

For a classroom draw, a team split or a giveaway among friends, a standard generator is entirely adequate — the distribution is uniform enough that no one is disadvantaged. What it is not is unpredictable to someone who can inspect the page: the usual browser function is explicitly documented as not cryptographically secure, and its output can in principle be reconstructed.

When money, places or legal obligations are involved, that matters. Public randomness beacons such as the one operated by NIST publish a signed random value at fixed intervals, so a draw can commit to a future beacon pulse in advance and anyone can verify afterwards that the result followed from a value nobody could have known when the rules were set.

Random Name GeneratorGenerate random names for people, companies, apps, usernames, products, bands and more.Try the tool

Frequently asked questions

Is drawing from a hat fairer than using a website?
Not statistically. Slips of paper are rarely mixed enough, and the last ones added tend to sit on top, so a hat is usually less uniform than a software draw. Its real advantage is that everyone can watch it — which you can match by recording a digital draw.
Can I redraw if the winner does not reply?
Only if you said so beforehand. Publish a deadline — for example seven days to claim — as part of the rules, and draw the reserve order at the same time as the winner. Improvising a second draw after the fact is what makes participants suspect the first one.
How do I weight a draw so some entries count more?
Repeat a name as many times as it has entries, then draw once from the expanded list. Someone with three tickets appears three times among a hundred lines and has a 3 percent chance. Say clearly that the draw is weighted, since a weighted draw is not what most people assume by default.

Articles you may find interesting

All guides
GuideSplitting People Into Fair Groups: Random and Fair Are Not the Same Requirement23 people do not divide into fours, and a uniformly random split can hand one group every strong player. Here is the remainder arithmetic, the measured cost of pure randomness, and the stratified fix.GuideTournament Brackets: Byes, Seeds, and Why the Numbers Must Be Powers of TwoA knockout bracket halves its field every round, so it only closes on a power of two. The bye count, the round count, the seed order and the total number of matches all follow from that one fact — and each is a one-line derivation.ExplainerShuffling Is Harder Than It Looks: A Million Runs of the One-Line ShuffleThe shuffle everyone writes — sorting with a random comparator — is biased, and not slightly. A million measured runs show eight of the twenty-four orderings turning up twice as often as the other sixteen.ExplainerPoker Hand Probabilities, Derived Rather Than MemorisedEvery five-card poker probability is a counting argument over 2,598,960 hands, and each one fits on a single line. Here are all nine, with the check that proves them: the counts must sum to exactly C(52,5).GuidePythagorean or Chaldean: Two Charts, One Name, Two NumbersThe two letter charts in circulation give the same name the same number only 10.3 % of the time, barely more than the one-in-nine you would get by drawing lots. Albert Einstein is a 9 in one chart and a 1 in the other, and neither reading is a mistake.ExplainerTest Card Numbers: What the Luhn Algorithm Is Actually For, and What It Cannot Tell YouLuhn is a checksum for catching typos, patented in 1960, and that is its entire job. A number that passes it tells you nothing about any account. For testing a payment integration you need your processor's published numbers, not a generated one.

Related tools

Sources

Spotted a mistake in this article?