52 people ≈ 97%
Double the “23 people” headline and you’re nearly guaranteed: 52 people is about a 97% chance of a shared birthday.
Fast answer: with the classic 365-day model, 23 people gives about a 50.73% chance of at least one shared birthday.
| Target Probability | Smallest Group Size |
|---|---|
| ≥ 50% | — |
| ≥ 75% | — |
| ≥ 90% | — |
| ≥ 99% | — |
Outputs are rounded for readability. Exact computations use high-precision log products to avoid underflow.
Shared-birthday probability rises quickly as the number of pair comparisons grows.
Run random groups and compare the simulated result with the theoretical value.
These values use the current birthday model or custom outcome count.
| Group size | P(shared birthday) | P(no match) | Expected matching pairs |
|---|
The birthday paradox asks for the chance that at least two people in a group share a birthday. The standard method is to calculate the easier complement first: the probability that everyone has a different birthday.
For n = 23 and D = 365, the no-match product is (365/365) x (364/365) x (363/365) x ... x (343/365). That product is about 0.4927, so the chance of at least one shared birthday is 1 - 0.4927 = 0.5073, or 50.73%.
The expected matching pairs result is separate from the probability of at least one match. Probability answers "does any collision happen?" while expected pairs estimates the average number of matching pairs over many repeated groups.
Real-world uses include teaching probability in classrooms, explaining why collisions happen in hashing, or understanding why duplicate events appear in large datasets. The same logic shows up in cybersecurity when discussing hash collisions and in analytics when checking for overlapping dates. It is also a great conversation starter for team events or workshops because the result feels counterintuitive.
For example, with just 23 people, the chance of a shared birthday is about 50%. By the time you reach 50 people, the probability is already above 97%. These numbers highlight how quickly combinations grow as group size increases. The calculator uses precise math internally so the results stay accurate even for large groups.
Because the result feels surprising: our intuition often confuses the question “someone matches someone” with “someone matches me.” The calculator answers the former.
Under the 365-day model, 47 people are needed for at least a 95% chance. At 46 people the probability is about 94.83%, and at 47 people it is about 95.48%.
No. This calculator checks whether any pair in the group shares a birthday. Matching one specific person's birthday is a different and much smaller probability.
No. It means at least one pair matches. A group can have one matching pair while everyone else has unique birthdays.
183 feels natural if you are thinking about half of 365 or matching one fixed birthday. The paradox counts every possible pair in the group, and the number of pair comparisons grows as n(n - 1) / 2.
Yes. Real-world data varies by month and region, but the uniform assumption is standard for the paradox and keeps the math transparent.
They can change it slightly because births are not perfectly uniform across all calendar days. The classic 365-day model is still the usual reference because it is simple, transparent, and close enough for the headline paradox.
Hash buckets, random IDs, rooms, months, and categories are all versions of the same collision problem. When many items are assigned to a limited number of outcomes, duplicate outcomes appear sooner than simple intuition suggests.
If n > D, then by the pigeonhole principle the probability is 100%.
Yes. All calculations run locally in your browser; no data is uploaded or stored on a server.
Double the “23 people” headline and you’re nearly guaranteed: 52 people is about a 97% chance of a shared birthday.
Birthdays are not perfectly uniform in real populations, so observed odds can differ slightly from the clean 365-day teaching model.
The same math explains why pair collisions in hash functions happen sooner than intuition says—just like matching birthdays in a crowd.
Including 29 February keeps the 50% threshold at 23 people; it only nudges the 99% threshold from 57 to 58 people.
The chance of at least three people sharing a birthday passes 50% around 88 people (365-day assumption).