Coin Toss Probability

In this lesson, you will learn

  • Why the probability of getting heads with a fair coin is 12, or 0.5
  • How to estimate a probability from your own tosses (relative frequency)
  • Why more tosses give an estimate closer to 0.5

Coin flip simulator

Coin toss probability is explored here with simulation. Use the simulator below to try the experiment. Click the “Flip coin” button as many times as possible in order to calculate the probability, or flip 10, 100 or 1,000 coins at once. After you have flipped the coin many times, you should get answers close to 0.5 for both heads and tails.

Ready to flip

    Tosses0
    Heads0
    Tails0
    P(heads) so far–

    Heads –50% markTails –

    Relative frequency of heads after each toss (dashed line: 0.5)

    Line chart of the relative frequency of heads after each toss, with a dashed line at 0.5

    Flip the coin to start. The line shows how the relative frequency of heads changes as you keep flipping.

    The probability of getting heads

    When asked the question, what is the probability of a coin toss coming up heads, most people answer without hesitation that it is 50%, 12, or 0.5.

    We get this probability by assuming that the coin is fair, or heads and tails are equally likely.

    Rule

    The probability for equally likely outcomes is:

    P(event) =Number of outcomes in the eventTotal number of possible outcomes
    Worked example: What is the probability of a fair coin toss coming up heads?
    1. For the coin, number of outcomes to get heads = 1
    2. Total number of possible outcomes = 2
    3. Thus, we get 12

    P(heads) = 12 = 0.5 = 50%

    A fair coin is tossed once. What is the probability of getting tails?

    Show answer

    12, or 0.5. Tails is 1 of the 2 equally likely outcomes.

    Relative frequency: estimating from tosses

    However, if you suspect that the coin may not be fair, you can toss the coin a large number of times and count the number of heads.

    Suppose you flip the coin 100 times and get 60 heads.

    Then you know the best estimate of the probability of getting heads is 60100 = 0.6.

    Definition

    This way of looking at probability is called the relative frequency estimate of a probability.

    Relative frequency of heads =Number of headsNumber of tosses
    Common mistake

    Expecting exactly half heads in a few tosses. Getting 7 heads in 10 tosses does not prove a coin is unfair: with so few tosses, results jump around a lot. You need many tosses before the relative frequency settles down.

    You toss a coin 50 times and get 18 tails. What is the relative frequency of tails?

    Show answer

    0.36. 1850 = 0.36.

    More tosses bring you closer to 0.5

    The interesting thing with this is that the more you flip a fair coin, the closer you tend to get to 0.5.

    If you have a computer, you can simulate coin toss probability with different numbers of coin tosses, the result might be a table like this.

    Number of tossesNumber of headsProbability to get heads
    410.25
    100560.56
    1,0005100.510
    10,0004,9880.4988

    Notice that for 10,000 flips, the probability is close to 0.5.

    Remember

    A few tosses can give almost any result. Thousands of tosses give a relative frequency close to the true probability. Try it in the coin flip simulator: flip 1,000 at a time and watch the line settle near 0.5.

    Ana tosses a fair coin 20 times. Ben tosses it 2,000 times. Whose relative frequency of heads is more likely to be close to 0.5?

    Show answer

    Ben’s. The more tosses, the closer the relative frequency tends to get to 0.5.

    Summary

    • For a fair coin, heads and tails are equally likely, so P(heads) = 12 = 0.5.
    • For equally likely outcomes, P(event) = number of outcomes in the event ÷ total number of possible outcomes.
    • The relative frequency estimate is number of heads ÷ number of tosses.
    • A small number of tosses can be far from 0.5; the more you toss a fair coin, the closer the relative frequency tends to get to 0.5.

    Test Yourself: 10-Question Quiz

    Now check what you learned. Every answer is explained, and each time you play you get new questions.

    Question 1 of 10Score: 0