gizmobench
BrowseDaily

Coin Flip Simulator

Flip one coin or up to 1000 at once, then compare the heads and tails counts, their share and the longest streak. Best of plays a series one round at a time. Everything runs in your browser.

Ready
No flips yet. Press Flip to throw the first coin.
Mode
Coins a flip
Heads
0
Tails
0
Heads share
0.0%
Longest run
none yet
Flips
0

Press Space to flip without reaching for the mouse.

For a Yes/No coin toss, use one coin: Heads = Yes; Tails = No. The result is a random choice, not a prediction.

Accuracy. A fair 50 to 50 draw from the browser's own cryptographic randomness, never a pattern or a seed. It cannot know anything about the decision you are making with it.

Common questions

Is the flip actually random?
Each flip uses crypto.getRandomValues, the cryptographic random generator built into your browser. A uniform 32-bit draw is mapped onto two equally likely faces. The range contains exactly as many even as odd values, so heads and tails each have a 50% chance. Flips are independent: a run of five heads leaves the sixth flip at 50 to 50.
Can it flip more than one coin at a time?
The count field takes any whole number from 1 to 1000, with buttons for 1, 10 and 100. Every coin is an independent draw. Pressing Flip again adds the new coins to the tally: three presses of 100 count 300 flips. The limit of 1000 applies to one throw.
What does the longest streak mean?
It is the longest unbroken run of one face in this tally, counted across throws. When two runs tie for the longest, the one that reached that length first keeps the record. A streak describes previous flips and does not change the chance of the next one.
Is any of this saved?
The tally is remembered on your device if browser storage is available. The main simulator and the game page have separate tallies. A flip or Reset tally saves the updated counts and streaks immediately; opening a page only reads its saved tally. Individual flips and the recent throw log are not stored. Nothing is uploaded.
Can two people play a coin flip game?
Agree who has heads and who has tails, then switch to Best of. Choose three, five or seven rounds, or another odd number from 1 to 99. Flip one round at a time until a side reaches the majority. New game starts another series; Reset tally also clears the accumulated counts.
Does the animation change the result?
The result is drawn when you press Flip, before the coin turns. Reduced-motion preferences remove the turn and show the settled face immediately.
Can I use this on an iPhone, Android phone or computer?
The coin controls run in the page on a phone, tablet or computer with a current browser that supports crypto.getRandomValues. There is no account or installation step. Saving the tally and copying it depend on the storage and clipboard permissions available in that browser.

A fair 50 to 50 draw from the browser's own cryptographic randomness, never a pattern or a seed. It cannot know anything about the decision you are making with it.