Birthday Paradox Calculator

Birthday Paradox Calculator

Calculate the probability that at least two people in a group share the same birthday. Explore how counterintuitive probability can be.

Last updated: March 2026

Calculate Shared Birthday Probability

Probability (at least 2 share a birthday)
50.73%
50% Probability
23 people
90% Probability
41 people
99% Probability
57 people

Group Size vs. Probability Milestones

Group SizeProbabilityPairs
52.71%10 pairs
1011.7%45 pairs
2350.7% ← Classic result253 pairs
3070.6%435 pairs
5097.0%1,225 pairs
7099.9%2,415 pairs

What is the Birthday Paradox?

The Birthday Paradox is the counterintuitive observation that in a relatively small group of randomly selected people, there's a surprisingly high probability that two will share the same birthday. It's called a "paradox" because the result contradicts most people's intuition about probability.

The key insight is that we shouldn't think about matching a specific person's birthday. Instead, we count all possible pairs within the group. With just 23 people, there are 253 unique pairs—each has a 1/365 chance of matching. This combinatorial explosion is why the probability reaches 50% with so few people.

The Classic Result: In a standard 365-day year with 23 randomly selected people, the probability that at least two share a birthday is approximately 50.7%. With 70 people, the probability exceeds 99.9%.

How to Use This Calculator

1

Enter Group Size

Input the number of people in your group. Start with 23 to see the classic example.

2

Adjust Days (Optional)

Change to 366 for leap years, or use different values to model other scenarios (e.g., 12 for months, 7 for days of the week).

3

View Results

The calculator displays the exact probability and key milestones (50%, 90%, 99%).

Formula:

P(at least one match) = 1 - (365/365) × (364/365) × (363/365) × ... × ((365-n+1)/365)

Worked Example

Why our intuition fails with 23 people:

Misconception:
"I need 182 people for 50% probability (half of 365)!"
The Error:
Wrong thinking: Compare each person to YOUR birthday
This gives: 1 - (364/365)^n pairs
You'd need 182 people for 50%
The Truth:
Right thinking: Count pairs WITHIN the group
With 23 people: C(23,2) = 253 pairs
Each pair has 364/365 chance of NOT matching
P(no match) = (364/365)^253 ≈ 49.3%
P(at least one match) ≈ 50.7% ✓
Key Insight: O(n²) pairs within a group vastly exceeds O(n) pairs comparing to external reference.

Frequently Asked Questions

Why is this called a 'paradox'?

It's paradoxical because the probability is counterintuitively high. Most people expect to need far more people to reach 50% probability, making the actual result seem surprising or contradictory.

Does this assume all birthdays are equally likely?

Yes, the calculator assumes uniform distribution. In reality, births cluster around certain seasons and avoid February 29. These variations don't significantly change the core result.

What about leap years (366 days)?

With 366 days, you'd need about 24 people instead of 23 for 50% probability. The difference is minimal because the formula scales roughly as √(n).

Can I use this for other scenarios?

Absolutely! Change 'Days' to model: 12 months (probability two people share a birth month), 7 days (share a day of the week), or even hash collisions in programming.

What's the practical significance?

Demonstrates why collisions are inevitable in hashing, explains seeming coincidences in daily life, reveals cognitive biases about probability, and has applications in birthday attacks in cryptography.

Why is the formula n choose 2?

Person 1 can pair with 22 others, Person 2 with 21, etc. Total pairs = 22+21+...+1 = 253. Formula: n(n-1)/2 = C(n,2).

What if birthdays aren't independent?

If some people share genetic/geographic factors (families, regions), correlation increases probability. The calculator assumes independence, so actual results in families would be higher.

How does this relate to the pigeonhole principle?

With enough pairs (pigeons) and limited possible values (holes), a collision is guaranteed. Here, 253 pairs competing for 365 days makes a match very likely.

Related Tools