Random · Decision
Coin flip simulator.
Settle a fifty-fifty call with a cryptographically random coin. Flip once, flip a hundred, and watch the running heads/tails split converge on the theoretical mean.
Flip
Result
Press Flip coin to begin.
How the coin flip works
Each flip pulls bytes from crypto.getRandomValues() and maps them to heads or tails with a perfect 50/50 split. In small samples you will see streaks and lopsided ratios; the more you flip, the closer the visible ratio gets to the theoretical mean. That is the Law of Large Numbers in action.
Common uses
- Decision-making between two choices.
- Determining first move in sports or games.
- Teaching probability and variance.
- Demonstrating the gambler's fallacy: prior flips never influence the next.