Overview

Long streaks happen more often than people expect. This finds the chance of getting at least one run of heads of a given length within a set number of tosses.

Enter the number of tosses, the streak length you're looking for and the chance of heads, 50% for a fair coin.

Worked examples

InputsResult
Number of Tosses20Target Head Streak Length4Head Probability (%)50P(at least one 4-head streak): 47.8%P(no such streak): 52.2%
Show 2 more examples
Number of Tosses100Target Head Streak Length6Head Probability (%)50P(at least one 6-head streak): 54.61%P(no such streak): 45.39%
Number of Tosses10Target Head Streak Length3Head Probability (%)60P(at least one 3-head streak): 70.14%P(no such streak): 29.86%

P(at least one 4-head streak) by head probability

With the calculator's starting values, the p(at least one 4-head streak) is 47.8%. The table shows how it changes with the head probability.

Head Probability (%)P(at least one 4-head streak)
30%9.62%
40%25.14%
50%starting value47.8%
60%71.85%
70%89.8%

Other inputs: Number of Tosses: 20 · Target Head Streak Length: 4. Change them in the calculator above for your own numbers.

How it works

It tracks the probability of every current run length after each toss. A heads extends the run, and a tails resets it to zero. Paths that reach the target streak are counted as successes, and the rest is the chance of no such streak.

Practical tips

  • In 20 fair tosses, a run of 4 heads appears 47.8% of the time.
  • In 100 tosses, a run of 6 heads or more happens more often than not.
  • People faking random sequences usually avoid long runs, which is one way to spot made-up data.

Frequently asked questions

Is a streak a sign the coin is biased?

Not by itself. Long streaks are normal in long sequences.

Does it count tails streaks too?

No, only heads. For either side, the chance is higher.

Can I use it for sports streaks?

Yes, set the head probability to the per-game success rate, assuming games are independent.