Coin Flip

Flip a virtual coin with satisfying animation. Track your heads/tails statistics, streaks, and history. Fair and random, powered by Math.random().

Click the coin to flip!
0
Total Flips
0
Heads (0.0%)
0
Tails (0.0%)
0
Current Streak
Distribution

Flip the coin to see distribution

How to Use the Coin Flip Simulator

  1. Click the coin or press the Flip button to toss the coin.
  2. Watch the animation and see your result (Heads or Tails).
  3. Track your statistics below including total flips, percentages, and streaks.
  4. Use the Reset button to clear all statistics and start fresh.

Is It Fair?

This coin flip uses JavaScript's Math.random() to generate results, giving an equal 50/50 probability for heads and tails. Over a large number of flips, the distribution will converge to approximately 50% each, demonstrating the law of large numbers.

Features

  • Animated coin flip with visual feedback
  • Statistics tracker: total flips, heads/tails count and percentages
  • Current and longest streak tracking
  • Flip history (last 50 flips)
  • 100% client-side, no data sent anywhere