Skip to content

Birthday Paradox Calculator

Explore birthday collision probability, no-match probability, expected matching pairs, and common probability thresholds.

Why the result feels surprising

The comparison is not one person's birthday against everyone else. Every pair in the group can match, so the number of comparisons grows quickly.

With 23 people and 365 equally likely birthdays, the probability of at least one shared birthday is just over 50%.

Model boundaries

The classic calculation assumes independent, uniformly distributed birthdays and normally uses 365 days. Seasonal birth patterns and leap day make real populations slightly different.

Formula variables

nn
Number of people
dd
Number of equally likely birthdays
No shared birthday
P(nomatch)=i=0n1didP(no match)=\prod_{i=0}^{n-1}\frac{d-i}{d}
At least one match
P(match)=1P(nomatch)P(match)=1-P(no match)
Expected matching pairs
E=n(n1)2dE=\frac{n(n-1)}{2d}

Examples

Classic 23-person group

Input

23 people; 365 possible birthdays

Show result

Result

About 50.73% chance of at least one shared birthday

Frequently Asked Questions

Does this mean someone matches my birthday?

No. It asks whether any pair in the entire group shares a birthday.

Why can I change the number of days?

It lets the same collision model represent other equally likely outcome spaces.

References

Related Tools