The Birthday Paradox and Other Surprising Facts About Chance
By RithyVerse Studio · Updated October 12, 2026 · 3 min read
Human intuition is not good at probability. Many results that seem impossible turn out to be routine, and many things we expect to be common are surprisingly rare. These classic examples show why careful maths beats gut feeling when you are dealing with chance.
The birthday paradox
How many people do you need in a room before there is a better than even chance that two of them share a birthday? Most people guess somewhere near 183, which is half of 365. The real answer is just 23. With 23 people the probability of at least one shared birthday is about 50.7 percent. With 57 people it rises to about 99 percent, and with 70 people it passes 99.9 percent.
The result is called a paradox only because it feels wrong. Nothing is actually inconsistent. The explanation is that you are not comparing each person with your own birthday, you are comparing every pair of people. Among 23 people there are 253 different pairs, and each pair has a small chance of matching. Those chances add up quickly.
How to calculate it
It is easier to work out the probability that nobody shares a birthday and subtract from one. The second person must avoid the first person's date (364 out of 365), the third must avoid both (363 out of 365), and so on. Multiply those fractions together for 23 people and you get about 0.493. The chance of at least one match is therefore about 0.507.
Why it matters in computing
The same idea shows up in computer science. When you generate random identifiers, collisions happen sooner than you expect, because the number of pairs grows much faster than the number of items. Engineers use this idea when deciding how long an ID or a hash needs to be.
Winning streaks are normal
If a thousand people flip a coin ten times, you should expect about one of them to flip ten heads in a row, since the chance for each person is 1 in 1,024. When that person is reported in the news as extraordinarily lucky, the story ignores the nine hundred and ninety-nine who did not. This is sometimes called the law of truly large numbers: with enough opportunities, rare events become likely somewhere.
Random does not mean even
If you draw numbers from 1 to 10 a hundred times, you will probably not see each number exactly ten times. Some will come up more than average and some less. This surprises people, who expect randomness to look neat. Real random data has clusters and gaps, and an overly even spread is actually a sign that something is not random.
The Monty Hall problem
You pick one of three doors, one of which hides a prize. The host, who knows where the prize is, opens another door to reveal a goat and offers you the chance to switch. Switching wins two thirds of the time, while staying wins only one third. The key is that the host's action gives you new information, because he never opens the prize door. Many mathematicians initially argued against this answer, which shows how easily intuition goes astray.
Why these examples are useful
- They train you to look at all the opportunities for an event to occur, not just one.
- They remind you that rare events become likely when you have many chances.
- They show that apparent patterns in random data are often just chance.
You can test some of this yourself. Draw a few dozen numbers on the generator with a small range and see how soon repeats appear. For a deeper look at common mistakes, read Common Myths About Randomness.