Skip to content
FiftyCalc Free calculators for all 50 states

Birthday Paradox Calculator

Test cases replayed : 4 of 4 match · Methodology · No outside source listed

Enter the number of people in the group to find the chance that two or more of them share a birthday.

Result

Sample figures

Probability at least two share a birthday—

Probability all birthdays are different —

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Birthday Paradox Calculator

Number of people: enter 1 or more. Prefilled example: 23.

Number of possible birthdays (days in the year): enter 1 or more. Prefilled example: 365.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Number of people: enter 1 or more.
  2. Number of possible birthdays (days in the year): enter 1 or more.
  3. Read the result: Probability at least two share a birthday; the panel also shows Probability all birthdays are different.

How this calculator works

P(all different) = d! ÷ ((d − n)! × dⁿ) for n people and d equally likely birthdays; P(at least one shared) = 1 − P(all different). The factorials are computed with the log-gamma function.

The model ignores February 29 and assumes birthdays are spread evenly over the year; real birthdays are slightly uneven, which makes a match a little more likely.

Worked example

Number of people23
Number of possible birthdays (days in the year)365
Probability at least two share a birthday50.73%
Probability all birthdays are different49.27%

Frequently asked questions

How many people for a 50% chance of a shared birthday?

23 people: the probability is 50.73%. With 50 people it reaches 97.04%.

Why is it called a paradox?

Because people compare themselves with others, but the count is of pairs: 23 people form 253 pairs.

Questions answered

Related calculators