Real World Maths Busters

The Maths Behind Everyday Life

The story, the formula and a worked example — see exactly where this maths shows up in the world around you.

Back to all stories
Everyday Life 3 min read

Why two people in your office probably share a birthday

With just 23 people, there’s a 50% chance — and with 50 it’s nearly certain.

The birthday paradox isn’t really a paradox — it’s a demonstration of how badly humans estimate probabilities when combinations are involved. In a group of 23 people, there’s a better-than-even chance two share a birthday.

Counting the pairs

With nn people, there are (n2)=n(n−1)2\binom{n}{2} = \frac{n(n-1)}{2} possible pairs. Each pair is an independent chance of matching. That’s why the probability rises so fast.

P(match)=1−365!365n⋅(365−n)!P(\text{match}) = 1 - \frac{365!}{365^n \cdot (365 - n)!}

Probability of at least one shared birthday in n people

An office of 30 people

How many pairs and what probability?

30-person office birthday match

  1. 1

    Number of pairs

    (302)=30×292=435\binom{30}{2} = \frac{30 \times 29}{2} = 435
  2. 2

    Probability of match

    P≈70.6%P \approx 70.6\%
  3. 3

    At 50 people

    P≈97%P \approx 97\%
Answer

In a 30-person office, there’s a 70.6% chance two people share a birthday. At 50 people, it’s 97% — almost certain.

The formula behind it

Combinations

(nr)=n!r!(n−r)!\binom{n}{r} = \frac{n!}{r!(n-r)!}
See the full formula, variables and more examples

The takeaway

Our intuition says "365 days, so you need lots of people." But combinatorics says pairs grow quadratically — and 435 pairs from just 30 people is plenty.

Back to all stories