Overview

How many people need to be in a room before two probably share a birthday? Only 23, which surprises most people. This calculates the chance for any group size.

Enter the number of people, from 2 to 365.

Worked examples

InputsResult
Group Size23Probability at least two people share a birthday: 50.73%Odds: 1 in 1.97
Show 3 more examples
Group Size50Probability at least two people share a birthday: 97.04%Odds: 1 in 1.03
Group Size10Probability at least two people share a birthday: 11.69%Odds: 1 in 8.55
Group Size70Probability at least two people share a birthday: 99.92%Odds: 1 in 1

Probability at least two people share a birthday by group size

With the calculator's starting values, the probability at least two people share a birthday is 50.73%. The table shows how it changes with the group size.

Group SizeProbability at least two people share a birthday
1525.29%
2041.14%
23starting value50.73%
2556.87%
3070.63%

How it works

It's easier to find the chance that nobody shares a birthday, then subtract that from 1. The first person can have any birthday, the second has 364 of 365 safe choices, the third 363 of 365, and so on. It ignores 29 February and assumes all birthdays are equally likely.

The formula

P(match) = 1 − (365 × 364 × … × (366 − n)) ÷ 365ⁿ
nNumber of people

Practical tips

  • 23 people give a 50.73% chance of a shared birthday.
  • With 50 people, it's 97.04%, and with 70, it's 99.92%.
  • The chance someone shares your specific birthday is much lower: with 23 people, it's about 5.9%.

Frequently asked questions

Why is it so likely?

Because any pair can match. 23 people make 253 pairs.

Is it really a paradox?

No, just a counterintuitive result. The math is straightforward.

Does it apply to real data?

Mostly. Real birthdays aren't perfectly even, which makes matches slightly more likely.