Birthday Paradox Calculator
Enter a group size to see the chance that at least two people share a birthday. The famous result is that just 23 people gives better than a coin-flip chance.
How to calculate the birthday paradox
- Enter the number of people in the group.
- Adjust the days in the year if you are not using a standard 365.
- Read the probability that at least two people share a birthday.
Examples
A group of 23
23 people, 365 days
About 50.73 percent share a birthday
A group of 70
70 people, 365 days
About 99.92 percent share a birthday
Frequently asked questions
What is the birthday paradox?
It is the surprising result that in a group of just 23 people there is a better than even chance that two of them share a birthday. It feels wrong because we picture matching our own birthday, but the paradox counts every possible pair, and 23 people form 253 pairs.
How is the probability calculated?
It is easier to find the chance that everyone has a different birthday, then subtract from 1. The first person is free, the second avoids 1 day, the third avoids 2, and so on, giving a product of (365 minus i) over 365. One minus that product is the chance of a shared birthday.
Why does 23 people give about a 50 percent chance?
Because the number of pairs grows quickly. With 23 people there are 23 times 22 divided by 2, which is 253 pairs, and each pair has a small but nonzero chance of matching. Added across all those pairs the probability crosses 50 percent right around 23 people.
How many people guarantee a shared birthday?
With 365 possible birthdays, 366 people guarantee a match by the pigeonhole principle, since there are more people than days. In practice the probability is already above 99.9 percent by around 70 people, so a match is nearly certain well before that.
Does this assume birthdays are evenly spread?
Yes, the standard calculation treats all 365 days as equally likely and ignores leap years and seasonal patterns. Real birthdays cluster slightly, which only makes shared birthdays a little more likely, so the even-spread answer is a close and slightly conservative estimate.
Related tools
Probability Distribution Calculator
Compute binomial, normal, and Poisson probabilities. Get PMF or PDF, cumulative CDF, plus mean and variance, updated live as you type.
Permutation and Combination Calculator
Calculate permutations (nPr) and combinations (nCr) for choosing r items from n. See both results with the formulas and factorials, updated live.
Coin Flip Probability Calculator
Calculate the probability of getting a number of heads in coin flips. Supports fair or biased coins and exactly, at least, or at most a target.
Annulus Area Calculator
Calculate the area of an annulus, the ring between two concentric circles, from its outer and inner radius. Returns both circumferences and width too. Free.
Area Calculator
Find the area of a circle, square, rectangle, triangle, trapezoid, parallelogram, ellipse, sector or rhombus. Free and runs in your browser.
Arithmetic Sequence Calculator
Find the nth term, the sum of n terms and the full term list for any arithmetic or geometric sequence. Enter the first term, step or ratio, and n.