Calcoid

Coin Flip

Flip a virtual coin once or thousands of times. Uses cryptographically secure randomness for fair outcomes.

Flip a coin

Click Flip to start.

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 flipsExpected headsChance of all headsPossible outcomes
10.550%2
2125%4
31.512.5%8
52.53.125%32
1050.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"

See all 81 calculators in "Lifestyle"