Skip to content

Birthday Paradox Calculator

23 people. Better than even. Yes, really.

Work out Birthday Paradox. 23 people. Better than even. Yes, really. Free, with no account and nothing to install.

Written and maintained by Mohit PatelLast checked August 4, 2026How we build these

Chance two people share a birthday

50.73%

49.27% chance all 23 are different

At least one shared birthday50.7297%
All birthdays different49.2703%
Pairs of people253
Expected shared pairs0.693
Group size for a 50% chance23
Group size for a 99% chance57

Twenty-three people give a better-than-even chance that two share a birthday, which almost everyone finds too low. The reason is in the pairs row: 23 people form 253 pairs, and it only takes one of them to match. The intuition that fails is asking about yourself. The chance that someone shares your birthday is small and rises slowly; the chance that some pair among the group matches rises with the square of the group size. Those are different questions with very different answers. This assumes birthdays are spread evenly and ignores leap years and twins. Real birth dates cluster seasonally, which makes matches slightly more likely than the model says, not less.

How the Birthday Paradox Calculator works

The chance that two people in a group share a birthday, and the group sizes needed to pass 50% and 99%. The answer surprises almost everyone, and the pairs figure explains why in one line.

Also known as: chance two people share a birthday · why 23 people birthday · birthday problem explained · shared birthday odds in a room

Frequently asked questions

How many people for a 50% chance of a shared birthday?

Twenty-three. It feels far too low until you count pairs: 23 people form 253 of them, and it only takes one to match.

Why is the birthday paradox so counterintuitive?

Because people instinctively ask about themselves. The chance that someone shares your birthday rises slowly with group size; the chance that some pair among the group matches rises with the square of it. Different questions, very different answers.

How many people for a 99% chance?

Fifty-seven. It takes 366 to reach certainty by the pigeonhole principle, but the curve is steep in the middle and flat at the top, so almost all of the probability is gained early.

Does this account for leap years?

No, and real birth dates are not evenly spread either — they cluster seasonally. Both effects make matches slightly more likely than this model says, so 23 is a mild overestimate of what is needed.

Where does this matter outside parties?

Cryptography. The same mathematics governs hash collisions, and it means a hash function needs roughly twice the bits you would naively expect to resist a collision attack — the reason it is called a birthday attack.

Put this calculator on your own site

Free to use, on any site, commercial or not. Paste this where you want it to appear. It is a plain iframe, so it works in WordPress, Squarespace, Wix, Webflow, Ghost and anything else that accepts HTML.

The one-line version
<iframe src="https://www.thecalclibrary.com/embed/birthday-paradox-calculator" width="100%" height="640" style="border:1px solid #e2e8f0;border-radius:12px" loading="lazy" title="Birthday Paradox Calculator"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:6px 0 0;color:#64748b">Powered by <a href="https://www.thecalclibrary.com/birthday-paradox-calculator" style="color:#64748b">Birthday Paradox Calculator</a> from The Calc Library</p>

The only condition is that the credit line below the frame stays in place. That one line is what pays for the tool being free — it is how anyone else finds it.

Related calculators