Random draw guides

Read the streaks in a short coin-flip experiment

·

Compare two short runs by recording both the order of the flips and the totals. The same total can come from different streaks.

Coin Flip

Count heads, tails and streaks in four flips

Select Flip coin four times. Compare the tally with the most recent four entries in Flip history. The newest result appears at the top. Your four flips may differ from the worked sequence below.

The sample sequence is heads, heads, tails, heads. The final heads share is 75%. Current streak reads Heads · 1 because a tail separated the last head from the first two. Longest streak stays at two.

Count heads, tails and streaks in four flips
FlipResultHeads countCurrent streak
1Heads11 head
2Heads22 heads
3Tails21 tail
4Heads31 head

Compare two orders with the same heads share

For heads, heads, heads, tails, the head count is still three out of four. Here the longest streak is three and the current streak is one tail. Read the individual results to see the difference between the two runs.

Flip once more in your own session. The tool takes a fresh random value and uses its parity to choose the side. The percentages above the history describe the flips already made.

W3C Web Cryptography — getRandomValues

Start the second run with an empty tally

Select Reset session and verify that Total flips returns to zero and Flip history closes. Start the next run. The first new row is numbered 1, and its side accounts for 100% of the new tally.

Common questions

Do earlier flips drop out of the percentages when history reaches 30?

The session totals still include every flip since reset. The history retains the 30 most recent individual records.

Can two runs with the same heads share have different longest streaks?

Yes. A streak depends on which results are adjacent. The share depends on the total number of heads and flips.

Sources

Put it into practice.

Related guides