• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Basic Mathematics
  • ⌕
Home ❯ Birthday Paradox Calculator

Birthday Paradox Calculator

Find the probability that at least two people in a group share a birthday under the classic equally likely-days model.

Birthday Paradox Calculator

Statistics calculator: Enter group size and choose whether to model a 365-day or 366-day year.

Group
P ( match ) = 1 − d ! d n ( d − n ) !

Result

Main result
—
Details
—
Calculation
—

What group size and year length should I use?

Enter the number of people and choose 365 or 366 possible birthdays.

  1. Choose the modeled number of calendar days.
  2. Enter a group size from zero through the supported maximum.
  3. Calculate to compare matching and no-matching probabilities.

Why is the no-match probability calculated first?

P ( match ) = 1 − d ! d n ( d − n ) !

The calculator multiplies the probability that each successive person avoids all birthdays already seen, then subtracts that no-match probability from one.

Why are 23 people enough to exceed 50%?

For 23 people and 365 equally likely birthdays, the probability of at least one shared birthday is approximately 50.73%.

Which real-world birthday patterns are omitted?

The classic model assumes independent, uniformly distributed birthdays and usually ignores leap-day handling, twins, seasonality, and demographic birth patterns.

Birthday-paradox questions

Why is the probability so high with only 23 people?

Because 23 people create 253 distinct pairs that might match.

What happens when the group exceeds the number of days?

A shared birthday is certain by the pigeonhole principle.

Does the calculation predict whose birthdays match?

No. It gives the probability of at least one matching pair, not the identities involved.

Related calculators

  • Coin Flip Probability Calculator
  • Average Collection Period Calculator
  • Average Fixed Cost Calculator
Jean Carlos Novaes

About Jean Carlos Novaes

I hold a degree in Computer Science from the Federal University of Bahia (2017) and I am the editor and founder of this website.

Footer

Basic Mathematics

Basic Mathematics website with clear school content for elementary and high school students. Learn easily and efficiently!

ABOUT

  • About Us
  • Contact
  • Site Map

LEGAL

  • How to Cite
  • Cookie Policy
  • Privacy Policy
  • Content License

© 2015–2026 · Basic Mathematics · All rights reserved.