A Hundred Coin Flips Contain a Run of Seven
Published 12/2/2026 · 3 min read · Everyday calculators
Lena Hoffmann — Science & education writer at OneKitly
Mathematics · Physics
Checked against 2 sources
Runs are what random sequences look like, and people consistently underestimate them. Simulate a hundred fair flips twenty thousand times and the longest run of identical results averages 6.98 with a median of exactly seven; ninety-seven per cent of those sequences contain a run of five or more. On twenty flips the average longest run is 4.64 and forty-five per cent still reach five. A rough guide is the base-two logarithm of the number of flips — 6.6 for a hundred, 10 for a thousand — which is close to the measured values.
Simulated twenty thousand times, the longest run in a hundred flips averages 6.98 and the median is exactly 7. In twenty flips it is 4.64.
People asked to fake randomness alternate too much
Ask a class to write down a hundred imaginary coin flips and the sequences are easy to spot: they contain too many alternations and almost never a run of six, because a long run feels like a mistake while it is being written. Statisticians can separate real from invented sequences on that basis alone, and the same tell appears in fabricated data, invented lottery numbers and made-up survey responses. Randomness is lumpier than intuition allows.
A run says nothing about the next flip
After six heads the coin has no memory and the next flip is fifty-fifty, which is obvious in the abstract and hard to hold at a table. Two opposite errors follow from ignoring it: expecting the sequence to correct itself, and expecting the run to continue because something is hot. The first is why people bet against a run at a roulette wheel, the second is why they bet on a fund that has risen for five years — and both are the same mistake about what independence means.
| Flips | Average longest run | Reach five or more |
|---|---|---|
| 20 | 4.64 | 45% |
| 100 | 6.98 | 97% |
| 1,000 | 10.30 | over 99.9% |
| Rule of thumb | log₂ of the count | 6.6 for a hundred |
Frequently asked questions
- Is a real coin exactly fair?
- Close enough that the asymmetry is hard to measure, and not perfectly. Careful experiments have found a small bias towards the side that started face up, on the order of one per cent, arising from the physics of the flip rather than from the coin's shape. Spinning a coin on a table is a different matter and can be strongly biased by the rim. For anything that matters, a physical coin is a worse source of randomness than a well-seeded generator, which is what this tool uses.
- How many flips settle a fifty-fifty question?
- One, if the question is which of two people goes first. If the question is whether a coin is fair, the answer is very different: detecting a bias of one per cent with any confidence takes tens of thousands of flips, because the noise in the count of heads grows as the square root of the number of flips while the bias grows in proportion. That gap is why casinos test equipment mechanically rather than statistically, and why a hundred flips prove nothing about a coin.
Articles you may find interesting
All guides →Related tools
Sources
Spotted a mistake in this article?