Coin Flip
Flip a virtual coin once or thousands of times. Uses cryptographically secure randomness for fair outcomes.
Coin Flip Probability Reference
Each fair flip has a 50% chance of heads and 50% chance of tails. The calculator uses cryptographically secure randomness for each flip.
| Number of flips | Expected heads | Chance of all heads | Possible outcomes |
|---|---|---|---|
| 1 | 0.5 | 50% | 2 |
| 2 | 1 | 25% | 4 |
| 3 | 1.5 | 12.5% | 8 |
| 5 | 2.5 | 3.125% | 32 |
| 10 | 5 | 0.098% | 1,024 |
Frequently Asked Questions about the Coin Flip
Is the coin flip truly random?
On browsers with Web Crypto, the calculator uses crypto.getRandomValues to select heads or tails. That gives each outcome an equal chance. If Web Crypto is unavailable, it falls back to Math.random(), which is pseudorandom rather than cryptographically secure.
What is the probability of heads or tails?
Each flip is exactly 50/50, a 0.5 probability for each side. Every flip is independent, so a run of five heads does not make tails any more likely on the sixth flip. Over many flips the observed ratio converges toward 50%, but small samples can deviate noticeably.
How many flips show the law of large numbers?
At 100 flips you will often see a heads rate somewhere between 42% and 58%. At the maximum of 1,000 flips the range typically tightens to about 47% to 53%. Run several 1,000-flip batches to watch the totals cluster near 500.
Can I do best-of-three?
Set the number of flips to 3 and read the result. Whichever side lands more often wins, since two or more out of three decides it.
What flip counts can I enter?
Enter a whole number from 1 to 1,000. The calculator rejects zero, negative values, decimals, and counts above 1,000 so the result stays readable.
Related Calculators
More calculators in "Lifestyle"
Fuel Cost CalculatorRandom Name PickerBra Size CalculatorRing Size CalculatorTire Size CalculatorDog Age Calculator
See all 81 calculators in "Lifestyle"