Flip a Coin Online — Heads or Tails Coin Flipper

Get a free, instant virtual coin toss, run an exact batch of flips, or turn any two choices into a fair random decision.

Flip a coin online

Tap the coin or press Flip Coin. Space and Enter also work outside form fields.

Ready

Flip mode
Custom choices (optional)

This session

0
Total flips
0 (0%)
Heads
0 (0%)
Tails
None
Current streak
0
Longest streak

Recent results

No flips yet.

Quick guide

  1. Choose Single Flip, Multiple Flips, or a separate Best-of Series.
  2. Optionally replace Heads and Tails with two choices, such as Yes and No.
  3. Tap the coin or press Flip Coin. Batches are calculated immediately.

Keyboard: Space or Enter flips when focus is outside a form control. Escape clears the session.

Advertisement

Useful ways to flip a coin

Flip once

Leave Single Flip selected and tap the coin. Use it for a quick, low-stakes two-way choice.

Flip 100 times

Choose Multiple Flips, select 100, and run it once. You will get exactly 100 results, counts, percentages, and a downloadable sequence.

Run a best-of series

Choose Best-of Series and an odd maximum. “Best of 3 to choose who starts” ends as soon as one side wins twice.

Make an everyday choice

Open custom choices and try “Heads = cook, Tails = takeaway,” or use the one-tap Yes / No preset.

Explore probability

In class, run 10, 100, then 1,000 flips. Compare each Heads percentage with the theoretical 50% and copy the results for analysis.

Know when not to flip

Do not delegate safety, consent, health, money, legal rights, security, or other high-stakes decisions to chance.

Coin flip probability, at a glance

One flip: P(Heads) = P(Tails) = 1/2 = 50%
A specified run of k identical outcomes: P = (1/2)k
Exactly h Heads in n flips: P = C(n,h)(1/2)n, where C(n,h) counts the ways to place h Heads.
  • 3 flips: HHH has probability 1/8 = 12.5%; exactly 2 Heads has probability 3/8 = 37.5%.
  • 10 flips: exactly 5 Heads has probability 252/1,024 ≈ 24.61%.
  • 100 flips: 50 Heads is the expected count, not a guarantee. Exactly 50 Heads has probability about 7.96%.

A specified four-flip result such as HHHH has probability 1/16 in one four-flip block. That is different from waiting time: the expected wait for four Heads in a row is 30 flips (and for a run of four matching outcomes on either side, 15 flips).

Randomness methodology and privacy

Primary method: When the browser provides window.crypto.getRandomValues, each result uses one random byte. Even byte values 0–254 map to the first side and odd values 1–255 map to the second: 128 possible byte values for each outcome.

Fallback: If Web Crypto is unavailable, the tool uses Math.random() and says so beside the tool. That fallback is pseudorandom, implementation-dependent, and unsuitable for security, gambling, or high-stakes use.

Privacy: Choices and results remain in this tab’s memory. This tool does not send them to a server or save them to persistent browser storage.

Evidence: See the W3C Web Cryptography specification. Digital sampling avoids physical tossing mechanics; a large peer-reviewed study found a small same-side tendency in human-flipped coins: Fair Coins Tend to Land on the Same Side They Started.

Coin flipper FAQs

Is this online coin flip fair?

The tool maps a random byte to two equal groups, giving Heads and Tails the same 1/2 probability. It uses Web Crypto when available and otherwise identifies that it is using the less suitable Math.random() fallback.

Can I flip a coin 100 or 1,000 times?

Yes. Choose Multiple Flips and select 100 or 1,000. The exact number of flips is generated immediately, with counts, percentages, and a complete sequence.

Why did I get a long streak?

Streaks occur naturally in random sequences. A specified run of four Heads has probability 1 in 16, so a streak alone is not evidence that later flips were influenced.

Does the previous result affect the next coin flip?

No. Each generated bit is a new independent draw; the previous result does not make either side “due.”

Can the coin flipper answer Yes or No?

Yes. Open Custom choices and use the Yes / No preset, or enter any two short labels.

Does the coin flipper work on mobile or offline?

It is designed for phones, tablets, and desktop browsers. After the page is already loaded or cached, the flipping logic needs no server connection, but the site is not guaranteed to load for the first time while offline.

Are my coin flip results stored or sent anywhere?

No flip labels or results are sent to a server or written to persistent browser storage by this tool. They remain in page memory for the current tab and disappear when the page reloads or closes.

Should I use this tool for gambling or high-stakes decisions?

No. Use it for casual choices, games, and learning—not for gambling, security, medical, legal, financial, or other high-stakes decisions.

Explore more tools