Coin Toss Runs Calculator

Enter probability of heads     p =
         probability of tails     q = 1 - p

Average number of tosses for a head run of length h

μ(h) = \[\frac{1-p^h}{p^hq}\]
μ()

Average number of tosses for a head run of length h or a tail run of length t

μ( h, t ) = \[\frac{(1-p^h)(1-q^t)}{p^hq+pq^t-p^hq^t}\]
μ(, )

See our book The Coin Toss: The Hydrogen Atom of Probability to learn about coin toss statistics.