curlytab

curlytab / Flip a Coin

Heads, tails, and no arguments.

Flip a Coin

Tap the coin, or press Space, to flip it. Every flip is a true 50/50, made with your device's secure random generator. Settle a decision with one flip, play best of 3 or 5, or flip 100 coins at once and watch the totals even out.

Tap the coin to flip

0Heads
0Tails
0Flips
0Longest streak

Flip a Coin: step by step

  1. Tap the coin, click Flip or press Space.
  2. Choose 1 flip, Best of 3, Best of 5 or Flip 10 / 100 for more at once.
  3. Your totals, percentages and longest streak are counted underneath.
  4. Click Reset to start counting again.

Is a virtual coin fair?

Yes. Each flip uses crypto.getRandomValues, your browser's cryptographically secure random number generator, so heads and tails are exactly equally likely and every flip is independent of the last. The animation is just for fun: the result is decided the moment you flip.

Streaks are normal

Getting five heads in a row feels suspicious, but in 100 flips a streak of 5 or more happens more often than not. Each flip still has a 50% chance either way: the coin has no memory. Flip 100 at once and watch the percentages drift towards 50/50, which is the law of large numbers at work.

Ways to use it

  • Deciding who goes first in a game, or who pays for coffee.
  • Picking between two options when you really can't choose: notice which side you're hoping for.
  • Probability lessons: flip 100 at a time and compare with your class.

Need more than two outcomes? Try the dice roller, the random number generator or the yes or no wheel.

Frequently asked questions

Is it really 50/50?

Yes. Each flip is generated by your browser's secure random generator, with exactly equal chances for heads and tails.

Can a real coin land on its edge?

Very rarely: estimates for a US nickel are about 1 in 6,000 tosses. This coin always lands flat.

Is a real coin toss fair?

Almost. Research suggests a real coin lands on the side it started on about 51% of the time. A virtual coin doesn't have that bias.

Updated

Add this coin flipper to your website

Free for blogs, schools and businesses. Copy the code below and paste it into your page's HTML. The tool works exactly like this one and runs in your visitors' browsers, so nothing is uploaded. Please keep the credit line so others can find it too.

Preview embed ↗