Skip to main content
← Back to Blog
ProbabilityStage 5Students

The Birthday Paradox: Why 23 People Is All You Need

MMathyard Team·12 October 2026·2 min read

Imagine walking into a room of strangers—just 23 of them—and learning there’s a better-than-even chance two people share a birthday. That sounds impossible, right? Yet this surprising outcome, known as the “Birthday Paradox,” shows that our intuitions about chance can lead us astray. In this post, we’ll unpack the maths behind the paradox, peek at where it came from, and explore how the same idea sneaks into areas like cryptography and social media algorithms.

A brief history

The Birthday Paradox was first noted in the 1930s by mathematicians studying combinatorics (the branch of maths dealing with counting). It got its “paradox” label simply because the result flies in the face of what most people expect: we tend to think you’d need over a hundred people to get a 50% match. Over time, it became a classic example in probability textbooks and a go-to puzzle at maths fairs.

Where you'll see this in real life

- Cryptography: The same maths that predicts birthday collisions helps hackers find hash collisions in password databases. - Social networks: When Facebook suggests ‘people you may know,’ it’s using probability to predict shared interests or connections—essentially a modern birthday paradox. - Data deduplication: Tech companies store millions of files and use similar ideas to check if two files (by chance) have the same digital “fingerprint.” - Quality control: Factories running batch tests rely on collision probabilities to decide how many samples they need before two flawed items might pop up.

A common misconception

Many people think the 50% chance refers to any two specific people matching birthdays—for instance, you and me. Actually, it’s the chance that any pair out of the whole group shares a birthday. Because there are so many possible pairs in 23 people (253 pairs, to be exact), the odds quickly pile up!


Ready to practise?

Turn this idea into a short Mathyard worksheet with instant questions and worked solutions.

Generate a worksheet on this topic

Share this article

FacebookShare
M

Mathyard Team

The Mathyard team builds tools to help students and teachers get more out of maths practice.