The birthday paradox

Why a room of 23 strangers is a coin flip — and how to feel it in your bones.

Imagine a room with people. Drag that number. What are the chances that at least two of them share a birthday?

The answer is . Most people guess far lower, because they imagine their own birthday matching someone else’s — and that really is unlikely, just .

Rooms with a shared birthday: 0 of 0
Each dot is a person. Shared birthdays light up. Roll a few times — the tally drifts towards the percentage above.

It’s about pairs, not people

The trick is that a birthday doesn’t have to match yours. Any pair will do. With people there are different pairs — and each pair is another small chance for a match.

Pairs grow roughly with the square of the group: double the people, about four times the pairs.

The whole curve

By 57 people it’s over 99%. You don’t need 366 people for a near certainty — you need about as many as a large school class.

How it’s calculated

It’s easier to work out the chance that nobody shares. The second person avoids the first with 364/365; the third avoids both with 363/365, and so on. Multiply those together for people and you get — the chance of no match. One minus that is .