Free online tools
English EN, Choose a language

Coin flip

Flip a coin online: heads or tails, decided by your browser's secure random generator. Call it first if you like.

Call it first (optional)

Use 1 for a single flip with the coin animation. Up to 1,000.

Result

Press the button to flip. Each flip is a fresh draw from your browser's secure random generator.

Runs in your browser. Nothing you do here is sent or stored.

How to flip a coin online

  1. Optionally call it: pick Heads or Tails before you flip, so the verdict says whether you won.
  2. Press Flip the coin. The coin spins and lands on the result, which is drawn the moment you press.
  3. Flip again as often as you like. Under the coin you get a running tally and your current and longest streak. Clear history starts the count again.

Need more than one coin? Set Number of coins to anything up to 1,000. You get the count of heads and tails and the complete sequence, which Copy result puts on your clipboard.

Is this coin flip fair?

Yes: heads and tails each have exactly the same chance. The result comes from crypto.getRandomValues, the secure random number generator built into your browser, not from Math.random. The animation is decoration: the result is decided first and the coin is only drawn to land on it, so you cannot influence the outcome by when you press or how fast you tap.

A fair coin has no memory. After five heads in a row the next flip is still 50/50, and believing otherwise is the gambler's fallacy. The history shows streaks happen; the next table shows how often.

How long a streak to expect

Streaks look suspicious but are normal. Exact odds for the longest run of the same side (heads or tails) in a number of flips, computed for a fair coin:

FlipsTypical longest streakChance of a streak of 5+Chance of a streak of 7+
103.721.7%3.9%
204.745.8%11.5%
50682.1%30.9%
100797.2%54.2%
200899.9%79.9%
1,00010.3100%100%

In 100 flips the longest streak is typically about 7 in a row, and a run of 5 or more shows up in 46% of 20-flip sessions. Try flipping 100 coins and look at the sequence you copy: a sequence with no long streak is the one that looks fake. The chance of the same side repeating a given number of times from a fixed start is simple:

Same side in a rowOddsChance
11 in 250%
21 in 425%
31 in 812.5%
41 in 166.3%
51 in 323.1%
61 in 641.6%
71 in 1280.78%
81 in 2560.39%
101 in 1,0240.1%

Calling it, and example runs

Calling first makes the flip a proper decision: the result either matches your call or it does not. One example draw with no call: Tails. A 20-coin example run, as the sequence you would copy:

3 heads, 17 tails
TTTTTTTTTTTTTHTTHTTH

These two runs were drawn once when this page was written, only to show the output format. Your own flips are drawn fresh every time.

Online coin flip versus a real coin

A physical coin is not quite 50/50. Diaconis, Holmes and Montgomery analysed coin tossing and found that a coin tends to land on the same side it started on, with a probability of about 50.8% (SIAM Review, 2007). That is tiny, but a digital flip has no such bias. For a decision between two options, flipping online is as fair as it gets.

For more than two options use spin the wheel, for numbered choices the random number generator, and for a yes or no with a spinning wheel try yes or no wheel.

Related tools

Coin flip FAQ

Is this online coin flip really random?

Yes. Each flip uses the secure random number generator built into your browser (crypto.getRandomValues), so heads and tails each have a 50% chance. The animation never changes the result.

Can I call heads or tails before flipping?

Yes. Choose Heads or Tails under Call it first, flip, and the result says whether you won or lost.

How many coins can I flip at once?

Up to 1,000. You get the number of heads and tails, the longest streak and the whole sequence, which you can copy.

Why do I get so many heads or tails in a row?

Streaks are a normal feature of random sequences. In 100 flips the longest streak of the same side is typically around 7, and a run of 5 is common.

Does a streak make the next flip more likely to switch?

No. A fair coin has no memory, so the next flip is always 50/50. Thinking otherwise is the gambler's fallacy.

Is a real coin toss fair?

Almost. Research by Diaconis, Holmes and Montgomery found a physical coin lands on the side it started on about 50.8% of the time. A digital flip has no such bias.

Is anything stored or sent?

No. The flip runs in your browser, and the history exists only on this page until you close it.

Missing something in the coin flip?Suggest an idea. It takes 20 seconds and we read every one.Suggest an idea

Sends only what you type here, never the text you work with. Your email is used only to reply about this idea.

Free online tools