WebBeta

Birthday Problem

The birthday paradox: how many people does it take for two to share a birthday? Pick a room size, see the exact chance and fill rooms with random birthdays.

Loading…

How to use

  1. Choose how many people are in the room.
  2. Read the chance that two of them share a birthday.
  3. Fill rooms with random birthdays and count how often two match.

How the birthday paradox works

The chance that n people all have different birthdays is 365/365 × 364/365 × … × (365 − n + 1)/365; one minus that is the chance that at least two share one. It grows faster than most people expect:

  • 10 people: 11.7%
  • 23 people: 50.7%
  • 30 people: 70.6%
  • 50 people: 97.0%
  • 57 people: 99.0%
  • 70 people: 99.9%

The surprise comes from counting pairs: 23 people make 253 pairs, each a new chance to match. The chance that someone shares your own birthday stays small, about 6% among 23 others.

Frequently asked questions

Why do only 23 people give a 50% chance?

Because it is about any two people, not you and someone else. 23 people make 253 pairs, and each pair has a small chance to match, so a match somewhere becomes more likely than not: 50.7%.

Does it count leap years and real birth patterns?

No. Like the classic problem, it uses 365 equally likely days. Real births are a little uneven across the year, which makes a shared birthday slightly more likely, not less.

More in Lucky Lab

  • Play Powerball, EuroMillions, Lotto 6/45, Loto 6, Double Color Ball or La Primitiva every week until the jackpot: see the years and money it takes.

  • Enter the drop rate and pity, and see your exact chance to get the prize within your pulls, how many pulls half of players need, and how unlucky it can get.

  • Pick a door, watch the host open goats, then stay or switch. Play by hand or watch thousands of games play out: with three doors, switching wins two in three.

  • How likely is a streak of heads or tails? Choose the flips and the streak, see the exact chance, and watch the coins land one by one, the longest run marked.