Maths

Why 23 people are enough for a shared birthday: counting pairs, not people

Grid of calendar days with two pink squares marking shared birthdays and a large 51% figure
30seconds
The 30-second version

Put 23 people in a room and the chance that two share a birthday is already 51%. It feels far too low a number, because we picture one person matching our birthday. The real question is whether any two match, and that is about pairs. 23 people make 253 pairs, and every pair is another small chance.

Fill a year of 365 squares with random birthdays, slide the room size up and down, and watch the pink collisions appear. Then run 1,000 rooms to see the tally settle on the maths.

Deep dive · 3 min
Deep dive · 3 min

More in Maths

View all →
Why the simplest rule in maths has no proof: the Collatz hailstone numbers Pick any whole number. If it is even, halve it; if it is odd, triple it and add one. Repeat. Every number ever tested ends up at 1, but the path can be wild… Maths4 min read Why a treatment can win in every group and still lose overall: Simpson's paradox Treatment B beats Treatment A overall, yet A wins for small stones and for large stones. That is Simpson's paradox, and it is real data from a kidney-stone… Maths4 min read Why no walk can cross all seven bridges of Königsberg once: Euler's odd-places rule Seven bridges, two islands, two river banks: in 1700s Königsberg nobody could find a walk crossing each bridge exactly once. Euler didn't search harder, he… Maths4 min read Why sunflower seeds never leave gaps: the golden angle and the Fibonacci spirals Sunflower seeds are not placed in spirals on purpose. Each new seed turns a fixed angle from the last, and only one angle, about 137.5 degrees, leaves no bare… Maths4 min read Why random dice rolls draw a perfect fractal: the chaos game and the Sierpiński triangle Pick three dots, then keep jumping halfway towards a randomly chosen one. It sounds like it should leave a grey smudge, but after a few thousand jumps a… Maths3 min read Why a dropped stick can find π: Buffon's needle Drop a stick on a floor of planks and count how often it lands across a seam. The count secretly contains π: for a needle as long as the plank width, the… Maths4 min read