Dice notation, explained

Dice notation is the shorthand for writing any roll. 2d6+3 means "roll two six-sided dice and add 3". Everything else builds on that. Type any of these into the box on any d20s roller.

The basics

The number before the d is how many dice to roll, and the number after it is how many sides each die has. So 1d20 is one twenty-sided die, 3d6 is three six-sided dice added together, and d8 (no number in front) is a single d8. Add or subtract plain numbers and other dice with + and −.

Every symbol

WriteMeansExample
NdSRoll diceRoll N dice with S sides and add them up. Leave out N for one die.3d6Three six-sided dice, totalled (3–18).
+ / −Add or subtractAdd a number or more dice, or take them away.1d8+1d6+3A d8, plus a d6, plus 3: a sneak-attack longsword hit.
khNKeep highestRoll the dice, keep only the N highest. k on its own means kh.2d20kh1Advantage: roll two d20s, keep the higher.
klNKeep lowestKeep only the N lowest dice.2d20kl1+5Disadvantage with a +5 bonus.
dlNDrop lowestThrow away the N lowest dice. Same as keeping the rest.4d6dl1Ability scores: 4d6, drop the lowest (same as 4d6kh3).
dhNDrop highestThrow away the N highest dice.3d20dh1Roll three d20s and discard the best one.
!ExplodingAny die that rolls its highest face is rolled again and added, and keeps going.8d6!Eight exploding d6s: every 6 adds another die.
>=NCount successesInstead of adding, count how many dice meet the condition. Also >, <=, < and =.6d10>=8A dice pool: how many of six d10s show 8 or more?
dFFate diceFudge dice with −, blank and + faces (−1, 0, +1).4dF+2Four Fate dice plus a +2 skill.
d%PercentileA d100: a number from 1 to 100.d%Same as 1d100.

Click any example to open it in the probability calculator and see its exact odds.

Putting them together

You can mix terms freely: 2d20kh1+1d4+5 is an attack with advantage, a Bless die and a +5 bonus. Keep or drop comes before a success count (5d10kh3>=8), and a roll can hold up to 200 dice in total.

Roll forTypeNote
D&D attack with advantage2d20kh1+7Your attack bonus after kh1.
D&D ability scores4d6kh3Roll it six times, one per ability.
Fireball8d6Average 28.
Healing potion2d4+2Average 7.
Savage Worlds trait (d8, aces)1d8!Wild Die not included; use the Savage Worlds roller for that.
Vampire / World of Darkness pool7d10>=6Successes on 6+.
Shadowrun hits10d6>=5Hits on 5 or 6.
Year Zero successes6d6>=6Only 6s count.
Fate roll4dF+3
Old-school abilities3d6Roll in order.

Try it

Pick some dice and press Roll.

Dice
No dice yet
How do I write rolls?
  • 2d6+3 two six-sided dice, plus 3
  • 2d20kh1 keep the highest (advantage) · 2d20kl1 keep the lowest
  • 4d6kh3 roll four, keep the best three · 4d6dl1 drop the lowest
  • 8d6! exploding: max rolls roll again and add
  • 6d10>=8 count dice showing 8 or more
  • 4dF Fate dice · d% percentile
Full dice notation guide →

Questions

What does 2d20kh1 mean?

Roll two twenty-sided dice and keep the highest one: advantage in D&D 5e. 2d20kl1 keeps the lowest: disadvantage.

What does 4d6kh3 mean?

Roll four six-sided dice and keep the three highest. It’s the usual way to roll D&D ability scores, and it’s the same as 4d6dl1 (drop the lowest one).

What does the ! mean in dice notation?

Exploding dice. Whenever a die shows its highest number, roll it again and add the new result. 1d6! can total 6 + 6 + 3 = 15.

What does 6d10>=8 mean?

Roll six d10s and count how many show 8 or higher. The result is the number of successes, not a total.

Many games have rules that notation can't capture, such as Daggerheart's Hope and Fear, symbol dice or pushing a roll. For those, use the game-specific rollers, which handle the rules for you.