Home · Statistics · Probability & Combinatorics · Coin Toss Streak Calculator

Coin Toss Streak Calculator

The probability that a run of fair coin flips contains at least one streak of consecutive heads of a chosen length, computed exactly by a recurrence over the current streak.

Your figures

Example result — edit the figures to make it yours

50.78

MethodExact dynamic-programming count over trailing head runs

What this calculator does

The probability that a run of fair coin flips contains at least one streak of consecutive heads of a chosen length, computed exactly by a recurrence over the current streak. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

P(at least one run of k heads in n flips), by dynamic-programming recurrence over the current run length

Recurrence: track the probability of each current run length 0…k−1 plus an absorbing 'streak achieved' state; each flip moves half the mass to run+1 (heads) and half back to run 0 (tails), with a head at run k−1 moving into the achieved state.

The coin is fair (50% heads) and flips are independent; the calculation is exact, not a simulation.

The answer is the mass in the achieved state after all n flips.

Worked example

With the example inputs this page opens with (number of flips 10, streak length (consecutive heads) 3), the result is 50.78. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying number of flips
Number of flipsResult
525.00
841.80
1050.78
1567.62
2078.70
1154.74

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

Why is a streak of 3 heads in 10 flips so likely?

A 10-flip sequence offers 8 possible starting positions for the streak, and each specific run of 3 heads has probability 1/8. The overlaps reduce the total, but it still comes to about 50.8%.

Is a long streak evidence the coin is biased?

Usually not: streaks are expected in fair sequences. In 100 flips a run of 6 or more heads somewhere is more likely than not, purely by chance.

How does the Coin Toss Streak Calculator work?

The probability that a run of fair coin flips contains at least one streak of consecutive heads of a chosen length, computed exactly by a recurrence over the current streak. Number of flips · Streak length (heads) → Probability of at least one streak (%). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Coin Toss Streak Calculator need?

Number of flips · Streak length (heads) → Probability of at least one streak (%). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.