Dice Roller

Roll dice from standard NdM+K notation like 2d6+3 or d20, and see every individual die plus the total — built for D&D and tabletop RPGs.

Press R anywhere on the page to roll again.

Which die is which shape
  • d2 — a coin (2 sides)
  • d4 — tetrahedron (4 faces)
  • d6 — cube (6 faces)
  • d8 — octahedron (8 faces)
  • d10 — pentagonal trapezohedron (10 faces)
  • d12 — dodecahedron (12 faces)
  • d20 — icosahedron (20 faces)
  • d100 — two d10s rolled together, one for the tens and one for the ones (100 results)

Roll any dice from standard notation

Type a dice expression in the familiar NdM+K format — for example 2d6+3 for two six-sided dice plus three, d20 for a single twenty-sided die, or 3d8-1 to subtract one from the sum. The count before the d is optional and defaults to 1, and the trailing modifier can be positive or negative. Press Roll (or hit Enter) and you will see each individual die result alongside the final total, ready to copy in one click. Buttons for d2 through d100 roll one die without any notation, Add a roll line keeps several rolls side by side (Roll all rolls them together), and every roll goes into a Roll history you can clear, with a “This session” line summing up the rolls so far — how many, their sum, average, lowest and highest. Outside a text field, pressing R anywhere on the page rolls too. Save this roll keeps the notation in this browser as a button under Saved rolls, so a roll you use every session is one press away. Under the die buttons, the folded “Which die is which shape” names the solid behind each one with its number of faces — the d4 a tetrahedron, the d20 an icosahedron, the d2 a coin — and says that a d100 is two d10s rolled together, one for the tens and one for the ones. It is built for Dungeons & Dragons, board games, and any tabletop RPG where you need quick, fair rolls.

How the rolls are generated

Each die draws from your browser's cryptographically secure crypto.getRandomValues, so every face is equally likely and the results are unpredictable rather than a weak pseudo-random pattern. A die with M sides always lands on a whole number from 1 to M, and the flat modifier is applied once to the total after all dice are summed. Everything runs locally on your device, so the roller works offline and no roll ever leaves your browser.

Frequently asked questions

What dice notation is supported?

Standard NdM+K notation: an optional count, the letter d, the number of sides, and an optional + or − modifier. Examples include 2d6, d20, 4d10+2 and 3d8-1. Several dice terms can be joined with + or −, as in 2d6+1d4+2 or 1d20-1d4, and each term can keep or drop dice (4d6dl1, adv, dis). Spaces and capitalization do not matter.

Are the rolls actually random and fair?

Yes. Each die uses your browser's cryptographic random generator (crypto.getRandomValues), which makes every side equally likely and the outcome unpredictable.

Can it roll with advantage, or keep the highest dice?

Yes. Add a keep or drop rule after a dice term: kh keeps the highest, kl the lowest, dh drops the highest and dl the lowest, each followed by how many (1 if left out) — 4d6dl1 rolls four dice and drops the lowest, the usual way to roll ability scores. adv and dis are D&D's advantage and disadvantage: two d20s, keeping the higher or the lower. The dice set aside are listed as dropped and left out of the total.

Can I save a roll I use every session?

Yes. Type the notation and press “Save this roll”: it is kept in this browser and appears under Saved rolls as a button that puts it in the box and rolls it, with a × beside it to remove it. Only notation that rolls can be saved; anything else gets the same message Roll would give.

Which die is which shape?

Open “Which die is which shape” under the die buttons: one line per button, in the same order. The d4 is a tetrahedron, the d6 a cube, the d8 an octahedron, the d10 a pentagonal trapezohedron, the d12 a dodecahedron and the d20 an icosahedron, each listed with its number of faces; the d2 is a coin, and a d100 is no solid at all but two d10s rolled together, one read as the tens and one as the ones.