Skip to content

Free browser tools that respect your files: everything runs locally, nothing is uploaded.

Finance

"The Math of Secret Santa: Why Someone Always Draws Themselves"

Practical Web Tools
12 min read
Share:
XLinkedIn
"The Math of Secret Santa: Why Someone Always Draws Themselves"

Take ten coworkers, put ten names in a hat, and let everyone draw. There is a 63.21 percent chance that somebody pulls their own name. Not roughly, not on a bad day: exactly, every time, for any group of six or more people. Your office did not get unlucky last year. The math was against you before the first hand reached into the hat.

I ran the numbers three ways for this piece: exact counting, a 100,000-draw simulation, and a check of what real groups spend once the names are finally assigned. The short version: hat draws fail almost two times out of three, the average group needs nearly three attempts to get a clean draw, and one free tool fixes all of it in about thirty seconds.

Try Secret Santa Generator: free, no sign-up.

The number that ruins every hat draw

A hat draw assigns each person exactly one name, and nobody can be assigned themselves. Mathematicians call an assignment with zero self-matches a derangement. Count those and you get the odds of a clean draw.

For a group of 3, there are 6 possible ways to hand out the names (permutations, in math terms). Only 2 of them avoid all self-matches. So a clean draw happens 2 out of 6 times, or 33.33 percent. For a group of 10, there are 3,628,800 possible assignments and only 1,334,961 of them are clean. That works out to 36.79 percent.

Here is the strange part. As the group grows, that percentage stops moving. It locks onto 1 divided by e, where e is 2.71828, the famous growth constant from calculus. One divided by e is about 36.79 percent.

This problem is older than the office party. In 1708, the French mathematician Pierre Raymond de Montmort posed what he called the matching problem, born from a card game: shuffle a deck, flip cards one at a time calling out their names, and what are the odds no card matches its own call? That question, later named the problème des rencontres, is your hat draw with playing cards instead of coworker names. Derangement math was invented for party games and got borrowed by probability textbooks later. Your December tradition is a 300-year-old solved problem that still surprises people every year.

Key takeaway: a clean hat draw is the exception, not the rule. Fail is the default outcome in roughly 63 percent of attempts.

Group size vs. the odds (exact values):

People Clean draw Someone draws their own name
3 33.33% 66.67%
4 37.50% 62.50%
5 36.67% 63.33%
6 36.81% 63.19%
10 36.79% 63.21%
20 36.79% 63.21%
50 36.79% 63.21%

Two curiosities hide in that table. A group of 4 has the best odds of any size, 37.5 percent. And even-sized groups always sit a hair above odd-sized groups, so if you needed one more reason to invite that plus one, there it is.

I simulated 100,000 hat draws

Exact counting gives the truth, but I wanted to see the shape of a real failing draw, so I wrote a quick simulation. It models the thing groups actually do: names go in a hat, everyone draws one, and if anyone gets their own name, all names go back in and the group restarts. I ran 100,000 ten-person exchanges.

The results:

  • 63.92 percent of attempts failed. The exact math says 63.21 percent, and simulation noise covers the gap.
  • The average group needed 2.77 attempts before landing a clean draw. Theory says the average is e, which is 2.718. The same constant shows up twice, once for the failure rate and once for how long you suffer.
  • Failed attempts were usually small disasters, not total ones. When a draw went wrong, it averaged 1.57 self-matches.
  • Of the failed attempts, 58.6 percent had exactly one person holding their own name, 28.7 percent had two, 10 percent had three, and only 0.03 percent had six.

Key takeaway: when a hat draw fails, it almost always fails with one person, standing there with their own name, wondering if they should say something.

That single-victim pattern has a sneaky consequence. The one self-match is usually discovered mid-draw, while four names are still in the hat. Now the group argues: do we restart, or does that one person quietly put their name back and draw again?

The average failure is exactly one person

There is a second result hiding in the simulation, and it is my favorite one in this whole piece. Ask how many people draw themselves in a random hat draw, on average, and the answer is exactly 1. Not approximately 1. Exactly 1, whether the group has 5 people or 500.

The reasoning takes two sentences. Each person has a 1 in n chance of drawing their own name. There are n people, so the expected count is n times 1 over n, which is 1. Size cancels out.

My simulation agrees: failed attempts averaged 1.57 self-matches, and since about 64 percent of attempts fail, the all-attempts average lands almost exactly on 1.00. So when the draw goes wrong in your office, the most likely scene is one unlucky colleague holding their own slip while nine other people refuse to make eye contact. The math has scripted your exact moment of awkwardness, and it will script it again next year.

The redraw rule has a trap in it

The quiet redraw feels harmless. One person returns their name, mixes it in, draws again. Nobody else is affected, so it seems fair.

It is not. Two problems, one obvious and one subtle.

The obvious one: the redraw can dead-end the last person. If everyone before you avoided your name, you are left holding the one name in the hat, your own. In my simulation of ten-person draws, the last drawer got stuck exactly 10.12 percent of the time, which matches the clean prediction of 1 in 10. There is no graceful recovery from that moment. Someone has seen who they are buying for, the surprise is leaking, and the whole thing needs a restart anyway.

The subtle one: a single-person redraw changes which final pairings are likely. A restart gives every valid assignment an equal shot. A patch redraw does not, because the person redrawing gets a second chance at names that others were denied. For an office gift exchange the skew is small. But it is real, it is measurable, and it is the reason every fair method either restarts clean or never creates self-matches in the first place.

