Flip a coin
Press Flip for heads or tails. Every flip is an exact 50/50, and the tally keeps count until you reset it.
Heads or tails?
How it’s fair
Each flip takes one random bit from crypto.getRandomValues: one value means heads, the other tails. Earlier flips have no effect on the next one, so after five heads in a row the next flip is still exactly 50/50.
Over many flips the tally drifts toward half heads, but short runs are often lopsided. In 10 flips an exact 5 to 5 split happens only 252 times in 1,024 (about 24.6%).
Chance of a streak on one chosen side
The chance that the next N flips are all heads (or all tails) is 1 in 2 to the power N.
| Flips in a row | Odds | Chance |
|---|---|---|
| 1 | 1 in 2 | 50% |
| 2 | 1 in 4 | 25% |
| 3 | 1 in 8 | 12.5% |
| 4 | 1 in 16 | 6.25% |
| 5 | 1 in 32 | 3.13% |
| 6 | 1 in 64 | 1.56% |
| 7 | 1 in 128 | 0.78% |
| 8 | 1 in 256 | 0.39% |
| 9 | 1 in 512 | 0.2% |
| 10 | 1 in 1,024 | 0.098% |
Common questions
- Is this coin flip really 50/50?
- Yes. Each flip is one draw from the crypto random generator built into your browser, with exactly two equally likely outcomes. A real coin can be very slightly biased by how it is tossed; this one cannot.
- After 5 heads in a row, is tails more likely?
- No. The coin has no memory, so the next flip is still 50/50. The chance of 6 heads in a row is 1 in 64 only when you predict it before the first flip.
- Why isn’t my tally exactly half and half?
- Random flips wander. In 10 flips an exact 5 to 5 split happens only about 24.6% of the time. The share of heads gets closer to 50% as the number of flips grows.
- Can I flip more than one coin?
- Flip 10 times tosses ten coins in a row and adds all of them to the tally, newest first in the recent flips list.
More random pickers
Spin the wheelType entries, spin, and a fair wheel picks a winner.
Random team generatorSplit a list of names into balanced teams, by team count or team size.
Random name pickerDraw one or several names, with a no-repeat mode for classrooms.
Dice rollerRoll up to 10 dice: d4, d6, d8, d10, d12 or d20, with the total.
Random number generatorWhole numbers in any range, with or without repeats.
How the randomness worksThe generator, the rejection step and the shuffle, explained.