โ† All tools

Probability Lab

Run random experiments and watch the empirical results settle toward the exact theory โ€” the law of large numbers, made visible. Every draw uses your browser's cryptographic randomness. Nothing leaves your device.

Coin flips

Trials

What you're seeing: each flip is independent. The running proportion of heads jumps around wildly at first, then homes in on the true chance p as trials pile up. That settling is the law of large numbers.

?
Heads
0
Tails
0
Empirical P(heads)
โ€”
Theoretical p
0.5000
Total flips
0
|difference|
โ€”
Running proportion of heads vs. theoretical p EmpiricalTheoretical