Flip a Coin – Heads or Tails | dice83 

Flip a Coin

Heads or tails. Fair 50/50 probability on every flip.

or press Space
Statistics
0
Total
0
Heads
0
Tails
Streak
Best
Heads % convergence toward 50%

The Mathematics of a Fair Coin Flip

A coin flip strips randomness down to its essence. Two outcomes. Equal weight. Zero memory. Each flip stands completely independent of every previous one, and a streak of ten heads has zero influence on the eleventh result. The mathematical term for this property is independence, and it governs every fair random process. The coin has no opinion about what it did last time.

What Happens at Scale

Flip a coin 100 times and the expected number of heads is 50. The standard deviation is 5, so getting between 40 and 60 heads covers roughly 95% of outcomes. The surprising element: the longest streak of consecutive identical results in 100 flips typically falls between 5 and 10. A sequence without any streak of 6 or more would look artificially mixed. Real randomness is clumpier than intuition expects.

The convergence chart above this section demonstrates the law of large numbers in real time. Early flips produce wild swings. Keep flipping and the running percentage of heads converges steadily toward 50%. The more you flip, the tighter the convergence. Mathematics made visible.

True Fairness

A physical coin is never perfectly fair. Persi Diaconis, a Stanford mathematician and former professional stage magician, demonstrated that a coin flipped from a thumb has approximately a 51% chance of landing on the side it started. The physics of precession, air resistance, and surface dynamics introduce subtle biases invisible to the naked eye.

The coin on this page eliminates physics entirely. Each flip calls crypto.getRandomValues(), the Web Cryptography API built into every modern browser. This is the same entropy source that secures online banking and encrypted communications. It draws from hardware-level randomness in your device: thermal noise, electrical jitter, and other physical processes that quantum mechanics proves are fundamentally unpredictable. The result is a perfect 50/50 split, generated entirely on your device. The server never knows your outcome.

The Revealing Flip

Psychologists have observed a useful phenomenon: if you flip a coin to make a decision and feel disappointed by the outcome, you already knew what you wanted. The coin does not make the decision. It reveals your preference. This is why a coin flip can be valuable even when you ignore its result. The moment of emotional response tells you more than the coin itself.

In the Classroom

A coin flip is the first probability experiment most students encounter, and Dice83 Coin Flip Tool turns it into a live, visual lesson. Have each student visit /coin/50 and flip 50 coins at once. The convergence chart tracks their running heads percentage in real time, showing the law of large numbers unfolding on screen. Compare results across the room: every student gets a different sequence, yet the class average converges toward 50%. That contrast between individual randomness and collective predictability is the central insight of statistics.

For a projector demonstration, visit /coin/100 and flip repeatedly. The class watches the convergence line tighten toward 50% with each batch. Ask students to predict the longest streak before flipping, then compare their guesses to the actual result. The streak is almost always longer than students expect, which opens a productive conversation about human intuition and genuine randomness. The tool requires no accounts, collects no student data, and sets no cookies. Students use it and leave no trace.

Private by Architecture

The dice83 coin flip engine runs entirely inside your browser as part of a privacy-first design philosophy. The server delivers this page. Your device creates every outcome. Your flip history lives in your browser's localStorage, under your control alone. The server keeps no accounts, stores no results, and sets no tracking cookies.

This means sharing is inherently safe. Send this URL to a friend and they receive the same tool with the same configuration. Their results come from their own device's random number generator, independent of yours. Two people visiting the same link produce completely separate outcomes. The URL carries the tool. Your device carries the randomness.

Customize Through the URL

The URL defines the tool completely. Type the count directly into the address bar:

Flip Any Number of Coins

Pick a count or type your own. The URL updates, the tool reloads.

Challenge a Friend

Send this link. They get the same tool, their own results. See who flips more heads.

Design excellence, every day.

Jury-selected work from the A' Design Award, presented fresh each morning.