Skip to content

Flip a Coin

Result —
First side count
—
Second side count
—
First side share
—
Longest run
—
Chance of this exact sequence
—

Flipping a fair coin gives heads or tails with a 50% chance each, and every flip is independent of the last. Flip it ten times and any exact sequence, such as ten heads in a row, has a chance of 1 in 1,024, or 0.0977%. This page flips one coin or a batch and tallies the results.

About this tool

A coin toss is the quickest fair way to settle a two-way choice: who serves first, which restaurant, who takes the first shift. This page flips a virtual coin once or up to 500 times in a batch. For a batch it counts each side, gives the share that landed on the first side, finds the longest run of the same face, and lists every flip with a running share so you can watch it drift toward 50%. You can rename the two sides, for example to two names or two options. The draws come from the browser's random number source, which is fair for everyday choices but is not a certified draw for regulated lotteries or gambling.

How to use it

  1. Set the number of flips

    Use the minus and plus buttons or type a count from 1 to 500.

  2. Name the sides

    Keep Heads and Tails or replace them with the two options you are choosing between.

  3. Read the tally

    The result shows the side for one flip, or the count of each side for a batch, with the longest run and a flip-by-flip table.

Examples

Ten flips in a row

Number of flips
10
First side name
Heads
Second side name
Tails

Result Result: 3 Heads, 7 Tails
First side count: 3
Second side count: 7
First side share: 30%
Longest run: 3 × Tails
Chance of this exact sequence: 0.0977%

  1. Each flip: P(Heads) = P(Tails) = 1/2 = 50%
  2. Chance of this exact sequence of 10 flips = 0.5^10 = 0.097656%
  3. Expected Heads = 10 × 0.5 = 5; you got 3

Every particular pattern of ten flips, including ten heads, has the same 1-in-1,024 chance.

One flip to settle a choice

Number of flips
1
First side name
Heads
Second side name
Tails

Result Result: Tails
First side count: 0
Second side count: 1
First side share: 0%
Longest run: 1 × Tails
Chance of this exact sequence: 50%

  1. Each flip: P(Heads) = P(Tails) = 1/2 = 50%
  2. Chance of this exact sequence of 1 flips = 0.5^1 = 50%
  3. Expected Heads = 1 × 0.5 = 0.5; you got 0

A single flip of a fair coin gives each side an even 50% chance.

How it is calculated

P(one side) = 1/2; P(a specific sequence of n flips) = (1/2)^n

n
number of flips
1/2
chance of either side on one fair flip

Each flip draws a random number between 0 and 1; below 0.5 is the first side, otherwise the second. Flips are independent, so the chance of any one exact sequence is one half multiplied by itself n times. The running share is the first-side count divided by the flips so far, and the longest run is the longest stretch of identical faces.

When not to use it

  • Regulated draws, raffles or gambling need an audited random source, not a browser page.
  • A choice between more than two options is better served by a dice roller or a name picker.

Common mistakes

  • Believing tails is due after a run of heads; the coin has no memory and each flip stays 50/50.
  • Reading a 6-to-4 split in ten flips as an unfair coin, when splits like that are common by chance.

Frequently asked questions

Is a virtual coin flip really 50/50?

Yes. Each flip compares a uniform random number with 0.5, so both sides have the same probability. Over hundreds of flips the share settles near 50%, though small batches often stray from it.

How likely is it to get five heads in a row?

For five flips the chance is (1/2)^5 = 1/32, about 3.1%. In a long batch, though, a run of five somewhere is quite likely; in 100 flips the longest run is usually around six or seven.

Does a long streak make the other side more likely next?

No. That belief is the gambler's fallacy. The coin has no memory, so the next flip is 50/50 no matter what came before.

Why is the chance of my sequence so small?

Every exact pattern of n flips has the same chance, (1/2)^n. With 20 flips there are over a million equally likely patterns, so any single one, including the one you got, is rare.

Can a real coin land on its edge?

It can, but for a standard coin it is extremely rare, estimated at roughly 1 in 6,000 for a US nickel. This virtual coin has only two outcomes.

Are real coin tosses perfectly fair?

Studies of human tosses find a slight bias toward the side facing up at the start, around 51%. A virtual flip has no starting face, so it avoids that bias.

Cite this tool

Using this tool in an assignment, article or report? Copy a citation, or a link for your website.

APA

Tools Directory Editorial Team. (2026, October 14). Flip a Coin. Tools Directory. Retrieved October 26, 2026, from https://tools.milunir.com/fun-random/pickers-wheels-and-dice/flip-a-coin/

MLA

Tools Directory Editorial Team. “Flip a Coin.” Tools Directory, 14 Oct. 2026, https://tools.milunir.com/fun-random/pickers-wheels-and-dice/flip-a-coin/. Accessed 26 Oct. 2026.

Chicago

Tools Directory Editorial Team. “Flip a Coin.” Tools Directory. Last modified October 14, 2026. Accessed October 26, 2026. https://tools.milunir.com/fun-random/pickers-wheels-and-dice/flip-a-coin/.

Link<a href="https://tools.milunir.com/fun-random/pickers-wheels-and-dice/flip-a-coin/">Flip a Coin – Tools Directory</a>