No Login Data Private Local Save

Coin Toss Probability Demonstrator – Online Long‑Run Simulator

6
0
0
0

Coin Toss Probability Demonstrator

Explore the Law of Large Numbers — watch probability converge to 50% over time

H
T
Click the coin or use buttons below
0
Total Flips
0
Heads
0
Tails
Heads %
Heads 0% Tails 0%
Current Streak: Longest Heads: 0 Longest Tails: 0
Gambler's Fallacy alert: A long streak of heads does not make tails more likely on the next flip. Each toss is independent — the probability remains exactly 50%.
Running Probability of Heads (converges to 50%)
Speed
Ready
(max 100,000)

Frequently Asked Questions

The Law of Large Numbers (LLN) states that as the number of independent trials increases, the sample average (observed frequency) will converge toward the expected theoretical probability. For a fair coin, this means the percentage of heads will approach 50% as you flip more and more times — even though short-term results can vary wildly. This tool demonstrates exactly that: watch how the running probability line settles closer to the 50% mark as the flip count grows into the hundreds and thousands.

A fair coin flipped with a random, unbiased method has exactly a 50% chance of landing heads and 50% chance of tails. In reality, physical coins may have tiny biases (some studies suggest ~51% chance of landing on the same side that started facing up), but for all practical and educational purposes, a fair coin toss is considered a perfect 50/50 Bernoulli trial. This simulator uses a cryptographically fair random number generator to ensure unbiased results.

The Gambler's Fallacy (also called the Monte Carlo Fallacy) is the mistaken belief that past independent events affect future probabilities. For example, after seeing five heads in a row, someone might think "tails is overdue" — but this is wrong. Each coin flip is independent: the probability of heads remains exactly 50% regardless of previous outcomes. Our tool highlights this with a friendly warning when long streaks occur, reminding you that streaks are normal in random sequences and don't predict the next outcome.

There's no magic number, but generally: with 100 flips, the heads percentage often ranges between 40%–60%; with 1,000 flips, it typically narrows to 47%–53%; and with 10,000+ flips, you'll usually see 49%–51%. The convergence is gradual — the Law of Large Numbers describes a tendency, not a guarantee at any specific sample size. Try our 10,000× button to see impressive convergence in action!

Coin toss probability underpins many fields: sports (deciding who starts), cryptography (random key generation), statistical sampling (randomized controlled trials), machine learning (stochastic algorithms like dropout), finance (random walk models for stock prices), and gaming (fairness verification in online casinos). Understanding binomial probability and the Law of Large Numbers is foundational to data science, risk analysis, and scientific research.

Theoretical probability is what we expect mathematically — for a fair coin, it's exactly 0.5 (50%) for heads. Empirical (or experimental) probability is what we actually observe — the number of heads divided by total flips. This tool visualizes the gap between them. As the sample size grows, the empirical probability converges to the theoretical probability, beautifully illustrating the Law of Large Numbers in an interactive way.