DoolityDoolity

Dice Roller and Coin Flip

Roll d4 to d100 dice or type notation like 3d6+2, 2D6, or 4d6kh3, and see every die and the total at once. A coin flip, held dice, and a roll history are on the same screen.

Add a die
Saved notations

Saved notations appear here. They stay in this browser.

Press Roll to see the dice and the total.

Roll history

No rolls yet.

Face counts

Roll one type of die from d4 to d20 several times to see how often each face comes up.

Rolls use the secure random number generator of your browser. Nothing is sent to a server.

Every face of a die and both sides of the coin are equally likely.

For board games, TRPGs, classes, and deciding turns. Not for official draws or tournaments.

How to roll dice online

  1. Press a die button such as d6 or d20 to add one die to the roll, or type notation like 3d6+2 in the box.
  2. Press Roll. Every die and the total appear. With keep highest or keep lowest, the dice that do not count are struck through.
  3. Tap a die to hold it, then press Re-roll to roll only the dice that are not held.
  4. Switch to Coin to flip a coin 1 to 100 times and count heads and tails.
  5. Check, copy, or clear the history below. Save the notation you use often, and it stays in this browser.

What is dice notation?

Dice notation is a short way to write a dice roll such as 3d6+2: the number before the d is how many dice to roll, the number after it is how many faces each die has, and +2 is added to the sum.

Tabletop role-playing games use a set of seven dice: d4, d6, d8, d10, d12, d20, and a second d10 marked 00 to 90 that turns two d10s into a d100. Dungeons & Dragons is built around the d20, and Call of Cthulhu settles skill checks with percentile dice. Japanese players often write the D in capitals, as in 2D6 or 1D100.

Dice probability basics

  • A fair die with n faces shows each face with a probability of 1/n. On a d6 each face has a chance of 1/6, about 16.7%, and on a d20 each face has a chance of 5%.
  • Totals of several dice are not equally likely. Two d6 have 36 equally likely combinations, and 6 of them make 7, so a total of 7 has a chance of 1/6, while 2 and 12 each have 1/36.
  • Keeping the highest dice raises the average. The average of 3d6 is 10.5, and the average of 4d6 keeping the highest 3 is about 12.24.
  • Each roll is independent. A die does not remember earlier results, so a 6 is not more likely after a run of low numbers.
  • Short runs vary a lot. In 60 rolls of a d6, each face is expected 10 times, but the chance that a given face comes up exactly 10 times is only about 13.7%.

When to use it

  • Playing a board game when dice are missing or the game needs more dice than the box has
  • Rolling d20 checks and damage such as 2d6+3 in a tabletop role-playing game
  • Rolling 1D100 skill checks or 2D6 tests in a Japanese-style TRPG session
  • Showing a math class how the share of each face moves toward 1/6 over many rolls
  • Deciding who goes first with a coin flip or the highest roll

Dice roller FAQ

How is each roll decided?

This tool uses crypto.getRandomValues, the secure random number generator built into your browser, and discards values that would make low faces slightly more likely. The result is fixed the moment you press Roll. The short animation only shows it. Nothing is sent to a server.

Which dice notation can I type?

Dice terms like 3d6, d20, 1d100, or d%, constants, and + or − between them, for example 1d20+5 or 2d6−1. Add kh3 or kl1 to keep the highest 3 or the lowest 1, or dl1 and dh1 to drop dice, as in 4d6kh3. Capital D, the W of German games, and the к of Russian games work too. A roll can have up to 30 dice with 2 to 1000 faces. Exploding dice (!), success counts (>), multiplication, and Fudge dice are not supported.

How do I re-roll only some of the dice?

After a roll, tap the dice you want to keep. Held dice stay marked. Press Re-roll, and only the other dice get new values. Each re-roll adds a new line to the history. The face counts skip held dice, because they were not rolled again.

Is the coin flip really 50/50?

Yes. Each flip in this tool is heads or tails with a chance of exactly 1/2. A real coin is slightly different. In a 2023 study of 350,757 flips by František Bartoš and 49 coauthors, a coin landed on the side it started on 50.8% of the time. This tool does not model a hand toss.

Can I use it for an official draw or a tournament?

No. The results stay in your browser, so the tool cannot prove a result to other people afterwards. Use it for board games, TRPG sessions, classes, and deciding turns. The history and the counts are cleared when you leave the page. Saved notations and the animation setting stay only in this browser.