How it works.
One tap gives heads and tails an equal chance. Your browser makes the draw right here on your device.
Where the result comes from
Each time you tap, CoinFlipIt asks your browser for one byte from its cryptographically secure random number generator. A byte has 256 possible values. We assign the 128 even numbers to heads and the 128 odd numbers to tails. A new draw starts fresh, however long your current streak.
Read how the browser generates secure random values at MDN
Why the hand looks familiar
Once your browser has picked a side, it plays the matching toss. Look closely as the brass coin turns and you’ll see the portrait on heads and the horseshoe on tails. The hand catches the coin and the result appears beside it.
If your device requests reduced motion, the hand goes straight to the catch. If playback is unavailable, you still get the image and the written result.
What the tally remembers
The three numbers count heads, tails, and total flips in this tab. When tab storage is available, you can read another page and come back to the same tally. Wondering how often you might see five heads in a row?