What is the Birthday Paradox?

Ulla Riehl
Ulla Riehl
Researcher in theoretical physics and mathematical methods.

Okay, no problem. This is a very interesting question, and many people find it incredible when they first hear about it.


What is the Birthday Paradox? A Mind-Boggling Probability Problem

Hey there, friend. Let's talk about the fascinating "Birthday Paradox". It's not a paradox in the true sense of a logical contradiction, but rather refers to a situation where a probability calculation drastically contradicts our everyday intuition.

Simply put, the paradox states this:

In a room, with just 23 people, the probability that at least two of them share the same birthday is already over 50%.

And if there are 57 people in the room, that probability soars to over 99%.

Isn't that strange? A year has 365 days (let's ignore leap years for now), and intuitively, you'd think it would take well over a hundred people to have a 50% chance of two people sharing a birthday, right? Just 23 people is enough?

Why Does Our Intuition Get Tricked?

The key reason our intuition goes wrong is that we subconsciously frame the problem as:

  • "What is the probability that someone in the room shares my birthday?"

Or

  • "What is the probability that someone in the room shares the birthday of a specific date (e.g., October 1st)?"

If you think about it that way, then yes, it would indeed require many people to reach a 50% probability.

But the real question of the Birthday Paradox is:

  • "What is the probability that any two people in the room share a birthday?"

See the difference? The key is "any two people".

A Change of Perspective Solves the Mystery

Directly calculating the probability of "at least two people sharing a birthday" is a bit complex, as it involves many scenarios like "exactly two pairs of people", "exactly three people sharing a birthday", and so on.

In probability theory, a very common trick is to calculate its complement.

What is the complement of "at least two people sharing a birthday"? It's simple: "all people have different birthdays".

Once we calculate the probability P(A) that "all people have different birthdays", then the probability of "at least two people sharing a birthday" is 1 - P(A).

Alright, let's calculate for the case of 23 people:

  1. The first person: Their birthday can be any of the 365 days, so it cannot be a duplicate of anyone else. The probability is 365/365.
  2. The second person: To not share a birthday with the first person, their birthday can only be one of the remaining 364 days. The probability is 364/365.
  3. The third person: To not share a birthday with the first two people, their birthday can only be one of the remaining 363 days. The probability is 363/365.
  4. ...And so on...
  5. The 23rd person: To not share a birthday with the previous 22 people, their birthday can only be one of the remaining 365 - 22 = 343 days. The probability is 343/365.

Now, let's multiply the probabilities of these 23 people all having different birthdays:

P(all birthdays are different) = (365/365) * (364/365) * (363/365) * ... * (343/365)

This calculates to approximately 0.4927.

So, the probability we want, "at least two people sharing a birthday", is:

P(at least two people share a birthday) = 1 - 0.4927 = 0.5073

See that? 50.73%! It indeed exceeds 50%.

The Core: The Rapid Increase in the Number of Pairings

If you still find it a bit confusing, think of it this way: you are not looking for one person, but for a "pairing".

As the number of people increases, the number of potential "pairings" that could share a birthday grows exponentially.

  • 2 people: 1 pairing (A-B)
  • 3 people: 3 pairings (A-B, A-C, B-C)
  • 10 people: 45 pairings
  • 23 people: (23 * 22) / 2 = 253 pairings!

You have 253 chances to 'match' birthdays, while there are only 365 days in a year. Thinking about it this way, doesn't it seem much more reasonable that out of 253 attempts, the probability of one success is over 50%?

To Summarize

  • Birthday Paradox: In a room with just 23 people, the probability that at least two people share a birthday is over 50%.
  • Intuition Trap: We mistakenly think it's 'someone sharing my birthday', when in fact it's 'any two people'.
  • Solution Method: Calculate its complement—the probability that 'all people have different birthdays'—then subtract that from 1.
  • Core Reason: As the number of people increases, the number of potential 'birthday pairings' grows very rapidly, greatly increasing the chances of a 'match'.

Next time you're at a gathering with more than 23 people, you can try this little experiment and see if probability theory is truly that fascinating.