Everyday utilities

Coin Flip

Coin Flip

Flip a fair virtual coin: heads or tails, one coin or several, with a tally.

About this tool

About Coin Flip

Settle it with a coin. Press Flip and the coin spins and lands on heads or tails, with exactly 50/50 odds drawn from your browser's cryptographic random generator rather than a predictable formula. Toss up to ten coins at once for probability lessons or games that need several flips, and watch the running tally show the share of heads converge towards 50% as the number of flips grows, a nice classroom demonstration of the law of large numbers. Use it to decide who kicks off, who goes first in a board game, which film to watch or any yes-or-no choice. The tally can be reset at any time, and the same page has a full dice roller for d4 to d100 and dice notation when you need more than two outcomes. Nothing is stored or uploaded.

Built and maintained by Abhi JainUpdated

How to Flip a Coin Online

  1. 1

    Choose the coins

    Pick how many coins to toss: 1, 2, 3, 5 or 10.

  2. 2

    Flip

    Press Flip. The result and the running tally appear immediately.

Coin Flip: questions and answers

Is the coin flip fair?

Yes. Each toss uses crypto.getRandomValues, so heads and tails are exactly equally likely and independent of previous flips.

Can I flip several coins?

Yes, up to ten at once. The tally counts every coin.

Why isn't my tally exactly 50%?

Random results vary in the short run. Over hundreds of flips the share of heads gets closer to 50%, but streaks are normal.

What are the odds of 5 heads in a row?

1 in 32 (0.5 to the power of 5), about 3%. Each flip is independent, so the next one is still 50/50.

More Dice Roller presets