Skip to content

Flip a coin

Tap the coin and see if it lands heads or tails. Both have the same chance.

Drawn with crypto.getRandomValues, with rejection sampling so every outcome has the same chance.

Heads
0
Tails
0
Flips
0

Guide and details

Heads or tails, drawn at exactly even odds by your browser’s crypto generator before the coin turns.

A silver-coloured coin with a star in relief, tilted in mid-air above its shadow on a white surface

A fairer flip than a real coin

A real coin is close to fair, not exactly fair. A 2023 study that recorded 350,757 flips by hand found the coin landing on the side it started from about 50.8% of the time, as the mathematician Persi Diaconis had predicted years earlier: a tossed coin wobbles, and spends slightly longer with its starting side up.

The coin on this page has no starting side. The result is one draw between two values with equal probability, made by the browser’s cryptographic generator before the animation begins. The coin then makes the same four turns every time and stops on the face that was drawn.

Streaks are normal

The counter beside the coin shows heads, tails and the current streak. Long streaks feel suspicious and are not. Any five flips in a row all land the same way one time in sixteen, and in a hundred flips a streak of six or seven is expected.

What a streak never does is change the next flip. After nine heads, the tenth is still an even bet.

When a coin is the right tool

Two options, both acceptable, nobody willing to choose. If there are more than two options use the wheel; if the options are not equally acceptable, the decision matrix will serve you better than chance.

Why use Choose Tools

  • One source of randomness

    Every draw calls crypto.getRandomValues and throws away the values that would cause modulo bias. A test fails if Math.random ever appears in the source.

  • The result comes first

    The wheel, the coin and the dice pick the outcome before they move. The animation always has the same length and only shows what was drawn.

  • A receipt you can recompute

    Wheel and name-picker winners are derived from a 256-bit seed with SHA-256. The Verify page repeats the calculation and compares.

  • Lists stay on your device

    They are kept in local storage. Shared links carry the list after the #, which browsers do not send to servers. There is no account.

  • Quiet by default

    Sound is off until you turn it on, and with “reduce motion” set in your system the result appears with no animation.

Questions and answers

Is it exactly 50/50?

Yes. The flip asks the generator for one of two values with equal probability and shows the matching face. The animation always makes the same number of turns, so it cannot tilt the result.

I got five heads in a row. Is something wrong?

No. Each flip ignores the ones before it. Once you have four heads, the fifth is still an even bet, and in a hundred flips a streak of six or seven is ordinary.

Can the coin land on its edge?

No. There are two outcomes, heads and tails.

How do I run a best of three?

Flip three times and read the count of heads and tails beside the coin. Reset the count before the next round.