Coin Flipper

A free coin flipper for 1 to 10 fair coins at a time. It keeps a running heads-and-tails tally and streak count, with a fullscreen view for the projector.

Press Flip to flip

Press Space or F to flip. Every coin is a fair 50/50 flip, independent of the others.

How to Flip a Coin Online for Your Class

To flip a coin online for your class, set the number of coins in the coin flipper above and press Flip or the Space bar. At Chalkbox, we build free classroom tools that run in the browser. This one needs no account and nothing to install.

  1. Set "Number of coins". Pick 1 to 10 coins. They all flip together on each press, and this browser remembers the number for next time.
  2. Press "Flip", the Space bar or the F key. Keys do nothing while the cursor sits in a form control. Click away from the "Number of coins" box before you press Space.
  3. Read the coins. Each coin spins for about half a second. Then it lands on a big face: a gold coin marked H for heads or a silver coin marked T for tails, with the word "Heads" or "Tails" under it.
  4. Read the result line. One coin shows "Heads" or "Tails". Several coins show a count, such as "3 heads, 2 tails".
  5. Watch the tally. It shows the heads count and percent, the tails count and percent, the total coins flipped and the longest run of the same face in a row.
  6. Press "Fullscreen" for the projector. The coins, the result and the tally fill the screen. Press Esc to leave fullscreen.

Under the tally, "Last flips" lists the 20 most recent flips, newest first, in the form "Flip 12: H T H". Press "Clear tally" to set the tally and that list back to zero before a new experiment. Changing the number of coins also clears the tally, so set the coin count first.

To settle a heads-or-tails choice in front of the class, set 1 coin, open Fullscreen and press Space. If the device asks for reduced motion, the coins skip the spin and show the result right away.

What a Coin Flipper Tally Should Look Like After 10 to 100 Flips

A fair coin lands near 50% heads over many flips, but a small batch of flips can drift far from 50%. In our calculation of exact coin-flip odds, we added up the exact probability of every possible head count for a fair coin. We did this at 10, 20, 30, 50 and 100 flips. Count each coin as one flip, so the number of coins flipped in the tally tells you which row to read.

FlipsExpected heads95% range of headsChance of 40% to 60% heads
1052 to 865.6%
20106 to 1473.7%
301510 to 2080.0%
502518 to 3288.1%
1005040 to 6096.5%

The 95% range is the band of head counts a fair coin lands inside at least 95% of the time. The last column is the chance that heads makes up between 40% and 60% of the flips.

The gap between 10 and 100 flips is large. At 10 flips, 4 to 6 heads happens 65.6% of the time, so about a third of 10-flip tallies (100 − 65.6 = 34.4%) land outside 40% to 60%. At 100 flips, 40 to 60 heads happens 96.5% of the time, and only 3.5% of tallies fall outside.

A lopsided small tally does not mean the coin is unfair. With 10 flips, 7 heads and 3 tails sits inside the 95% range of 2 to 8 heads. These numbers describe an ideal fair coin, which is what the coin flipper uses, while a physical coin toss can differ very slightly.

Why Long Streaks of Heads or Tails Are Normal

A run of 5 or more of the same face in a row is common. We counted flip sequences exactly to get the chance of at least one run of 5 or more heads or 5 or more tails:

  • 10 flips: 21.7%
  • 20 flips: 45.8%
  • 30 flips: 62.5%
  • 50 flips: 82.1%
  • 100 flips: 97.2%

The "longest run" line in the tally tracks streaks as they happen. It counts across every coin in the order the coins landed, from coin 1 to the last coin of each flip. A run can carry over from one press to the next.

Say a student calls the coin broken after five tails in a row. Point at the 20-flip number: 45.8% of all 20-flip sequences, close to half, contain a run that long. Then add that each coin is independent of earlier flips, so the coin after five tails is still a 50/50 choice.

A Coin Probability Lesson for the Whole Class

