Luck lab

What Are the Odds of a Coincidence? The Maths of Surprise

Higher than they feel. A coincidence looks like a one-off, but it is the one hit out of a huge number of chances nobody counted. Put 23 people in a room and two of them more likely than not share a birthday. Give a one-in-a-million event a million tries and it happens at least once 63% of the time. The calculator below does the counting for common group sizes and for odds from 1 in 100 to 1 in a million.

People in the room

How close counts

23 people, 253 possible pairs

50.7%

That is the chance that at least two of the 23 share a birthday, if birthdays fall evenly over 365 days.

A coincidence with odds of 1 in

Chances for it to happen

1 in 10,000, daily for a year

3.6%

Chance it happens at least once. Even odds need about 6,932 independent chances.

Exact arithmetic, worked out in your browser. Real birthdays are not quite evenly spread, so treat these as close guides.

The birthday test, with near misses

The classic demonstration is the shared birthday. In their 1989 paper on coincidences, Persi Diaconis and Frederick Mosteller put it plainly: “With 23 people it is even odds that at least 2 have the same birthday.” We worked the numbers out exactly for a 365-day year with every day equally likely, and added the two looser versions people tend to count without noticing.

PeoplePairsSame birthdayWithin a dayWithin a week
5102.7%8.0%35.2%
104511.7%31.5%87.4%
149122.3%53.7%98.8%
2325350.7%88.8%>99.9%
3043570.6%97.8%>99.9%
4078089.1%99.9%>99.9%
501,22597.0%>99.9%>99.9%

These are our own exact figures. “Within a day” means two birthdays on the same or neighbouring dates, with December 31 next to January 1. Even odds arrive at 23 people for an exact match, 14 for a match within a day and 7for a match within a week. Diaconis and Mosteller give the same figure of 14 for the one-day version. “Within a week” means 7 days or fewer apart. Real birthdays are not spread perfectly evenly, and any uneven spread makes a shared birthday somewhat more likely than the table shows.

The column that explains the surprise is the second one. Twenty-three people do not make 23 chances for a match. They make 253, because every person can pair with every other. By 50 people there are 1,225 pairs and a shared birthday is close to certain.

Why your own birthday is different

Now ask a narrower question: does anyone in the room share your birthday? With 22 others there are only 22 pairs that count, and the chance is 5.9%. You would need 253 other people for even odds. The gap between the two questions is most of the story of coincidence. When something odd happens to us, we judge it against the narrow question (what were the odds of this, to me?) when the fair question is the wide one (what were the odds of something like this, to someone, at some point?).

One in a million, a million times

The second half of the calculator covers events with fixed odds and repeated chances. The table shows the chance of at least one hit, worked out as one minus the chance of missing every time.

Odds each timeOne tryDaily for a yearDaily for 10 yearsA million tries
1 in 1001.0%97.4%>99.9%>99.9%
1 in 10,000<0.1%3.6%30.6%>99.9%
1 in a million<0.1%<0.1%0.4%63.2%

A 1-in-10,000 event that gets one chance a day is a 30.6%chance over ten years. Spread that over a town of 10,000 people and someone there should expect it most days. This is what Diaconis and Mosteller called the law of truly large numbers: “With a large enough sample, any outrageous thing is likely to happen.” The event is rare for a person and routine for a population, and the stories that reach you come from the population.

A miracle a month

The physicist Freeman Dyson turned the same arithmetic on a single life. His reasoning, as quoted by Michael Shermer in Scientific American in 2004: we see and hear things at a rate of about one per second, for about eight waking, active hours a day, which comes to about 30,000 events a day, or about a million a month. If a “miracle” is a one-in-a-million event, the average person should meet one roughly every month.

Adding up the odds turns that into a percentage. A million events at one in a million each gives a 63.2% chance of at least one such event in a month. Over twelve months it is above 99.99%. The idea is usually called Littlewood’s law, after the Cambridge mathematician J. E. Littlewood, but a check of both editions of his A Mathematician’s Miscellany found no such argument in them, so credit the sum to Dyson.

Where coincidences come from

Diaconis and Mosteller define a coincidence as “a surprising concurrence of events, perceived as meaningfully related, with no apparent causal connection”, and they sort the explanations into four groups. The statistician David Hand later wrote a book-length version, The Improbability Principle, with five laws that overlap them. Here is how the two line up, with an everyday case for each.

