Free Coin Flipper & Dice Roller
Flip a virtual coin or roll dice whenever you need a fair, unbiased random result. The tool tracks totals so you can see the distribution over many flips and rolls — useful for games, decisions, and probability demonstrations.
For a wider range of outcomes use the Random Number Generator, or the Lottery Number Generator for no-repeat draws.
How to use the Coin & Dice
- 1 Choose whether you want to flip a coin or roll dice.
- 2 For dice, choose how many and how many sides each one has.
- 3 Roll or flip, and read the individual results plus the total.
- 4 Check the running tally if you want to see how the results are distributed.
Probability simulation for Bernoulli trials and tabletop polyhedral dice
The Coin Flipper and Dice Roller simulates classic probability experiments and tabletop gaming mechanics. The coin flipper executes Bernoulli trials with a theoretical 50/50 probability distribution (Heads or Tails). The dice roller supports standard polyhedral gaming dice: d4, d6, d8, d10, d12, d20, and d100.
Each roll uses unbiased cryptographic entropy, ensuring that consecutive rolls are completely independent and free of mechanical imperfections found in physical dice. The tool tracks cumulative roll history, calculates totals and modifiers, and displays statistical frequency distributions.
- Simulates unbiased 50/50 coin tosses with complete trial history tracking.
- Supports standard polyhedral tabletop dice (d4, d6, d8, d10, d12, d20, d100).
- Calculates cumulative sums, modifiers, and rolling frequency statistics.
- Provides fair, transparent decision-making for games, classroom probability, and raffles.
Fair and unbiased
Every result is generated with the Web Crypto API (crypto.getRandomValues), the same secure random source used for encryption keys. Unlike Math.random, it avoids modulo bias, so over many trials each face comes up roughly equally often — exactly what you would expect from a fair coin or a well-balanced die.
Frequently asked questions
Is the flip or roll fair?
It uses the browser cryptographic random source, so each face has an equal and independent chance. There is no bias toward recent results and no memory of previous rolls — the gambler’s fallacy does not apply here.
What does 2d6 mean?
Two six-sided dice, rolled and added. The notation is standard in tabletop gaming: the number before the d is how many dice, the number after is how many sides. 2d6 gives a result between 2 and 12, with 7 the most likely total because more combinations produce it.
Can I use this for board games or RPGs?
Yes — the dice options cover the common polyhedrals used in tabletop games, and each die is rolled independently, which is exactly what the rules assume. For a single die the distribution is flat, so the tally doubles as a quick check that the generator is behaving.
Related Generators & Misc
You might also need
Tools from other categories that people pair with the Coin & Dice: