Calculator Need
Categories

Everyday & Fun Calculators

Dice Roller & Coin Flipper

Roll dice or flip a coin — instant, fair, in your browser. Pick the dice and sides, or flip and watch the tally build up.

Method: every roll and flip uses crypto.getRandomValues in your browser. Each die face from 1 to the chosen number of sides has the same chance, and Heads and Tails are 50/50.

How to use the dice roller & coin flipper

  1. Pick “Dice Roller” or “Coin Flipper” at the top of the card.
  2. For dice, choose the “Number of dice” and “Sides per die”, then press “Roll dice”. For the coin, press “Flip coin”.
  3. Press the button again for a new result. In Coin Flipper, “Reset tally” sets the Heads and Tails counts back to zero.

Uses

  • Board games such as Ludo when the dice are lost.
  • Quick fair decisions: heads or tails.
  • Teaching probability: roll two dice 100 times and watch 7 come up most often.

What to expect

With two dice, totals range from 2 to 12; 7 is most likely (1 in 6) and 2 or 12 least likely (1 in 36 each).

Dice roller & coin flipper: common questions

Are the dice rolls and coin flips fair?
Yes. Both use your browser's cryptographic random generator (crypto.getRandomValues), so every die face has the same chance and Heads and Tails are equally likely.
How many dice can I roll at once?
From 1 to 6 dice, each with 4, 6, 8, 10, 12 or 20 sides. The total is shown with the individual die results.
Does the coin tally carry over between flips?
Yes. The Heads and Tails counts keep running until you press “Reset tally”. Switching to Dice Roller and back does not reset them.
Is my data stored?
No. The rolls and flips run in your browser, and nothing is sent or saved anywhere.
Can I roll dice with more than six sides?
Yes, choose the number of sides; D4, D8, D10, D12 and D20 are common in tabletop games.