Real World Maths Busters

The Maths Behind Everyday Life

The story, the formula and a worked example — see exactly where this maths shows up in the world around you.

Back to all stories
Games & Chance 3 min read

How long a streak to expect in 100 coin flips

Random flips produce longer runs than intuition expects.

Flip a coin 100 times and you will almost certainly see a run of six or seven in a row. The expected longest streak grows with the log of the number of flips — randomness looks surprisingly clumpy.

Longest run grows with log

The expected longest streak in n fair flips is about log base 2 of n.

L≈log⁡2nL \approx \log_2 n

Expected longest run in n flips

One hundred flips

Estimate the longest streak.

Expected longest run

  1. 1

    Compute

    log⁡2100≈6.6\log_2 100 \approx 6.6
  2. 2

    Meaning

    A run of six or seven heads or tails is normal.

Answer

About 7-long — people wrongly think real randomness avoids such streaks.

The formula behind it

Longest Run

L=log⁡2nL = \log_2 n

The takeaway

The longest expected run scales with log base 2 of the flips. Genuine randomness is clumpier than our intuition allows.

Back to all stories