Coin Flip
Free to use. Runs in your browser: your files and text are not uploaded.
Press Flip to get heads or tails. Change the number of coins to flip several at once and count the results.
How to use it
- Leave the number of coins at 1 for a single flip, or type up to 1,000.
- Press Flip. Press it again for a new result.
With more than one coin, you see how many heads and tails came up and the full sequence, shown as H and T.
How it works
For each coin, the tool asks your browser for a random number that is 0 or 1 with equal chance, and calls one heads and the other tails. The random numbers come from the browser’s cryptographic generator, which is designed to be unpredictable.
What to expect from many flips
Over many flips, the share of heads gets close to 50%, but the count is rarely exactly half. With 100 coins:
- exactly 50 heads happens only about 8% of the time
- between 40 and 60 heads happens about 96% of the time
Streaks are also normal. In 100 flips, a run of at least five heads or five tails in a row turns up in the large majority of tries. People asked to write down a “random” sequence tend to avoid such runs, which is how teachers can tell invented results from real ones.
Deciding with a coin
A coin gives a fair choice between two options. For three or more options, use the Spin the Wheel or the Random Number Generator.
Limits
- Results are not saved or recorded. Nobody else can verify a flip you made, so for anything that matters, flip with everyone watching.
- A physical coin is very slightly biased: a large study published in 2023, covering 350,757 flips, found coins landed on the side that started facing up about 50.8% of the time. This tool has no such bias.
Frequently asked questions
Is the online coin flip fair?
Yes. Each flip uses your browser's cryptographic random number generator and gives heads or tails with equal chance, 50% each.
If I get five heads in a row, is tails more likely next?
No. Each flip is independent. The chance of tails on the next flip is still 50%. Believing otherwise is known as the gambler's fallacy.
How likely is a run of heads?
The chance of heads n times in a row is 1 in 2 to the power n. Five in a row is 1 in 32, and ten in a row is 1 in 1,024.