Skip to content
Calcrivo

Birthday Problem Calculator

Compute the probability that at least two people in a group share a birthday.

Inputs

P(at least one shared birthday)

0.507297

P(all unique birthdays)

0.492703

Step by step

  1. Values used

    Number of People = 23; Days in Year = 365

  2. Formula applied

    P(match) = 1 − (365/365 × 364/365 × ... × (365−n+1)/365)

  3. P(at least one shared birthday)

    = 0.507297

  4. P(all unique birthdays)

    = 0.492703

How it works

The birthday problem asks: in a group of n people, what is the probability that at least two share the same birthday? The result is surprisingly high — with just 23 people, the probability exceeds 50%. This counterintuitive result arises because we check all possible pairs, not just one pair.

Formula

P(match) = 1 − (365/365 × 364/365 × ... × (365−n+1)/365)

n
Number of people

Frequently Asked Questions

Why is it called a paradox?

Because the result is counterintuitive: most people guess you'd need far more than 23 people for a 50% chance of a shared birthday. It's surprising because we're checking all pairs, and 23 people form 253 pairs.

How many people for 99% probability?

About 57 people are needed for a 99% probability of at least one shared birthday.

You might also need