A fair coin whenever you need one
No coin in your pocket? This Coin Flipper gives you a genuine 50/50 heads-or-tails result on demand, plus running statistics so you can see fairness in action. Use it to settle a quick decision, run a classroom probability experiment, or simply enjoy watching the streaks form.
How it works
Every flip generates a random number between 0 and 1 with Math.random(). If that number is below 0.5 the result is Heads, otherwise Tails — an exactly even split with no bias. The tool then records the result in a running history and recomputes three things: the total counts and percentages for each side, and the current streak. The streak is found by scanning backward from the most recent flip and counting how many consecutive results match it, stopping at the first difference. A short shuffle animation cycles a few random faces before settling, but the recorded result is its own independent draw.
Tips and notes
Flip a few dozen times and watch the heads and tails percentages drift toward 50 percent — this is the law of large numbers at work. Do not be surprised by long streaks; with a fair coin, a run of five or six identical results is common and does not mean the coin is “due” to switch. The full history is shown as a compact H/T sequence so you can review the exact run. Everything runs locally in your browser, and reloading the page clears the record.