How it works
Enter the number of people in the group and, if you want, the number of days in the year. The page shows the chance of a shared birthday, the chance of none, how many pairs of people there are, the smallest group that passes half and the smallest that passes 99%.
Formula
down to ((days-n+1)/days)
Chance of at least one shared birthday = 1 minus that
Sources
Example
Number of people: 23; Days in the year: 365. Chance of a shared birthday: 50.73%
Frequently asked questions
Why is 23 people enough for a 50% chance?
Because the pairs multiply. 23 people make 253 pairs, and each pair has about a 1 in 365 chance of matching, so the chance of at least one match is 50.73%, not 23/365.
Does the real world match this?
Real birthdays cluster a little, with more births in some months, so the true chance is slightly higher than the even spread used here. With 22 people the chance is 47.57% and with 70 it is 99.92%.