Birthday Paradox Calculator

Shared birthday odds for any group size, exact math.

Other ToolsUpdated 2026-10-101 min read
Birthday Paradox Calculator
Match chance
...
Pairs...
Expected matches...

What it does

The birthday paradox surprises because pairs multiply quadratically: 23 people make 253 pairs, and each pair rolls year long odds against matching. Half the groups that size hold a shared birthday.

The tool above takes the headcount from 2 to 500. It returns the exact match chance with pair count and expected matches beside them.

The default 23 reads 50.7% across 253 pairs (0.69 expected). Thirty people reach 70.6% while fifty hit 97%, and past 365 certainty rules.

Counting follows Khan Academy probability units with the same complement method in LibreTexts statistics references. Both assume uniform birthdays, ignoring seasonal bumps.

How to use

  1. Enter the group headcount.
  2. Read match chance first for the headline.
  3. Read pairs to see why it climbs fast.
  4. Use expected matches for the count feel.
  5. Test classrooms live for the wow.

Formula

Chance = 1 - (365/365 x 364/365 x ... ). Pairs = n(n-1)/2. Expected = pairs/365.
complement
One minus the all different chance.
pairs
Quadratic pair count driving it.
365
Days ignoring Feb 29.

Uniform birthdays assumed; real seasonality nudges numbers slightly. Past 365 the page returns certain by pigeonhole instead of computing.

Worked example

Example: 23 people

Default headcount 23.

  1. Pairs: 23 x 22 / 2 = 253.
  2. All different: 365/365 x 364/365 x ... x 343/365 = 49.3%.
  3. Match: 100 - 49.3 = 50.7%.
  4. Expected: 253 / 365 = 0.69 matches.
  5. Tool shows 50.7%, 253 pairs, 0.69 shared.

Reference table

Chance by group
PeopleChancePairs
1011.7%45
2350.7%253
3070.6%435
5097%1,225
7099.9%2,415

Limits

  • Uniform birthdays assumed; seasons bump reality.
  • Feb 29 ignored in the 365 model.
  • Twins break independence assumptions.
  • Groups past 365 read certain, not computed.

Common mistakes

  • Reading 23/365 (6%) instead of pair math.
  • Expecting your birthday matched, not any pair.
  • Trusting small samples over exact odds.
  • Forgetting twins in classroom demos.
  • Assuming uniform births exactly.

Try it yourself

Quick checks. Answers sit tucked under each question.

30 people?

70.6% across 435 pairs.

50 people?

97% across 1,225 pairs.

Pairs in 23?

23 x 22 / 2 = 253.

Questions

Why 50% at only 23?

253 pairs each roll the odds; pairs grow quadratically with heads.

Is it really a paradox?

Only psychologically. The math counts pairs, not your birthday.

What about Feb 29?

Ignored here; including it shifts decimals slightly.

Expected vs chance?

Chance is any match; expected counts how many (0.69 at 23).

70 people?

99.9%: near certain with 2,415 pairs.

Classroom demo?

Groups over 30 surprise more often than intuition says.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.