Birthday Paradox Calculator

Find the probability that at least two people in a group share a birthday, and how many people you need for a 50% chance.

Results

Enter your details and click Calculate to see your results.
About This Calculator

P(shared) = 1 − (365/365)(364/365)…((365 − n + 1)/365). The same maths gives hash-collision odds — change the number of days.

Example

Example: in a group of 23 the chance is 50.729723% — there are 253 pairs.

Assumptions

Birthdays equally likely, ignoring 29 February.

Frequently Asked Questions

Why only 23 people?

Because there are 253 pairs, and each pair is a chance for a match.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile