Skip to tool content
Toolioz logoToolioz

D&D Dice Roller

A D&D dice roller evaluates standard 5e notation such as 1d20+5, 2d20kh1 for advantage, and 4d6kh3 for ability scores. Dice math does not change with edition errata. Encounter budgets are a separate 5e encounter calculator.

Quick Summary & Direct Answer
D&D

How does a D&D dice roller handle advantage?

Advantage is 2d20kh1: two d20s, keep the highest. Disadvantage is 2d20kl1. Ability scores use 4d6kh3. A modifier is added after kept dice. Faces are drawn with crypto.getRandomValues.

Key Takeaways

  • 2d20kh1 is advantage. 2d20kl1 is disadvantage.
  • 4d6kh3 is the common ability-score roll.
  • Modifiers apply after keep/drop.
  • Notation is edition-agnostic; XP budgets are on the encounter page.

Total

—

Frequently asked questions

4d6kh3 rolls four six-sided dice and keeps the highest three, which is the standard ability-score method. 2d20kh1 is advantage. 2d20kl1 is disadvantage. A modifier such as +5 is added after the kept dice.

Publisher notes · reviewed 29 October 2026

5e dice notation is keep, drop, and a modifier after the faces

1d20+5 rolls one twenty-sided die and adds five. Advantage is 2d20kh1. Disadvantage is 2d20kl1. Ability scores are 4d6kh3. Faces are drawn with crypto.getRandomValues. The grammar does not depend on a monster-manual revision.

Encounter XP is a different page

Difficulty budgets live on the 5e encounter calculator and use the 2014 Dungeon Master’s Guide table. Mixing XP into a dice roller would hide both jobs. Roll damage and checks here; rate the fight there.

Worked examples

  • Fireball 8d6+0

    Eight six-sided dice, no keep suffix, no modifier. The total is the sum of all eight faces. A save for half is a later division the roller does not apply.

Limits of this page

  • Rerolls such as Great Weapon Fighting are not a keep suffix; roll and replace manually.
  • Exploding dice and FATE dice are not parsed.

Sources