Three ways to run it that actually work

Option 1: The honest restart. Draw, check for self-matches, and if anyone fails, return every name and redraw from scratch. Expect about 2.7 rounds for any group of five or more. It is fair, it is uniform, and it eats about two extra minutes. Fine for a family of six around a table. Painful for a 30-person team on a video call.

Option 2: The circle method, zero redraws. Put every name in a random order around a circle, and each person buys for whoever ends up on their left. One shuffle, no redraws, mathematically guaranteed that nobody has themselves, because you can never be to your own left. The catch is symmetry: if you can see the circle, you know exactly who has you. Great for casual groups who do not care about the reveal. Bad if anonymity is the whole point.

Option 3: Let an algorithm assign it. A generator picks a valid assignment instantly, hides it, and shows each person only their own match. No restarts, no leaked information, and the good ones handle extras the hat cannot do at all: blocking couples from drawing each other, and handling remote players. You can run your whole exchange free at the Secret Santa generator, which also keeps the spending cap on everyone's page so nobody has to ask.

If your group insists on paper, a middle path exists: use a random card drawer on one phone in the middle of the table to pull names one at a time. Same drama as a hat, better shuffling than human hands, and you still apply the honest restart rule when a self-match appears.

What groups actually spend once the names are set

The draw is the fun part. The budget is where exchanges quietly fall apart, and the survey data on this is better than you would guess.

From a OnePoll survey of 2,000 US adults who planned to join gift exchanges (commissioned by Big Lots, November 2023): three in four face a spending cap, the average cap is $49 per exchange, and 87 percent of people with a limit admitted they would probably go past it. Nearly nine in ten people plan to break their own budget before the party even starts.

The UK data tells the same story with smaller numbers. Confused.com's 2025 OnePoll survey of 2,000 UK adults found the average Secret Santa spend is £21 a year, and the average participant goes £14 over the agreed limit, which is most of the budget all over again. The same survey sketched who actually does this: 78 percent run their exchange with work colleagues, 30 percent with friends, 26 percent with family, and 21 percent of participants get pulled into two or more exchanges in a single December. A 2024 instantprint survey of 1,000 UK office workers found 48 percent spend £5 to £10, and just 1 percent would consider going above £30.

Key takeaway: the cap is a fiction almost everyone expects to exceed. Set it 20 to 30 percent below what you actually want people to spend, and the overshoot lands where you wanted it.

Want the savings math that sells the exchange to a big family? Ten adults buying for all nine others at $50 a gift is $500 per person, $5,000 for the room. One draw later, it is ten gifts of $50, $500 total. That is a 90 percent cut, and it is the entire reason gift exchanges spread: the same Confused.com research credits them with saving the average UK participant about £75 a Christmas. If you are doing that arithmetic for your own crew, the percentage calculator makes quick work of the before-and-after, and the Christmas gift budget guide walks through setting a per-person cap that survives contact with December.

Why the generator wins for groups over eight

Small groups can restart twice and call it tradition. Past eight people, the paper method costs real time, and two more problems creep in.

Someone always peeks, or folds their slip in a way they recognize, or draws last and deduces who has them from who did not react. A 63 percent failure rate per attempt means a 20-person group burns several minutes on restarts, and every restart is another chance for a name to blow across the room. And the moment your group includes a couple who should not draw each other, or a remote teammate on a different continent, the hat cannot help you: exclusion rules shrink the pool of valid assignments and paper has no way to respect them.

An algorithmic draw handles exclusions natively, never leaks, and finishes in one pass no matter the group size. The 63 percent problem disappears because the assignment is built valid from the start rather than tested and retried. For a family of ten with two couples in it, that difference is the whole ballgame.

FAQ

What are the odds someone draws their own name in Secret Santa?

For any group of six or more, there is a 63.21 percent chance that at least one person draws themselves in a single hat draw. The odds barely change between a group of 6 and a group of 60, because the probability of a clean draw converges on 1 divided by e, about 36.79 percent.

What is the probability of a perfect draw where nobody gets themselves?

About 36.79 percent for groups of seven or more, 36.81 percent for six, 36.67 percent for five, and 37.5 percent for four. A group of four has the best odds of any size, though the differences are tiny past five people.

Is it fair to let one person redraw if they get their own name?

It feels fair, but it is not quite. A single-person redraw slightly skews which pairings can occur, and it can strand the final drawer with their own name and an empty hat (a 1 in n chance, so 10 percent in a group of ten). A full restart keeps every valid assignment equally likely. A generator avoids the question entirely by never producing self-matches.

How do you do Secret Santa so nobody draws themselves?

Use a generator that computes a valid assignment directly, like the free Secret Santa generator. With paper, the circle method guarantees it: arrange names in a random order and have everyone give to the person on their left. Or use the restart rule and accept roughly 2.7 rounds on average.

What is a good Secret Santa budget?

Common caps run $20 to $30 for workplaces and friend groups, and $25 to $50 for families. The average US exchange limit is $49, and surveys find 87 percent of people with a cap expect to exceed it, so consider setting the cap slightly below your real target. UK office exchanges cluster tightly at £5 to £10, where 48 percent of workers spend.

Try Secret Santa Generator: free

Open tool →

Draw Secret Santa names online free with couple exclusions, tap-to-reveal or AES-GCM encrypted share links, and a printable sign-up sheet. No email, no signup.

More from Finance

Browse all

221 more articles in this category

"The Math of Secret Santa: Why Someone Always Draws Themselves" - Practical Web Tools