01 / Random
Secure random bit
Each flip takes one bit from the browser's cryptographic random source, the same kind used to make passwords.
Free tool
Click the coin or press the space bar. Every flip is decided by your browser's secure random numbers, so heads and tails each have exactly half the chance. Keep a tally and see your streak, settle it with best of 3 or 5, flip a hundred at once to watch the split even out, or rename the sides to Yes and No.
Need a custom tool, app or website? Contact us →Or press the space bar.
Settle it
Many at once
Names of the sides
The coin runs in your browser. The tally is kept in this browser only.
Fair by design
01 / Random
Each flip takes one bit from the browser's cryptographic random source, the same kind used to make passwords.
02 / Even
Heads and tails each have a 50% chance on every flip, whatever came before.
03 / Streaks
Five flips that all come up heads happen about once in 32 tries. Flip 1,000 at once and watch the split settle near half.
Guide
To flip a coin online, you click a virtual coin and it lands on heads or tails at random. This one decides each result with one random bit from your browser's secure random number source before the coin moves, so heads and tails have the same 50% chance every time. It keeps a tally, shows your streak, runs best of 3, 5 or 7, and can flip up to 10,000 coins at once.
Type your own names under Names of the sides, up to 16 characters each. Yes and No turns the coin into a decision maker. You can also use two names, such as Sam and Priya for who goes first, or two places for dinner. The coin, the tally and the result line all use your names, and the history row shows each name's first letter, so pick names that start with different letters.
A single flip can feel too quick for a big decision. Best of keeps flipping until one side has won more than half the rounds: 2 for best of 3, 3 for best of 5 and 4 for best of 7. The status line keeps the score after each flip and names the winner at the end.
The match does not always need every flip. Here is how often it goes the full distance:
| Match | Wins needed | Goes the full distance when | Chance |
|---|---|---|---|
| Best of 3 | 2 | The first 2 flips split 1 to 1 | 2 in 4, or 50% |
| Best of 5 | 3 | The first 4 flips split 2 to 2 | 6 in 16, or 37.5% |
| Best of 7 | 4 | The first 6 flips split 3 to 3 | 20 in 64, or 31.25% |
Either side has the same chance of winning the match, just as with one flip. A longer match only makes the moment last longer.
Each flip has no memory. After five heads in a row, the next flip is still 50% heads. The chance of a given run is one half multiplied by itself once for each flip:
| Heads in a row | Working out | Chance from a fresh start |
|---|---|---|
| 2 | 1/2 x 1/2 | 1 in 4, or 25% |
| 3 | 1/2 x 1/2 x 1/2 | 1 in 8, or 12.5% |
| 5 | 1/2 five times | 1 in 32, about 3.1% |
| 10 | 1/2 ten times | 1 in 1,024, about 0.1% |
These are the chances of a run of heads starting with the next flip. A run of either side is twice as likely, since tails counts too. Over many flips you get many chances for a run to start, so somewhere in a long session a streak of five or six is nothing unusual. Thinking a side is "due" after a long run is a common mistake known as the gambler's fallacy.
Flip them shows how a fair coin evens out. With 100 flips, the number of heads usually lands somewhere between about 40 and 60, because the typical swing is 5 flips either way. That swing is half the square root of the number of flips: the square root of 100 is 10, and half of 10 is 5. With 10,000 flips the square root is 100, so the typical swing is 50 flips, which is only half a percent, so the split usually reads between 49% and 51%. The more you flip, the closer the percentage gets to 50, even though the gap in flips can grow.
Bulk flips are added to the tally, and the first 50 go into the history row.
For more than two choices, use spin the wheel or the dice roller. For a random number in any range, try the random number generator.
Questions
Yes. Each result is one random bit from crypto.getRandomValues, so heads and tails are equally likely and earlier flips make no difference. The spinning is only for show.
Very nearly. A 2023 study of 350,757 real flips (Bartoš and colleagues) found coins land on the side that started facing up about 50.8% of the time. A digital coin has no such lean.
No. With fair flips, a run of six of the same side somewhere in 100 flips is quite likely. Each flip is still 50/50.
Yes. Type Yes and No as the names of the sides, and the coin and the tally use them.
Use spin the wheel for a list of names or options, or the dice roller for numbers.
Yes, as long as the result comes from a good random source. This page uses the browser's secure random numbers and picks the side before the coin moves, so the animation cannot change it.
Yes. Choose 10, 100, 1,000 or 10,000 under Many at once and press Flip them. The status line shows how many landed on each side.
Yes, in this browser only. The tally, the last 50 results and your side names are still there next time, until you press Clear the tally.
Yes. Untick Sound in the side panel. The coin still flips and the result still shows.
No. This coin has two results only, heads and tails, or the names you gave the sides.