ExplanationHand’s nearest law (our pairing)Everyday case
A hidden causeNone; this one is a real linkTwo colleagues book the same holiday week because both have children on the same school calendar
Psychology: what we notice and rememberLaw of selectionThe dream that came true is remembered; the hundreds that did not are forgotten
Multiple endpoints: close counts as a matchLaw of near enoughA birthday one day off, or a stranger from your mother’s home town
The law of truly large numbersLaw of truly large numbersA 1-in-10,000 daily chance, spread over 10,000 people in a town, strikes someone on about two days in three

Hand’s other two laws fill gaps in the list. The law of inevitability says one of all the possible outcomes must occur, so a result that was unlikely in advance still has to be some result. The probability lever says a small change in how a situation works, or how it is modelled, can change the odds by a large factor: the birthday table assumes every day is equally likely, and if a group were born mostly in one season, matches would come sooner than it shows.

The dream case shows the selection law at work. Picture someone who remembers a dream on most mornings for years. The dreams that match nothing are forgotten by lunch. The one that seems to match the next day’s news is the one that gets retold, so a memory of “dreams that came true” is built from the few hits in a very long run of misses. Diaconis and Mosteller also note that “synchronicity” has become a common word for a meaningful coincidence, after the psychiatrist Carl Jung. The four sources above are the ordinary explanations to rule out first.

When a coincidence is worth a second look

Psychologists Thomas Griffiths and Joshua Tenenbaum describe a coincidence as an event that supports some other explanation over the one you currently believe. That is a useful test. If the same thing keeps happening under the same conditions, or the match is too exact to be explained by loose counting, look for a cause before you put it down to chance. A shared birthday at a party of 30 needs no explanation. Five people at one small office who were all born on the same date would.

A quick check before you decide: count how many ways the coincidence could have happened (people, days, near misses) and compare that count with the tables above. If the chance comes out at a few percent or more, chance is the safer first guess. If it is tiny, look for a cause. The streak simulator shows the same lesson with coin flips, and the gambler’s fallacy page shows what happens when people read meaning into runs that chance made.

Sources

Read on November 28, 2026. All birthday and repeated-chance figures are our own exact calculations.

Questions people ask about coincidences

What are the odds of a coincidence?

It depends far more on how many chances there were than on how strange the event looks. Something with odds of 1 in 10,000 on a given day has about a one-in-three chance of happening at least once over ten years of days, and a 1-in-a-million event is more likely than not once it gets a million tries. Most coincidences feel rare because we only see the one that happened, not the thousands of chances that came to nothing.

What is the law of truly large numbers?

It is the name the statisticians Persi Diaconis and Frederick Mosteller gave in 1989 to a simple idea: "With a large enough sample, any outrageous thing is likely to happen." A billion people living ordinary days produce enough chances that events with tiny odds turn up somewhere all the time.

How many people do you need for two to share a birthday?

Twenty-three gives slightly better than even odds (50.7%), assuming birthdays fall evenly over 365 days. It sounds too few because 23 people make 253 different pairs, and any one of those pairs can match. If you only count matches with your own birthday, you need 253 other people for even odds.

What is Littlewood's law?

It is the popular name for the claim that an ordinary person meets a one-in-a-million event about once a month. The physicist Freeman Dyson set out the reasoning: we notice about one event a second for eight hours a day, roughly 30,000 a day or a million a month. A check of both editions of J. E. Littlewood's own book, published by Gwern Branwen, did not find the argument there, so the name is borrowed rather than quoted.

Do coincidences mean something?

Usually not, but sometimes they point to a real cause. Diaconis and Mosteller list a hidden cause first among their four sources of coincidence. Two friends who both turn up at the same small concert may simply share a taste in music. The psychologists Thomas Griffiths and Joshua Tenenbaum describe a coincidence as evidence that favours some other explanation over pure chance, which is why it is worth a second look and rarely worth more.

Why do near-misses feel like coincidences too?

Because we count them. A birthday one day apart, a licence plate with your initials in the wrong order, a friend from the next town: each loosening makes a match far more likely. Allowing a one-day gap cuts the group needed for even odds of a birthday match from 23 to 14, and allowing a week cuts it to 7.

Last updated: November 28, 2026

Back to the wheel