Birthday Paradox: Why 23 People Have a 50% Chance of Sharing a Birthday

November 4, 2026

Follow usAdd us to favoritesFavoritesGoogle NewsNews

The birthday paradox is one of the most intriguing and captivating problems in mathematics and probability. It asks how many people must be gathered in a room for there to be at least a 50 percent chance that two of them share the same birthday. The answer to this seemingly simple question is both surprising and counterintuitive.

A Fascinating Problem

Among the people you know, how many share your birthday? The answer is typically larger than you might expect given the number of days in a year. You may have noticed this in one of your old classes at school. In a group of twenty to thirty children, at least a couple of others often celebrate the same birthday. This is what we call the birthday paradox.

The term was introduced by American mathematician Martin Gardner in an article titled “Mathematical Games” that he wrote for Scientific American in 1957. Gardner presented the problem as a playful way to illustrate the concept of probability and to show how results can sometimes be counterintuitive.

Since then, the birthday paradox has become a popular topic in mathematics and statistics, often used to teach concepts of probability, sampling, and distribution. Other authors have also developed variations of the problem to explore related ideas, such as cumulative probability laws and game theory.

The probability that two people share a birthday depends on the total number of days in a year (365 or 366 for leap years) and the number of people in the room. If we assume that each person has an equal chance of being born on any day of the year, the formula is as follows:

[(365!)/((365^n)(365-n)!)]

In this formula, “n” is the number of people in the group and “!” denotes “factorial,” which means the product of all integers from 1 to n.

To explain this formula, imagine a group of two people. The probability that the first person has a specific birthday is 1/365, since there are 365 possible dates. The probability that the second person shares that same birthday is also 1/365, as they must have that exact date among the 365 days of the year.

To compute the probability that at least two people share a birthday, we must determine the chance that two individuals have different birthdays for every possible pair within the group. There are n(n-1)/2 pairs of people in the group. Thus, for the two-person group, the probability that they have different birthdays is:

[(365!)/((365^2)(365-2)!)] = 1 – (364/365) = 0,00274

This means that the probability that at least two people in a group of two share a birthday is about 0.27%.

For a larger group of n people, the formula becomes more complex, but it follows the same logic. The probability climbs quickly with the number of individuals in the group. In the end, one finds that you need about 23 people in the room for there to be roughly a 50% chance that two people share a birthday.

This result highlights just how counterintuitive probabilities can be. In reality, seemingly random phenomena can actually be predicted with precision using mathematical models.

👉 A small gesture for Space Group? Follow us on Google, add us to your favorites, and find us on Google News so you don’t miss any discoveries.

Sindre Halvorsen

I write about space exploration, frontier science and the technologies that are quietly shaping the future. From Norway, I follow the missions, discoveries and ideas that connect life on Earth with what lies beyond it. My goal is to make complex subjects clear, useful and worth paying attention to.