Coin Flip
Press the button to flip a coin and get heads or tails. Flip up to 10,000 coins at once to see how many came up heads, the longest streak and the order they fell in. A second panel works out the exact odds: the chance of a streak of a given length somewhere in a number of flips, and the chance of exactly or at least a number of heads. Every flip is fair and runs in your browser.
- A streak of 5 or more of the same side somewhere in 100 flips: 97.17%
- A streak of 5 or more heads in a row: 81.01%
- Exactly 60 heads in 100 flips: 1.08%
- 60 or more heads in 100 flips: 2.84%
Each flip uses one random bit from your browser's secure random number generator, so heads and tails are exactly equally likely and a flip never depends on an earlier one. A fair coin has no memory: after five heads in a row, the next flip is still 50 percent heads. Long streaks are more common than most people expect, and the odds above show how common. They are exact: every possible sequence of flips is counted, using whole numbers of any size, with no simulation and no rounding until the percentage is shown. The tally is kept only while the page is open. Everything runs in your browser and nothing is sent anywhere.
Related Tools
[6 suggestions]Random Number Generator
Pick random numbers between any minimum and maximum, with decimals, no repeats and sorting. Every value is equally likely.
Writing & ContentDice Probability Calculator
Find the exact odds for any dice roll, including keep highest, keep lowest, advantage and 4d6 drop lowest, with a full table and a roll button.
Student ToolsBinomial Probability Calculator
Find the chance of exactly, at most or at least k successes in n trials, with the mean, standard deviation and a chart of the whole distribution.
Math & MoneyRandom Name Picker and Team Generator
Pick random winners from a list of names, shuffle a list into a random order, or split people into fair random teams, using your browser's secure random generator.
Line & ListsExpected Value Calculator: Average Outcome, Variance and Standard Deviation
Enter outcomes and their probabilities to find the expected value, variance, standard deviation and chance of a gain, with a cost to play and weights mode.
Student ToolsBirthday Paradox Calculator: Chance of a Shared Birthday or Collision
Find the chance that two people in a group share a birthday, how many people give a 50, 90 or 99 percent chance, and the same maths for hashes and random IDs.
Student ToolsAbout the Coin Flip
Each flip uses one random bit from your browser's secure random number generator, so heads and tails are exactly equally likely and no flip depends on an earlier one. A fair coin has no memory: after five heads in a row the next flip is still 50 percent heads. That does not mean streaks are rare. The odds panel counts every possible sequence of flips with whole numbers of any size and gives exact answers, with no simulation. Five heads in a row from five flips is 1 in 32, or 3.125 percent, because there are 32 equally likely sequences of five flips and only one is all heads. But in 100 flips there is a 97.2 percent chance of a streak of five or more of the same side somewhere, and about a 54.2 percent chance of a streak of seven or more. Exactly 50 heads in 100 flips happens only about 7.96 percent of the time, and 60 or more heads happens about 2.84 percent of the time. These numbers are why a run of heads feels unlikely when it is not, and why a perfectly even split is rarer than people expect. The tally counts every flip since you opened the page and is not saved. For many flips, the list of results shows the first 400 in order. Everything runs in your browser and nothing is sent anywhere.
Is the coin flip fair?▾
Yes. Each flip uses one random bit from your browser's secure random number generator, so heads and tails each have a probability of exactly 1 in 2, and one flip does not affect the next.
What is the chance of five heads in a row?▾
For five flips, it is 1 in 32, which is 3.125 percent. But the chance of a streak of five or more of the same side somewhere in 100 flips is about 97.2 percent, because there are many places for a streak to start.
Why does a long streak not mean the coin is unfair?▾
Because long streaks are normal in random data. In 100 fair flips, a streak of seven or more of one side shows up about 54.2 percent of the time. The odds panel on the page works out the exact chance for any number of flips.
How likely is an exactly even split?▾
Less than people expect. Exactly 50 heads in 100 flips happens about 7.96 percent of the time. A split of 60 heads or more happens about 2.84 percent of the time.
Does a coin remember its last flip?▾
No. After any number of heads in a row, the next flip of a fair coin is still 50 percent heads. The belief that tails is due is called the gambler's fallacy.
Are my flips saved or sent anywhere?▾
No. The tally lives in the page while it is open and is not saved or uploaded.