ГСЧ randomness lab

Coins & dice

Coin flip

Heads or tails? A real coin in the browser — with animation, statistics, and a series of tosses.

instant computed locally 50-50 series up to 1000
Result Randomness: local CSPRNG
О
Р
Click on the coin
— Choose a mode and flip a coin
Ready Space — flip
Heads and tails on the charts —

The share of heads and tails

The donut chart will appear after the first roll

Lengths of series in a row

The columns will appear after the first throw
The side is chosen by a cryptographic generator in your browser — no server and no 'tampering'. How the generator works.

How a fair coin works

A fair coin has two sides, and both come up with equal probability — 50/50. This tool does not manipulate anything: the side is chosen by a cryptographic generator directly in the browser. The animation only shows the decision that has already been made, so it does not affect the result.

Each toss is independent of the previous ones. The coin 'does not remember' what came up last time: after five heads in a row, the probability of a head again is exactly 50%. This property is called the independence of trials, and it is precisely because of it that long streaks are not an anomaly, but a normal part of randomness.

50/50 probability: what it means in practice

In a series of one hundred tosses, you should not expect exactly 50 heads and 50 tails: the usual variation is a few units in either direction. The longer the series, the closer share towards half, but the absolute difference can still grow. The law of large numbers refers to proportion, not equality of count.

Why a run of five heads is normal

The probability of seeing five identical sides in a specific set of five throws is 1 in 16. In a series of a hundred throws, there are already 96 such "fives," so at least one series of five identical sides in a row occurs almost always — about 97% of the time, and a series of exactly five heads — about 81%. People tend to see a pattern or a "glitch" in this, even though it is just ordinary randomness.

A common mistake is to think that after a series of heads, a tail "should" come up. The coin does not try to even out the score: it simply continues to come up with a 50-50 probability.

Where a coin toss will come in handy

  • to settle the dispute over who pays for coffee or washes the dishes;
  • choose one of the two options when the arguments are equal;
  • to determine the first player in a board game;
  • to test intuition about series and probabilities;
  • to conduct a fair draw between two participants.
Frequently Asked Questions
Is the coin really fair?
Yes. The side is chosen by a cryptographic generator (CSPRNG) with added movement entropy, not through Math.random. The code works locally: the server does not know and cannot change the result.
Is it possible to toss 1000 times?
Yes, in the "Series" mode, 1 to 1000 throws are available. After the series, the number of heads and tails, percentages, the longest series, and the distribution strip are displayed.
Do previous throws affect the next one?
No. The tosses are independent: the probability of heads is always 50%, no matter how many heads have come up before. Streaks of 5–10 identical sides in a long series are an expected phenomenon.
Why is it not exactly 50/50 in the series?
Over a short distance, the share fluctuates: 47% or 53% — a completely normal result. As the number of throws increases, the share converges to 50%, but no one promises perfect equality.
The tool is designed for entertainment, education, and random selection. It is not related to gambling and does not provide an advantage in betting.
↑↓ navigation Enter to open Esc close