Coin Flip Simulator

Flip a virtual coin with animation and running heads/tails count.

Flip a virtual coin in the browser with a smooth 3D-spin animation and cryptographic randomness. Track the last 20 flips in a history strip and watch your heads-vs-tails counts converge as you flip more — a live demonstration of probability.

Common use cases

  • Settle a quick decision when you don't have a physical coin
  • Choose teams or who goes first in a game
  • Demonstrate probability and the law of large numbers in class
  • Generate fair binary outcomes for raffles and tie-breakers

Frequently asked questions

Is the coin really 50/50?
Yes — perfectly so. Each flip pulls a random byte from crypto.getRandomValues and maps even/odd to heads/tails.
Why does my history feel streaky?
Truly random sequences contain runs of 5+ in a row more often than people expect. The counter on the right shows long-run convergence to 50/50.
Does it sync between devices?
No — the history is in-memory only and clears when you reload the page.

Related tools