Coin Toss

Flip a virtual coin for random heads or tails. Track statistics and history with bulk flip support.

🪙

💡 Fun fact: A fair coin has exactly 50% chance for heads or tails. Over many flips, the results should approach this ratio: this is the law of large numbers!

About Coin Toss

Simple and fun coin flipper for making random decisions. Features animated coin flip, statistics tracking, history of flips, and bulk flip options (up to 100 at once). See heads vs tails distribution over time.

Flipping a coin is the oldest form of binary randomness, and this tool recreates it accurately. Each flip calls the browser's built-in random number generator, which produces a uniform distribution across heads and tails - every flip is truly independent, so a run of ten heads does not make tails more likely on the next one.

Beyond single flips, you can select a batch size of 1, 5, 10, 25, 50, or 100 flips at once. Batch flips run all tosses in one go and add each result to a running history. The statistics panel then shows the heads count, tails count, and a two-tone distribution bar so you can visually track how close the running ratio is to the theoretical 50/50 split - which is the law of large numbers at work over time.

The history holds up to the last 100 flip results, displayed as H and T chips with colour coding (gold for heads, silver for tails). Your chosen flip count persists between sessions so your preferred setting is ready on the next visit. Results are generated locally and never sent anywhere.

How to use the Coin Toss
  1. 1

    Choose a flip count

    Select how many coins to flip at once: 1, 5, 10, 25, 50, or 100. Single-flip mode shows the result on the large coin display.

  2. 2

    Click Flip Coin

    A one-second spin animation plays, then the result appears. Batch flips add all results to the history at once.

  3. 3

    Read the statistics

    The stats panel shows heads and tails counts, percentages, and a distribution bar. Clear History resets the tally.

Common use cases

Quick binary decisions

Settle a heads-or-tails choice between two options without digging around for a physical coin.

Determining first turn in games

Fairly decide who goes first in a board game, card game, or sport when both players are remote.

Probability demonstrations

Run 100 flips and compare the observed ratio to 50% to show students the law of large numbers in action.

Random tie-breaking

Settle a split vote or equal-score situation with an impartial, unbiased single flip.

Frequently asked questions
Is the coin flip truly fair?

Yes. Each flip uses the browser's Math.random function, which produces a uniform distribution. The probability of heads is exactly 0.5 on every flip, regardless of previous results.

Does my flip history get saved if I refresh the page?

No. The history list lives only in the open session and resets on refresh. Your chosen flip count is saved between visits, but past results are not.

Can I flip more than 100 coins at once?

The current maximum batch size is 100 flips. The history panel stores up to the last 100 results across all batches.

Are my flip results private?

Completely. Coin flips are computed on your device and no result is sent to any server. Nothing is logged or tracked.

Why does the result look random when batches are large?

Each flip is drawn independently, so streaks are normal over small samples. The distribution bar converges toward 50/50 as total flips increase.

generator