Flip a Coin — Heads or Tails
Free online coin flip with real 3D animation. Cryptographically fair heads-or-tails toss, streaks, history, and batch flip statistics. 100% client-side.
The Coin
🦅 Heads!
Tip: press Space anywhere to flip
Tallies
Heads
0
0.0%
Tails
0
0.0%
0 total flips · longest streak: 0 —
- Current streak
- —
- Longest streak
- —
- Heads share
- —
Tallies, streaks, and history are saved in your browser (localStorage) — never uploaded.
Flip Many Times
Batch-flip and watch the law of large numbers pull the split toward 50/50.
Recent Flips
No flips yet — toss the coin above to start your history.
Newest on the right · last 60 flips kept
Quick Answer
Flip a coin is the classic 50/50 decision maker: one side is heads, the other tails, and a fair toss lands on each with exactly equal probability. This free online coin flip animates a real 3D coin in your browser and decides the outcome with crypto.getRandomValues — the browser’s cryptographic random generator — so heads and tails are exactly equally likely. Streaks, history, and tallies are saved locally, and batch mode flips up to 100,000 coins at once to show the 50/50 split converging. Nothing is uploaded and no sign-up is needed.
How It Works
Call it in the air: pick what heads means and what tails means
Click the coin, hit the Flip button, or press Space — the 3D coin spins and settles
Read the result: heads or tails, announced on screen and added to your tallies
Use batch mode (10–100,000 flips) to see the split converge on exactly 50/50
Key Facts
- Every flip uses one bit from crypto.getRandomValues — exactly 50% heads, 50% tails, no bias
- Real 3D coin animation that spins five full turns and lands on the winning face
- Heads/tails tallies with a live distribution bar and running percentages
- Current streak and longest streak tracking (heads or tails in a row)
- Batch mode: flip 10, 100, 1,000, or up to 100,000 times and see the split approach 50/50
- Last 60 flips shown as a visual H/T history strip
- Press Space anywhere on the page to flip — no clicking needed
- Statistics persist in your browser via localStorage; 100% client-side, nothing uploaded
Frequently Asked Questions
Is this online coin flip truly random and fair?
Yes. Each flip draws one uniform random number from crypto.getRandomValues — the browser’s cryptographically secure generator, the same source used for security keys — and compares it against 0.5. That consumes exactly one bit of entropy, so heads and tails each have a probability of precisely 1/2. There is no modulo bias, no house edge, and no way to predict the next result.
How do I flip a coin online?
Click the coin (or the big Flip button, or just press Space). The 3D coin spins for about a second and a half and lands on heads or tails. The result is announced on screen, added to your history strip, and folded into your tallies and streak counters automatically.
What are the odds of a streak of heads or tails in a row?
Each individual flip is independent, so a run of k identical faces has probability (1/2)ᵏ⁻¹ — about 6.25% for 4 in a row, 0.1% for 10, and roughly 1 in 1.1 million for 20. Long streaks are rare but perfectly normal in long sessions: in 1,000 flips the longest run is typically 9–11. The streak counter tracks your current and best runs so you can watch this happen.
What is the batch mode for?
Batch mode flips the coin many times at once — 10, 100, 1,000, or any count up to 100,000 — and summarizes the heads/tails distribution. It demonstrates the law of large numbers: small samples swing (10 flips might be 7–3), but large ones converge tightly on 50/50. It is also handy for classroom probability demos and settling "best of N" decisions instantly.
Who flips first — heads or tails?
In most sports conventions the visiting team calls the toss, or a designated captain calls it while the coin is in the air. With this tool you can let one person "call" heads or tails before you press Space, then flip — the cryptographic result is impossible to time or influence, which makes it a neutral referee for games, chores, or who goes first.
Are my flip statistics stored or shared anywhere?
No. Tallies, streaks, and history are saved only in your own browser using localStorage, so they survive refreshes on your device. Nothing is transmitted to a server, there are no accounts, and pressing Reset statistics erases everything immediately.