Flip a Coin: step by step
- Tap the coin, click Flip or press Space.
- Choose 1 flip, Best of 3, Best of 5 or Flip 10 / 100 for more at once.
- Your totals, percentages and longest streak are counted underneath.
- 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