GENERATORS · WEB CRYPTO RANDOMNESS

Online Coin Flip

Flip once or many times, with a heads/tails tally and the full sequence.

Result

Set the options and press the button to generate a result.

Options

Session history (0)

Last 20 runs only. Cleared when you leave or reload. Never uploaded or stored.

Your completed runs will appear here.

About this tool

Press once to flip, or flip many times and see how often each side came up along with the full sequence. Every flip is an independent Web Crypto draw, so earlier results have no influence — after five heads in a row, the sixth is still 50/50. That is the gambler's fallacy, and showing the running proportion makes it visible: short runs stray from 50% often, and only larger samples converge.

How it works

  1. Set the number of flips, or leave it at one.
  2. Press flip.
  3. Read the tally and the full sequence.

Limits and fairness

Up to 1,000 flips at a time. Each flip is independent; earlier results never affect later ones.

Privacy

Lists, settings, and results live only in this browser's memory. Session history is cleared when you leave or reload. Nothing is uploaded, persisted, or written to the URL.

Frequently asked questions

After five heads, is tails more likely?
No. Each flip is independent, so the next one is still 50/50. Believing tails is "due" is the classic gambler's fallacy. The sequence and running proportion are shown precisely so this is visible: short runs deviate from 50% routinely and only converge with sample size.
Why not use Math.random()?
Math.random() quality varies between browser implementations and uniformity is not guaranteed. Every random tool on the site uses Web Crypto instead, both for a more reliable result and so nobody later reuses the same helper for a password or token, where the difference genuinely matters.