Part of the Maths & Statistics suite · 235 calculators

Birthday Paradox Calculator

The chance that two people in a group share a birthday — the result that reaches 50% at just 23 people and surprises almost everyone.

It is easier to compute the chance that everyone is *different* and subtract.

Results update as you type
Results
P(at least two share a birthday)
50.7297%
P(all different)
Pairs of people
Expected number of matching pairs
P(someone shares YOUR birthday)
Group size for a 50% chance
Reviewed September 2026. Pure mathematics: the result does not depend on where you are. Terminology follows the Australian Curriculum (maths, brackets, decimal point).
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About birthday paradox

How the birthday paradox calculator works

It is easier to compute the chance that everyone is *different* and subtract. With n people and d equally likely days, that is (d/d)((d−1)/d)((d−2)/d)… for n terms; the answer is one minus it.

The count of *pairs* is what drives it: 23 people make 253 pairs, and each pair is a chance to match. This is also the mathematics behind hash collisions, which is why it matters well outside parties.

Formula: P(match) = 1 − d! / (d − n)! dⁿ

Worked examples

InputsP(at least two share a birthday)Note
23 people50.7297%just over 50%
50 people97.0374%97%
70 people99.916%99.9%

Frequently asked questions

Why does 23 people give 50%?

Because 23 people form 253 pairs, and each pair is an independent-ish chance to match. It is pairs that matter, not people.

Is it really a paradox?

No — just a strong intuition failure. People think about matching *their own* birthday, which needs about 253 people for 50%.

What is the chance someone shares MY birthday?

Much lower: about 6% in a group of 23. The calculator shows both.

How many people for near-certainty?

70 gives 99.9%; 100 gives 99.99997%. Only 366 makes it certain.

Where does this matter outside parties?

Hash collisions. A 64-bit hash has a 50% collision chance after about 5 billion items, not 18 quintillion — which is why cryptographic hashes are so much longer than they look like they need to be.

Where these figures come from

Last checked: September 2026. Formulas are fixed by mathematics and do not change with tax years or regulations.