LPH Digital Tools
Tools Consulting Portfolio Blog
Legal Login Register Free

Dice Roller

Roll any number of dice with any number of sides. Supports modifiers, drop-lowest/highest, and standard notation (e.g. 3d6+2). Cryptographically secure.

Hotkey: press Space or R to re-roll

Standard dice notation

Dice notation is a universal shorthand used in tabletop gaming (D&D, Pathfinder, Warhammer, GURPS, etc.) and probability maths. It looks like 3d6+2 and reads as "roll three six-sided dice, add them, add 2."

  • NdS — roll N dice, each with S sides. Example: 3d6 = three six-sided dice.
  • NdS+M — add modifier M to the total. Example: 1d20+5 = D&D ability check with +5 modifier.
  • NdS-M — subtract modifier M. Example: 2d10-1.
  • NdSdlX — drop the X lowest dice. Example: 4d6dl1 = roll 4 six-siders, drop the lowest 1 (classic D&D stat generation).
  • NdSdhX — drop the X highest dice. Example: 3d20dh2 = disadvantage, keep the worst of three.
  • NdSkX / NdSkhX — keep the X highest (same as "drop all lower"). Example: 2d20kh1 = advantage roll.

This tool accepts any valid notation in the text field. If you leave the notation field blank, the form fields above (count / sides / modifier / drop) are used instead.

Common dice and when to use them

  • d4 (tetrahedron) — 1-4. Least common. D&D uses them for light weapon damage (daggers, slings) and some spells.
  • d6 (cube) — 1-6. The universal die. Backgammon, Monopoly, Yahtzee, Warhammer, most board games. You almost always have one in a drawer.
  • d8 (octahedron) — 1-8. D&D medium weapons (longsword, battleaxe) and mid-tier spells.
  • d10 (pentagonal trapezohedron) — 0-9 or 1-10. World of Darkness systems use them almost exclusively. Also paired for d100 rolls.
  • d12 (dodecahedron) — 1-12. D&D heavy weapons (greataxe). The lonely d12 — most players rarely use it.
  • d20 (icosahedron) — 1-20. The iconic D&D die. Every attack roll, skill check, saving throw.
  • d100 (percentile) — 1-100. Either a 100-sided ball (zocchi die, rare) or two d10s together (one for tens, one for ones). Used for percentage rolls and luck/critical tables.

Classic rolls you can do in this tool

  • D&D 5e ability score (standard): 4d6dl1 — roll 4 d6, drop the lowest, sum the rest. Repeat 6 times for the six abilities.
  • D&D advantage: 2d20kh1 — roll 2 d20, keep the higher.
  • D&D disadvantage: 2d20dh1 (roll 2, drop the highest, i.e. keep the lower).
  • Attack roll with +5 hit modifier: 1d20+5.
  • Fireball damage: 8d6.
  • Percentile for a random event: 1d100 — did the thing happen? Under X%, yes.
  • Yahtzee turn: 5d6.
  • Warhammer wound test: just 1d6 repeated — pick sides + count to taste.

Is this random enough?

Yes. This tool uses the browser's crypto.getRandomValues() — the same cryptographically secure random number generator used for generating encryption keys, session tokens, and security nonces. Each die roll is genuinely independent of every other roll, and the distribution is uniform across all sides.

"Truly random" vs "cryptographically secure" is a subtle distinction that matters for physics experiments but not for games. For any tabletop, party, or teaching-probability use, crypto.getRandomValues() is indistinguishable from rolling physical dice — and actually more uniform than cheap physical dice (which are usually slightly biased due to manufacturing tolerances).

If you need physical-dice realism for a specific game's ritual reasons, use physical dice. Otherwise, this is as random as you need.

Tips

  • Press Space or R to re-roll with the same settings. Faster than clicking.
  • Copy button copies the full breakdown — useful for pasting into Discord or a game chat.
  • The history list keeps your last 10 rolls so you can refer back. It clears when you reload the page.
  • Custom sides work — try 1d3, 1d7, 1d1000. Anything from 2 to 1000.
  • Up to 100 dice at once. Beyond that, physical dice are faster.

FAQ

Can I use this for official tournaments? Check your tournament rules — some require physical dice for fairness-witnessing reasons. For casual play, home games, solo RPGs, and online campaigns this is fine.

Does it support exploding dice? Not yet — if you roll max, you re-roll and add is a common house rule but outside standard notation. Ping the dev team if you want it added.

Can I save preferred rolls? Not in this version. For saved rolls with history, use a dedicated VTT like Roll20 or Foundry VTT. This tool is the "quick roll" option.

What about Fate / Fudge dice? Not directly supported — they're d6 with faces mapped to -1/0/+1. Workaround: roll 4d6, treat 1-2 as minus, 3-4 as zero, 5-6 as plus.