Coin Flip

Flip a fair virtual coin and keep a running heads/tails tally.

Heads
Ready to Flip?
0
Heads
0
Tails

Flip a virtual coin for a quick heads-or-tails decision. Press Flip Coin — or click the coin itself — and after a short spin it lands on Heads or Tails, while two counters keep a running tally of each. It's a simple way to settle a yes/no question, decide who goes first, or break a tie. Everything runs in your browser, and nothing is saved or sent anywhere.

A fair 50/50 flip

The odds are an even 50/50. The result is decided by whether the browser's Math.random value falls below 0.5, which happens exactly half the time, so Heads and Tails are equally likely on every flip. Each flip is independent of the last — as with a real coin, a run of several heads in a row is entirely possible and does not make tails "due" on the next throw. Both the Flip Coin button and the coin graphic trigger a flip, after a brief animation.

The running tally

Two counters track how many Heads and how many Tails you've flipped so far. Over many flips the split tends toward an even balance, but small samples can look lopsided — that's ordinary variation, not bias in the coin. Reset Score sets both counters back to zero and returns the coin to its starting state. The tally is held in memory only, so reloading or leaving the page clears it; it isn't saved between visits.

Good for everyday decisions

A coin flip is ideal for low-stakes choices — which option to take, who kicks off, a friendly tie-break. This one uses Math.random, which is more than fair enough for those everyday uses, but it is not cryptographically secure, so it isn't the right tool where a provably unbiased or tamper-proof outcome is required (for example a formal draw or anything with money at stake). For casual use it behaves just like tossing a real coin. Everything happens in your browser.

Frequently Asked Questions

Is the flip really 50/50?

Yes. Heads is chosen when a Math.random value is below 0.5, which occurs exactly half the time, so heads and tails are equally likely on every single flip.

Are the flips independent of one another?

Yes. Each flip is decided on its own, so past results have no effect — several heads in a row is possible and does not make tails more likely next time.

Does it remember my score?

Only during the session. The Heads and Tails counters live in memory and are cleared when you press Reset Score or reload the page. Nothing is saved between visits.

Can I flip by clicking the coin?

Yes. Both the Flip Coin button and the coin graphic trigger a flip, after a short animation. Everything runs locally in your browser.