Flip a Coin

Flip a fair virtual coin once or generate a batch of independent flips, with heads and tails counts.

Flip a best-of series · Flip for yes or no

Choose Flip coin to run the trial and see how many land heads or tails.

Choose 1–10,000 flips. Each flip is independent.

About this tool

Flip a coin once or run up to 10,000 independent flips. See the heads and tails totals, then copy or download the complete sequence. The default generates one flip, with no animation delay or forced balance.

Flip once or compare a batch

  1. Leave the count at 1 for one heads-or-tails result, or enter a larger batch.
  2. Select Flip coin for a new draw. Read the heads and tails totals above the sequence for a batch.
  3. Copy or download the results if you want to keep them. Another flip replaces the previous batch.

How the calculation works

One uniformly sampled random bit selects Heads or Tails. The chance of either side is 1/2 for each independent flip. For n flips, the expected heads count is n/2, but the actual count is random.

Worked example

Ten fair, independent flips have 2¹⁰ = 1,024 equally likely sequences. To get exactly 7 heads, choose which 7 of the 10 positions hold heads. There are C(10, 7) = 120 ways, so the chance is 120/1,024 = 15/128 (about 11.72%). One particular sequence, such as HHHHHHHTTT, has a chance of 1/1,024. In 10,000 flips the expected number of heads is 5,000. A trial with 5,038 heads would have 4,962 tails and 50.38% heads. The next flip still has a 50% chance of heads.

Check 10 choose 7 in the combination calculator

Flip a coin best of 3, 5 or 7

Assign one choice to heads and the other to tails. Best of 3 goes to the first side with two wins. Best of 5 needs three, and best of 7 needs four. Each flip is independent, and the series ends as soon as either side reaches the required wins.

Best-of coin flip

Flip a coin for yes or no, or two choices you enter

Heads means Yes and tails means No by default. To decide between two other options, replace the labels before you flip. Each label still has a 50% chance.

Choices for heads and tails

Coin flip experiment: seven heads or one exact order?

Try the six questions with a fair coin, or set the coin simulator to 10 flips. The printable activity has two A4 pages: a worksheet with a batch record, followed by a worked answer key.

Download the coin flip worksheet and answer key (PDF)

  1. Choose your sequence before you flip

    Write one order of ten flips containing exactly seven H and three T. H means heads and T means tails. Keep this prediction for all three batches.

    Show worked answer: choose your sequence before you flip

    One possible prediction is HHHHHHHTTT. Any one order containing seven H and three T works. Pick it before flipping so you can test that same prediction each time.

  2. Collect three batches of ten

    Flip a fair coin ten times, or set Number of flips to 10 and select Flip coin. Record the order. Repeat twice, marking both matches separately each time.

    Batch record to copy on paper
    BatchOrder of ten flips (H or T)HeadsSeven heads?Exact order?
    1
    2
    3
    Show worked answer: collect three batches of ten

    For the prediction HHHHHHHTTT, three example orders are HHHHHHHTTT (7 heads, yes/yes), HHTHHHTHTH (7, yes/no) and THTHTHTHTH (5, no/no). The first flag asks about seven heads; the second asks about your exact order. Your results may differ.

  3. Read one batch

    Suppose a batch has seven heads. What fraction of its flips were heads? Does that fraction give the probability that a new batch will have exactly seven heads?

    Show worked answer: read one batch

    Seven of its ten flips were heads: 7/10, or 70%. That describes one observed batch. To find the chance of exactly seven heads in a new batch, count all the ten-flip orders with seven heads.

  4. Find the chance of your exact order

    Each flip is independent. How many ten-flip orders are possible? How many match the one order you wrote before flipping?

    Show worked answer: find the chance of your exact order

    Each of ten positions has two choices, giving 2 to the power of 10 = 1,024 equally likely orders. Only one is your prediction, so its chance is 1/1,024 (about 0.098%).

  5. Find the chance of exactly seven heads

    Which three positions could hold the tails? Count the possible sets of three positions. Use that count to find the probability of exactly seven heads in any order.

    Show worked answer: find the chance of exactly seven heads

    Choose 3 of 10 positions for tails. There are (10 x 9 x 8) / (3 x 2 x 1) = 120 choices; the other positions are heads. The chance is 120/1,024 = 15/128, about 11.72%.

  6. Compare class results and predict one more flip

    Pool the class batches. For each match column, divide its yes count by the total number of batches. Must these frequencies equal the theoretical probabilities? After three heads in a row, what is the chance of heads next?

    Show worked answer: compare class results and predict one more flip

    Use the number of batches as the denominator for both match rates. Finite class results can differ from 1/1,024 and 15/128, even with zero matches. After three heads, the next fair, independent flip still has a 1/2 chance of heads.

Assumptions and limitations

This is a fair virtual two-sided coin, not a physical coin simulation. Batches contain 1–10,000 flips. For batches of 2 to 1,000 flips, the table shows the complete sequence. For larger batches it previews the first 100 and the totals cover the full batch. Browser cryptographic randomness supplies the draws; results are not seeded, stored or reproducible from a share link.

Flip again for a new independent batch. Copy the sequence or download CSV to retain a record. A share link contains only the number-of-flips setting. This tool provides no certified draw, witness record or proof for a prize or gambling system.

Sources and editorial responsibility

Maintained by Renvoro Pty Ltd. Sources inform the methods and assumptions shown here; outputs have the limitations described on this page.

Common questions

Is the next flip affected by previous results?

No. Every flip has the same 50/50 chance. A run of heads does not make tails due.

Why is my batch not half heads?

Equal probability is a rule for each draw, not a requirement to balance a finite batch.

Can I replay a shared result?

No. Sharing retains settings only; generating always makes new draws.

Guide updated 2026-11-21. Calculation method and source dates remain separate.

Method reviewed 2026-11-07. Calculation standards · Report an issue