Birthday paradox calculator
Find the chance that two people in a group share a birthday.
Try it
Inputs
Result
The result appears here as you type.
About Birthday paradox calculator
The birthday paradox calculator finds the chance that at least two people in a group share the same birthday. Enter the number of people, and the tool returns the probability as a percentage. The result often surprises people, because it rises much faster than intuition suggests. With just 23 people, the chance is already a little over one half.
The name is a little misleading, because nothing is paradoxical. The result follows from counting the number of possible pairs, which grows quickly as the group gets larger. Each new person can match any of the people already in the group, so the chances stack up rather than adding one at a time.
How to use Birthday paradox calculator
- Enter the number of people in the group.
- Read the chance that at least two share a birthday.
- Compare the figure with the chance that all birthdays differ.
- Try a few group sizes to see how quickly the probability rises.
The method behind the figure
It is easier to work out the chance that all birthdays are different and subtract that from one. The first person can have any birthday. The second must avoid that day, so has 364 choices out of 365, and so on. Multiplying those fractions gives the chance that no birthdays match.
The assumptions matter. The calculation treats every day as equally likely, which is close to true but not exact. It also ignores twins, who share a birthday by definition, and it treats birthdays as independent. Real data shows small seasonal variations that change the figure slightly.
For 23 people the chance of no match is about 49 percent, so the chance of a shared birthday is about 51 percent. For 50 people the figure is about 97 percent, and for 70 people it passes 99.9 percent.
Why it matters
The result is useful in statistics, security and computing. A similar calculation sits behind the risk of hash collisions, where two different inputs produce the same output. The same arithmetic shows why a system that only uses a few thousand random values can clash sooner than expected.
The puzzle also teaches a lesson about intuition. People tend to compare a group with the 365 days on the calendar, but the relevant comparison is the number of pairs in the group. With 23 people there are 253 pairs, and each pair has a small chance of matching.
The calculator is a model, not a prediction for any particular group. It tells you how likely a match is across many groups of that size, rather than guaranteeing one in a specific room.
Frequently asked questions
Why is the answer above 50 percent for only 23 people?
Because the number of pairs grows quickly. With 23 people there are 253 pairs, and any of them could match.
Does this account for leap day?
No. The calculation uses 365 days. Including 29 February changes the result only slightly.
Is the chance the same for a group of 23 in any year?
The figure is the standard model result. Real birthday distributions are not perfectly even, so the true figure varies a little.
Related tools
Tools that pair well with this one.