Random tool · Free · No sign-up
Flip a Coin
To flip a coin online, press Flip, tap the coin or press the Space bar. Each flip is decided by your browser’s cryptographic random source at the moment you press, so heads and tails are exactly 50% each, and the spin is only for show. You can flip up to 100 coins at once or play best of 3.
Nothing is sent anywhere, and it works offline.
- Flips
- 0
- Heads
- 0
- Tails
- 0
- Current streak
- –
- Longest streak
- –
- Heads share (95% range)
- –
The odds of your longest streak appear from the second flip.
The fairness check starts at 20 flips.
History, 10,000 flips and settings
The last 100 flips, newest first
- No flips yet.
10,000 flips at once
Draws 10,000 fair flips in one go and plots the share of the first side as they add up. It does not change your tally.
Hand-caught demo on: the coin lands on the side it was showing 50.8% of the time and on its edge about once in 6,000 flips, as a real coin does. Untick it for a fair coin.
Each flip is decided by your browser’s cryptographic random source, crypto.getRandomValues, at the moment you press; the spin is for show, and holding the button changes nothing. Nothing is sent anywhere.
Pick what the coin says, how many coins to flip and whether to play a match, then flip. The tally under the coin keeps each side’s count, the longest streak and how unusual it is for that many flips, and from 20 flips it checks whether the results look like a fair coin.
A coin flip, or coin toss, settles a choice between two outcomes by throwing a coin and seeing which side lands face up. A fair coin gives each side a probability of exactly one half on every throw, whatever came before.
- No sign-up
- Nothing sent anywhere
- 50/50 by design
- Works offline
Key facts
| Detail | Answer |
|---|---|
| Chance of heads | 1 in 2 (50%) on every flip, whatever came before |
| 5 heads in a row | 1 in 32 (3.125%) for the next five flips |
| 10 heads in a row | 1 in 1,024 (about 0.098%) |
| Longest streak in 100 flips | 6.98 of the same side on average; 7 or more happens 54.2% of the time |
| A real, hand-caught coin | Lands on the side it started on 50.8% of the time, over 350,757 recorded flips |
| A coin on its edge | About 1 in 6,000 for a US nickel, from a physics model |
| Heads and tails | Heads is the obverse, the front of a coin; tails is the reverse, the back |
| Random source | crypto.getRandomValues, one byte per coin; never Math.random |
How to flip a coin online
Six steps; the result is fixed the moment you press.
Choose what the coin says
Heads and tails, yes and no, stay and go, 1 and 2, or two labels of your own.
Choose how many coins
One, or up to 100 at once. With more than one, the board gives the chance of the count you got.
Choose a match if you want one
Best of 3, 5 or 7, with a name for each caller. The board keeps the score and says who won.
Flip
Press Flip, tap the coin or press the Space bar. Holding the button longer changes nothing.
Read the tally
Each side’s count, the current and longest streak with its odds, and from 20 flips a check on whether the split looks fair.
Keep or share it
Copy the history, download it as a CSV file, or copy a link that opens the same coin.
What people flip a coin for
A coin is the oldest fair way to settle a two-way choice: nobody can predict it, and everyone can see it.
Who kicks off or serves first
Most sports start with a toss. The cricket score counter and the tennis score counter both start from its result.
Two options, no preference
This film or that one, pizza or curry. Many people find they know what they wanted the moment the coin lands. For staying or leaving, the stay or go coin asks how the answer felt.
Who goes first in a game
Board games, card games and matches: one flip, or best of 3 when the loser asks for another go.
A streak game
How many in a row can you hit? The luck test counts the streak and shows how rare it is.
Testing a hunch
Call a side before each flip and see whether you beat chance: guess heads or tails scores your calls over 10 to 100 rounds.
Teaching probability
Flip 10 coins at once and compare the count with the odds on the board, or run 10,000 flips and watch the share settle near 50%. To check the exact chance of any count or run, use the coin flip probability calculator.
A yes or no answer
Set the coin to Yes / No and ask, or use the yes or no generator, which adds Maybe. To count yes and no answers from people, use the yes/no counter.
1 or 2, and beyond
The 1 / 2 coin settles which of two; for more choices the random number generator draws from any range.
Is an online coin flip fair? How this one decides
An online coin is only as fair as the way it decides. This one takes one random byte per coin from crypto.getRandomValues, the browser’s cryptographic random source, and reads its last bit: 0 gives the first side and 1 the second. A byte has 256 equally likely values, 128 of them even and 128 odd, so each side has a chance of exactly one half, with no rounding and nothing to correct.
The result is fixed the moment you press, before the coin starts to turn. The spin, how long you hold the button and how fast you tap are all for show; there is no starting side and no throw to get right. The W3C’s Web Cryptography API specifies that the method “generates cryptographically strong random values”, and MDN describes Math.random, which many simple flippers use, as “a non-cryptographic source of random numbers”. This page never calls Math.random. The guide to Math.random against crypto.getRandomValues sets out what each promises.
| Part of the flip | What decides it |
|---|---|
| Which side lands | One bit of crypto.getRandomValues, read at the press |
| The spin and how long it lasts | Animation only: the result is already set |
| Holding or tapping the button | Ignored: a press is a press |
| Earlier flips | Ignored: every flip is independent |
| More than one coin | One byte per coin, each read the same way |
Fair does not mean even. A fair coin flipped 100 times lands on exactly 50 heads only 7.96% of the time, and streaks of six or seven are normal. The tally under the coin shows how likely your own split and your own longest streak are, so a run of tails can be checked rather than suspected.
Is a real coin flip 50/50?
Nearly, and the reason is physics rather than the coin. Persi Diaconis, Susan Holmes and Richard Montgomery modelled a flipped coin as a spinning, precessing disc and concluded that “vigorously flipped coins tend to come up the same way they started”, with the chance of landing on the starting side about .51 (Dynamical Bias in the Coin Toss, SIAM Review, 2007).
In 2023 a team led by František Bartoš put it to the test: 48 people flipped coins of 44 currencies 350,757 times and recorded the side each coin started on. It landed on its starting side 50.8% of the time (95% interval 50.6% to 50.9%), while heads against tails overall stayed at 50.0% (Fair coins tend to land on the same side they started, arXiv:2310.04153). Their advice for a fair toss: “the starting position of the coin is best concealed”. The spread between flippers and why the bias took so many flips to see are in the guide is a coin flip really 50/50?
| This coin | A real coin | |
|---|---|---|
| Chance of each side | 50% exactly | 50.0% heads, 50.0% tails over 350,757 flips |
| Lands on the side it started on | There is no starting side | 50.8% of the time |
| Depends on how it is thrown | No | Yes: a spun coin can be far from fair |
| Can land on its edge | No, unless the demo is on | About 1 in 6,000 for a US nickel (model) |
Spinning a coin on a table is worse than flipping it. Diaconis and his co-authors report class data from Berkeley in which spun pennies showed a pronounced proportion of tails, some under 10% heads, because a real coin’s weight is not perfectly even. Catching a flip in the air, with the starting side hidden, is the fair way with a real coin.
To see the difference, open History, 10,000 flips and settings under the coin and tick Behave like a hand-caught coin. The coin then lands on the side it was showing 50.8% of the time and on its edge about once in 6,000 flips. It is not a fair coin, the board says so, and it is off until you tick it.
How rare is a streak of heads? The exact odds
The chance of a streak depends on how many flips it has to turn up in, which is why the familiar 1 in 32 for five heads in a row answers a narrower question than most people ask. 1 in 32 is the chance that the next five flips are all heads. A streak of five or more of the same side somewhere in 20 flips happens 45.8% of the time, and in 100 flips 97.2%.
| Flips | 4 or more | 5 or more | 6 or more | 7 or more | 8 or more |
|---|---|---|---|---|---|
| 10 | 46.5% | 21.7% | 9.4% | 3.9% | 1.6% |
| 20 | 76.8% | 45.8% | 23.7% | 11.5% | 5.4% |
| 50 | 98.1% | 82.1% | 54.4% | 30.9% | 16.2% |
| 100 | >99.9% | 97.2% | 80.7% | 54.2% | 31.5% |
These figures are exact: they come from counting every possible sequence with a running record of the current streak, not from a simulation. The longest streak grows with the logarithm of the number of flips, as Wolfram MathWorld’s entry on runs sets out. On average the longest same-side streak is 3.66 in 10 flips, 4.66 in 20 and 6.98 in 100.
Counting one side only gives lower odds, because a streak of tails no longer counts: five or more heads in a row somewhere in 100 flips happens 81.0% of the time, and seven or more 31.8%.
A streak does not change the next flip. After seven heads the eighth is still 50/50, and expecting tails to be “due” is the gambler’s fallacy. Streaks also mislead in a subtler way: Joshua Miller and Adam Sanjurjo showed that in a short run of fair flips, the share of heads that follow a streak of heads is on average below one half, a selection effect that had misled researchers studying streaks (Econometrica, 2018). To watch the odds fall flip by flip, the luck test shows the chance of each streak under every slot, for any other flip count or run length the coin flip probability calculator gives the exact answer, and to score a hunch about the next flip against these odds, guess heads or tails gives the exact chance that a pure guesser does as well.
Flipping many coins: what the spread should look like
With more than one coin, the number of heads follows the binomial distribution: for n fair coins, the chance of exactly k heads is the number of ways to choose k coins from n, divided by 2n. The mean is n/2 and the standard deviation √n/2 (NIST/SEMATECH e-Handbook, binomial distribution).
| Heads | Chance |
|---|---|
| 0 | 0.098% |
| 1 | 0.98% |
| 2 | 4.39% |
| 3 | 11.7% |
| 4 | 20.5% |
| 5 | 24.6% |
| 6 | 20.5% |
| 7 | 11.7% |
| 8 | 4.39% |
| 9 | 0.98% |
| 10 | 0.098% |
For 100 coins the spread narrows in proportion: exactly 50 heads happens 7.96% of the time, 45 to 55 heads 72.9% and 40 to 60 heads 96.5%. The board under the coin gives the exact chance of the count you got and the likeliest count, so 62 heads in 100 can be judged on the spot: 62 or more heads, or 62 or more tails, happens about 2.1% of the time with fair coins.
The US Mint’s coin game for children puts the long-run rule simply: “The more you flip a coin, the closer you will be towards landing on heads 50%”. Run 10,000 flips under the coin to watch it happen: the share wanders early, then settles near 50%. The share settles; the gap between the number of heads and the number of tails does not, and usually grows as the flips go on.
Best of 3, best of 5: is it still fair?
Yes. Each flip is fair and the rules are the same for both callers, so each has exactly a 50% chance of winning best of 3, best of 5 or best of 7. What changes is how long it takes and how often a single lucky flip decides it.
| Match | Wins needed | Chance for each caller | Average flips | Most flips |
|---|---|---|---|---|
| Single flip | 1 | 50% | 1 | 1 |
| Best of 3 | 2 | 50% | 2.5 | 3 |
| Best of 5 | 3 | 50% | 4.13 | 5 |
| Best of 7 | 4 | 50% | 5.81 | 7 |
Name the callers before the first flip. The board records who called which side, so nobody can change a call after a bad first flip. A match ends as soon as one caller has the wins they need, and the next flip starts a new match.
Yes or no, stay or go, 1 or 2, and your own coin
Any two-way choice fits on a coin. The presets relabel the two sides; the chance stays exactly 50% each.
Yes or no
Ask the question, then flip the Yes / No coin. The yes or no generator does the same with your question shown, an exact Maybe and a note on what your reaction to the answer means. To count yes and no answers from a group of people rather than let chance answer, the yes/no counter tallies them with the split.
Stay or go
The stay or go coin puts the choice and your reaction on one card. The economist Steven Levitt invited people stuck on a big decision to let a coin decide. Those whose coin said to make the change were more likely to make it, and reported being happier six months later, which led him to suggest that “people may be excessively cautious when facing life-changing choices” (NBER Working Paper 22487). A coin can also work as a test of what you want: a study in PLOS ONE found that flipping strengthens people’s feelings about the options, which then guide the choice (Jaffé, Reutner and Greifeneder, 2019). It cannot weigh what is at stake, and for a decision about safety, health or money, talk it through with someone you trust.
1 or 2
A coin labelled 1 and 2 is a two-sided die: who goes first, which of two teams, which of two tasks. For more sides, the dice roller rolls a d3, a d6 or a d20 with the odds shown (the d20 roller adds advantage and the DnD dice roller the fifth-edition rules); the 3D dice roller throws up to six six-sided dice that tumble on screen and roll two dice throws a pair and flags doubles; the d100 roller reads a tens die and a ones die as 1 to 100; the random number generator draws from any range without bias, and the random picker chooses from a list of names. For cards rather than a coin, the yes or no tarot, the one card tarot and the daily tarot draw from a fair shuffle of all 78 cards.
Your own coin
Choose Your own and type two labels of up to 20 characters: two names, two films, two routes home. Copy link to this coin gives an address that opens the same coin for someone else. A shared result cannot prove how it was flipped, so for a call that matters between two people, flip together, in the room or on a video call.
Heads or tails: which side is which, and can a coin land on its edge?
On a real coin, heads is the obverse and tails the reverse. The US Mint’s guide for children puts it plainly: “Obverse (heads) is the front of the coin and the reverse (tails) is the back” (Parts of a Coin). The obverse usually carries the portrait or the main design. The rim is the raised border on each face, and the edge is the outer side, which can be smooth, reeded or lettered.
A coin can land on its edge, though rarely. Daniel Murray and Scott Teare modelled a tossed US nickel and estimated about one landing on its edge in 6,000 tosses, a model they checked against experiment (Physical Review E, 1993). A thicker coin lands on its edge more often. The coin on this page has no edge to land on, unless the hand-caught demo is switched on.
Sources
Each source was opened and checked on 19 November 2026.
- Bartoš F. et al., “Fair coins tend to land on the same side they started: Evidence from 350,757 flips”, arXiv:2310.04153 (2023, revised 2025)
- Diaconis P., Holmes S. and Montgomery R., “Dynamical Bias in the Coin Toss”, SIAM Review 49(2), 2007 (PDF)
- Murray D. B. and Teare S. W., “Probability of a tossed coin landing on edge”, Physical Review E 48, 2547 (1993)
- W3C, Web Cryptography API: getRandomValues
- MDN Web Docs, Crypto: getRandomValues() method
- NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.6.6.18 Binomial Distribution
- U.S. Mint for Kids, Parts of a Coin
- U.S. Mint for Kids, Flipping Out for Coins
- Wolfram MathWorld, Run
- Levitt S. D., “Heads or Tails: The Impact of a Coin Toss on Major Life Decisions and Subsequent Happiness”, NBER Working Paper 22487 (2016); Review of Economic Studies 88(1), 2021
- Jaffé M. E., Reutner L. and Greifeneder R., “Catalyzing decisions: How a coin flip strengthens affective reactions”, PLOS ONE 14(8), 2019
- Miller J. B. and Sanjurjo A., “Surprised by the Hot Hand Fallacy? A Truth in the Law of Small Numbers”, Econometrica 86(6), 2018
This coin flip or a typical coin flipper
What this coin adds to a typical online coin flipper.
| This coin flip | A typical coin flipper | |
|---|---|---|
| How the side is decided | One bit of crypto.getRandomValues, stated | Usually not stated |
| Hold time or swipe changes the result | Never | Some flippers time the press |
| Streak odds | Exact, for the number of flips made | None, or 1/2k |
| Coins at once | 1 to 100, with the odds of the count | Usually 1 |
| Best of 3, 5 or 7 with named callers | Yes | Sometimes |
| Check on your own flips | From 20 flips, exact binomial | No |
| Sign-up to save settings | None: kept in this browser | Sometimes needed |
| Your flips leave the browser | Never | Often, for global counters |
More random tools
Every random tool on the site runs in your browser, needs no sign-up, and sends nothing anywhere.
Coins & yes or no1
A fair coin and the choices it settles, 50/50 by design, with the odds of every streak shown.
All 6 random tools, by category: Coins & yes or no (2) · Dice (2) · Cards & draws (1) · Numbers & picks (1)
Frequently asked questions
Is this coin flip really 50/50?
Yes. Each coin takes one random byte from crypto.getRandomValues, the browser’s cryptographic random source, and reads its last bit. A byte’s 256 values split exactly into 128 even and 128 odd, so each side has a chance of exactly one half, with nothing rounded. Earlier flips have no effect on the next.
Does holding the button or flipping harder change the result?
No. The result is drawn the moment you press, before the coin starts to turn, and nothing about the press is used: not how long you hold it, not how fast you tap, not which side is showing. The spin is animation only. With reduced motion set on your device, the coin simply shows the result.
What are the odds of getting 10 heads in a row?
1 in 1,024, about 0.098%, for ten particular flips. In a longer run it is far likelier to turn up somewhere: a streak of ten or more of the same side happens in 8.7% of runs of 100 flips and 62.4% of runs of 1,000. Twenty heads in a row is 1 in 1,048,576.
Is a real coin toss fair?
Almost. In 350,757 recorded flips by 48 people, a caught coin landed on the side it started on 50.8% of the time, while heads and tails overall split 50.0% each. Diaconis and colleagues explain the slight bias with the physics of a spinning coin. Hide the starting side, or use a virtual coin, for an even call.
Can a coin land on its edge?
Yes, rarely. A physics model of a tossed US nickel, checked against experiment, gives about one landing on its edge in 6,000 tosses (Murray and Teare, 1993), and thicker coins land on edge more often. The coin on this page cannot land on its edge unless you switch on the hand-caught demo.
What's the difference between a coin toss and a coin flip?
None in practice: both mean throwing a coin into the air to let it decide between two outcomes, and the odds are the same, one half for each side. Sports rules tend to say toss, as in the toss before a cricket match, while everyday speech and online tools more often say flip.
What does best of 3 mean, and is it fair?
Best of 3 means the first caller to win two flips wins the match, so it takes two or three flips. It is exactly as fair as a single flip: each caller wins with probability one half. Best of 5 needs three wins and best of 7 four; they take longer, and no single lucky flip decides them.
Why did I get so many heads in a row?
Because streaks are normal. In 100 fair flips a streak of six or more of the same side happens 80.7% of the time, and the average longest streak is about seven. The tally under the coin gives the chance of your own longest streak for the number of flips you have made, and the next flip is still 50/50.
Related guides
Longer answers to the questions behind the numbers.
- Chance
Is a coin flip really 50/50?
A hand-flipped coin landed on the side it started on 50.8% of the time over 350,757 flips. The figures, why the bias is real but small, and the one fix the authors give.
- Random
Math.random vs crypto.getRandomValues
What each function promises in the spec, why Math.random is not biased but is predictable, why getRandomValues is itself a seeded generator, and the modulo mistake that makes picks unfair with either.
- Chance
The gambler's fallacy and coin-flip streaks
A streak of heads never makes tails due. The exact odds, how long a run to expect, the 1913 roulette run, what asylum judges and umpires did, and when a streak is real evidence.
- Surveys
How many people do you need to survey?
Why 385 answers a city and 45 answers a club, and the margin each sample size buys.