decider.click

Free tool

Coin Flip Probability Calculator

Work out the exact odds of any number of heads, or of a streak, in up to 1,000 fair coin flips. Then run the experiment and see how close reality gets.

Chance of a number of heads

24.61%

Exactly 5 heads in 10 flips: about 1 in 4.06.

Chance of a streak

54.61%

At least 6 heads in a row somewhere in 100 flips.

Test it: simulate the flips

·

Simulated flips use your browser's cryptographic randomness.

The formula behind coin flip probability

Each flip of a fair coin has two equally likely outcomes, so a sequence of n flips has 2n equally likely sequences. Ten flips give 1,024 possible sequences. To find the chance of exactly k heads, count how many of those sequences contain exactly k heads and divide by the total.

That count is the binomial coefficient, written C(n, k) and read "n choose k". The full formula is P = C(n, k) / 2^n. For exactly 5 heads in 10 flips, C(10, 5) is 252, so the probability is 252 / 1,024, or about 24.6%. "At least" and "at most" simply add up the exact probabilities for every count in the range. The calculator above does this precisely for up to 1,000 flips.

Worked examples

QuestionProbability
Exactly 5 heads in 10 flips24.6% (about 1 in 4)
At least 8 heads in 10 flips5.5% (about 1 in 18)
Exactly 50 heads in 100 flips7.96% (about 1 in 12.6)
Between 40 and 60 heads in 100 flips96.5%
At least 60 heads in 100 flips2.8% (about 1 in 35)
10 heads in 10 flips0.098% (1 in 1,024)

Notice the 50 heads in 100 flips result. Fifty is the most likely single count, yet you will hit it exactly less than one time in twelve. What you can count on is landing close to 50, which is the law of large numbers in action: the more you flip, the closer the share of heads gets to half, even though the exact count wanders.

Streaks are more common than you think

Most people badly underestimate streaks. In 100 flips, there is about a 55% chance of seeing at least 6 heads in a row somewhere, and about an 81% chance of a run of 6 or more of the same side. Even 7 in a row of either side turns up more often than not. When someone shows you a "suspicious" streak in a long run of coin flips, the streak calculator usually reveals it is perfectly ordinary.

This is why the gambler's fallacy is so persuasive. After five tails, heads feels "due". It is not. The coin has no memory, and the next flip is 50/50 every time. The streak was likely all along; it just happened to show up now.

Using this in a probability lesson

The three tools on this page work as a short lesson on their own. Ask students to guess the chance of exactly 50 heads in 100 flips; most will say something like 50%. Calculate it, then use the simulator to run 100 flips a few times and record the head counts. Students see for themselves that results cluster near 50 without often hitting it exactly. Repeat with the streak calculator and ask whether a run of 6 heads is "lucky". For a quicker hands on version, the yes or no coin flip keeps a live tally, and the coin flip simulator can flip 100 times at once. To compare experimental and theoretical probability for coins, dice and a spinner in one live table, with a printable worksheet, use the experimental probability simulator.

Common questions

How do you calculate the probability of getting heads in coin flips?

For exactly k heads in n flips of a fair coin, the probability is C(n, k) divided by 2 to the power n, where C(n, k) is the number of ways to choose which k flips are heads. For example, exactly 5 heads in 10 flips is 252 divided by 1,024, which is about 24.6%.

What are the odds of getting exactly 50 heads in 100 flips?

About 7.96%, or roughly 1 in 12.6. Even though 50 is the single most likely result, there are so many other close outcomes that a perfect 50/50 split is fairly rare. Getting between 40 and 60 heads is about 96.5% likely.

What are the chances of 10 heads in a row?

If you flip exactly 10 times, the chance that all 10 are heads is 1 in 1,024, about 0.098%. Over a longer run of flips the chance of a 10 heads streak appearing somewhere is much higher, which the streak calculator on this page works out for you.

Does a streak of tails make heads more likely?

No. Each flip is independent, so the next flip is always 50/50 no matter what came before. Believing otherwise is called the gambler's fallacy.

Can teachers use this calculator in class?

Yes. Students can predict an answer, check the exact probability, then use the simulator to run the experiment and compare what happens with what the maths says. It is free, has no sign up, and nothing is sent to a server.

Try other decision tools

Coin flip simulator

Flip once, or 100 or 1,000 times in one press.

Experimental probability simulator

Coin, dice and spinner trials against theory.

Yes or no coin flip

A coin with YES and NO instead of heads and tails.

Is a coin flip actually 50/50?

What 350,757 real tosses showed.