In this coin probability lesson, students predict first, flip in small batches and then pool every flip into one large tally. These steps fit one projector and the coin flipper at its 10-coin setting.

  1. Predict. Ask each student to write how many heads they expect from 10 flips and from 100 flips.
  2. Set up. Set "Number of coins" to 10 and press "Clear tally" so the class starts from zero.
  3. Flip in groups. Each group takes one turn pressing Space and writes down its result line, such as "6 heads, 4 tails". Ten turns of 10 coins make 100 flips.
  4. Check the small counts. Compare each group's count with the 10-flip row of the table. About two thirds should land between 4 and 6 heads, and any count from 2 to 8 is inside the 95% range.
  5. Pool the flips. After 10 turns, the tally holds 100 coins. Compare its heads count with the 100-flip row, where 40 to 60 heads happens 96.5% of the time.
  6. Discuss the streak. Read the longest run off the tally and compare it with the streak chances above.

"Last flips" holds only the 20 most recent flips, so each group should record its own result line before the next press. With fewer than 10 groups, keep pressing Space until the total reaches 100. To split the class into groups before step 3, use the group generator.

The coin flipper does not draw a chart. Students can draw a bar graph of the group counts on paper from the numbers they wrote down. For the two-dice tally experiment, open the dice roller and run the same predict, flip and pool steps.

Coin Flipper, Dice Roller or Wheel Spinner

The coin flipper fits any classroom choice or experiment with exactly two outcomes. Pick another Chalkbox tool when the choice has more than two options or the lesson uses dice.

Classroom jobBest pick
A heads-or-tails choice, such as which team goes firstCoin flipper
A 50/50 probability tally with up to 10 coins per pressCoin flipper
The two-dice tally experimentDice roller
A choice with more than two optionsWheel spinner

Use the wheel spinner when the class picks from three or more options, because a coin has only two faces. To call on one student, use the random name picker. If a coin toss decides which team goes first in a review game, track the game on the classroom scoreboard.

How the Coin Flipper Keeps Every Flip Fair

Every coin in the coin flipper is a fair 50/50 choice made with the browser's built-in cryptographic random number generator. Each coin is independent of the other coins in the same flip and of every earlier flip. Nothing is sent to a server.

What the Coin Flipper Does Not Do

  • No weighted coin. The coin flipper only flips fair coins and cannot lean toward heads. It is the wrong choice for a weighted-coin demonstration.
  • No saved tally. Reloading or closing the page clears the tally. Write the totals on the board before you close the page. Only the number of coins is remembered in the browser.
  • No sound. Every result shows on the coin faces and in the result line, so keep the screen where the whole class can see it.
  • No chart or graph. The tally gives counts and percents. Copy the heads and tails counts onto the board if you want a bar graph.

How Many Flips to Pool Before Comparing with 50/50

Pool at least 50 to 100 flips before you compare the class tally with 50/50. Batches of 10 flips land outside 40% to 60% about a third of the time. A streak of 5 or more shows up in 82.1% of 50-flip sequences, so neither result shows the coin is unfair.

If you plan to show a coin that favors heads, this answer changes, because the coin flipper only flips fair coins. For every fair-coin lesson, open the coin flipper above, set 10 coins, press Fullscreen and press Space.

Get the printable pack

Join the Chalkbox list for free printable packs and new tools — no spam, unsubscribe anytime.

Frequently asked questions

Is an online coin flip 50/50?

Yes, in the Chalkbox coin flipper every coin is a fair 50/50 choice. The browser's built-in cryptographic random number generator makes each choice. Each coin is independent of the other coins and of earlier flips. The odds on this page describe an ideal fair coin, which is what the coin flipper uses, while a physical coin toss can differ very slightly.

Why did I get 7 heads in 10 flips?

7 heads in 10 flips is a normal result for a fair coin. With 10 flips, the head count lands between 2 and 8 at least 95% of the time, so 7 is inside that range. Only 65.6% of 10-flip tallies land between 4 and 6 heads, so about a third (100 − 65.6 = 34.4%) land outside 40% to 60%.

Can I flip more than one coin at once?

Yes. Set "Number of coins" to any number from 1 to 10, and all of them flip together on each press. The result line gives the count, such as "3 heads, 2 tails". Changing the number of coins clears the tally, so set it before you start.

Does the coin flipper save the tally?

No. Reloading or closing the page clears the tally, and nothing is sent to a server. Only the number of coins is remembered in your browser. Write the heads and tails totals on the board before you close the page.

How do I flip a coin 100 times?

Set "Number of coins" to 10 and press Flip 10 times. The tally adds every coin, so the count of coins flipped reaches 100. Compare the heads count with the 100-flip row of the table. A fair coin gives 40 to 60 heads 96.5% of the time.