Coin Flip & Dice Roller
Flip coins for Heads or Tails, roll many kinds of dice — fair and random, with rate statistics
Press the button below to flip the coins
Tip: press Space to flip quickly
Overall statistics
Total flips: 0| Result | Count | Rate |
|---|---|---|
| Tails | 0 | 0% |
| Heads | 0 | 0% |
The yellow bar is the Tails rate; the remaining blue is Heads. The more you flip, the closer the ratio gets to 50/50.
Flip history (last 30)
- No flips yet
Press the button below to roll the dice
Total
0
Tip: press Space to roll quickly
Roll history (last 30)
- No rolls yet
🎯 What is it for?
- • Quick decisions: go or stay, who pays
- • A fairer version of rock-paper-scissors
- • Split teams, choose who goes first
- • Replace real dice for Monopoly and board games
- • Teaching probability and statistics
⚖️ Is it really fair?
The tool uses crypto.getRandomValues — the browser's cryptographic random generator, far higher quality than Math.random. Results are also modulo-bias corrected: values that fall into the remainder zone are discarded and re-drawn, so every face has exactly equal probability.
📊 Probabilities to know
- • 1 coin: Tails 50%, Heads 50%
- • 2 coins landing the same: 50%
- • 3 coins all Heads: 12.5% (1/8)
- • 6-sided die: each face 16.67% (1/6)
- • 2 D6 summing to 7 is the most common: 16.67%
A previous flip does not affect the next — five Heads in a row still leaves the sixth at 50/50.
Coin Flip and Dice Roller Online
This coin flip tool settles a decision in one click — heads or tails. The same page also includes a dice roller with several die types, handy for board games or for teaching probability.
What sets it apart is the quality of the randomness. Results come from the browser's crypto.getRandomValues and are corrected for modulo bias: values that fall outside an evenly divisible range are discarded and drawn again, so every outcome is exactly equally likely.
How to flip a coin or roll dice
- Pick the "Coin" or "Dice" tab at the top of the page.
- For coins, choose how many to toss, from 1 up to 10.
- For dice, choose 1 to 6 dice and the die type: D4, D6, D8, D10, D12 or D20.
- Click the big button, or press the Space bar for a quick flip.
- The result appears after the flip animation and is saved to the history list.
Key features
- Toss up to 10 coins at once with an instant heads and tails count.
- Roll up to 6 dice across six die types from D4 to D20, with the total added up for you.
- Six sided dice show real pips; the other types show the number.
- A running statistics table with the heads and tails percentage after every toss.
- Flip animation, dice rattle and a result chime, with sound you can switch off.
- The last 30 rolls are kept for both modes and can be cleared at any time.
FAQ
Is this coin flip really fair? Yes. It uses the browser's cryptographic random number generator and removes modulo bias, so heads and tails each land at exactly 50 percent over the long run.
I just got five heads in a row, is tails more likely now? No, that is the gambler's fallacy. A coin has no memory and every toss is independent, so the sixth toss is still a straight 50/50.
Which dice can I roll? D4, D6, D8, D10, D12 and D20, up to six dice per roll, with the sum calculated automatically.
Are my results stored anywhere? Everything runs in your browser. The last 30 rolls stay in the current session only and nothing is sent to a server.