Skip to content
Toolzy 100% free · no login

Home › Calculators & Converters › Dice Roller & Coin Flip

Dice Roller & Coin Flip

Runs in your browserFree · no sign-up

Choose how many dice and how many sides, add a modifier if your game needs one, and roll. Or flip a coin. Results use unbiased cryptographic randomness.

Roll dice

Flip a coin

Advertisement

How to use this tool

  1. Set the number of dice and pick the die type, such as d6 or d20.
  2. Add a modifier if your game adds or subtracts a bonus.
  3. Press Roll dice to see each die, the total, highest, lowest and average.
  4. For heads or tails, press Flip coin; running statistics are shown below.

Fair dice without the dice

Lost the dice for a board game, or need a d20 for a role-playing session? This roller simulates any number of dice, from a single coin-like d2 up to a hundred percentile dice, and shows each die and the total. Results come from crypto.getRandomValues, your browser's cryptographically secure random generator, and use rejection sampling: random numbers that would make some faces slightly more likely than others are thrown away and drawn again, so every face has exactly the same probability. Many simple online dice use a quick “random × sides” calculation that is good enough, but this method is exactly fair.

Dice notation

Tabletop games describe rolls like 3d6+2: roll three six-sided dice and add two. Set the number of dice to 3, sides to d6 and the modifier to 2, and the result line shows the same notation with every individual die. Common types are d4, d6, d8, d10, d12 and d20 from Dungeons & Dragons sets, and d100 for percentage rolls. Six-sided dice are drawn with die faces, the others as numbers.

What to expect from the totals

A single die is equally likely to land on any face, but totals of several dice are not: with two d6, a 7 is six times as likely as a 2 or a 12, because more combinations add up to 7. The average of one d6 is 3.5 and of 2d6 is 7. Short runs often look streaky; that is normal randomness, not a fault.

Heads or tails

The coin flip uses the same fair generator with two outcomes. The page counts heads and tails, shows the percentage of heads and your current streak. Over a few flips the split will often be uneven; over hundreds of flips it settles close to 50%. Streaks of five or six in a row are more common than most people expect. Each flip is independent: a run of tails does not make heads “due”.

Frequently asked questions

Is this dice roller fair?

Yes. It uses cryptographically secure random numbers with rejection sampling, so every face has exactly the same chance.

Can I roll a d20?

Yes. Choose d20 in the Sides menu. d4, d6, d8, d10, d12, d100, d2 and d3 are also available.

What does 3d6+2 mean?

Roll three six-sided dice and add 2. Set 3 dice, d6 and a modifier of 2.

Is a coin flip 50/50?

Yes. Each flip has an equal chance of heads or tails, and the results of previous flips do not affect the next one.

How many dice can I roll at once?

Up to 100 dice in a single roll.

More free tools