How the Dice Math Works in D&D 5e

By EpicWinDND Editorial

Plenty of people sit down to play D&D worried that they will need to do math all night. The good news is that 5th edition runs on one small, repeatable idea, and once it clicks the whole game gets easier to read. This is a plain-language guide to how the dice math actually works in 5e: the core test, what each die is for, where your bonuses come from, and the few probability facts that genuinely help. None of it is harder than adding two numbers together.

The one mechanic 5e is built on: almost every action in D&D 5th edition resolves with a single test: roll the twenty-sided d20, add the relevant modifiers, and compare the total to a target number — a Difficulty Class (DC) for checks and saves, or an Armor Class (AC) for attacks. If your total meets or beats the target, you succeed. That is the whole engine; everything else is just where the numbers come from.

The core test: d20 + modifiers vs a target number

In the d20 system that powers 5e, almost every meaningful action is the same shape. You roll a single d20, add the modifiers that apply, and compare your total to a target number. When you swing a sword you compare it to the monster's Armor Class; when you pick a lock or leap a chasm you compare it to a Difficulty Class the Dungeon Master sets. The rule for who wins is friendly: you succeed if your total meets or beats the number, so a total of exactly 15 clears a DC 15. That single sentence covers attack rolls, saving throws, and ability checks — the three things you roll the d20 for — which is why 5e feels so smooth once it lands.

Where your modifiers come from

The number you add to the d20 is built from two pieces. The first is your ability modifier, derived from one of your six ability scores by a fixed rule: subtract 10 and halve the result, rounding down. A score of 10 gives a +0, a 14 gives a +2, and a 16 gives a +3, so a strong fighter swinging with a 16 Strength adds +3 before anything else. The second piece is your proficiency bonus, which you add when you are trained in what you are doing — the weapon, the skill, the saving throw. It starts at +2 for a 1st-level character and slowly grows as you level up. Add those together and you have the number that turns a raw d20 into your result. That is the entire source of "your bonus": ability modifier, plus proficiency when it applies.

What each die is for

The d20 decides whether something happens; the smaller dice decide how much. Damage and healing are written in dice notation like 1d8+3, which means "roll one eight-sided die and add 3." A longsword deals 1d8, a greataxe rolls the chunky d12, and a fireball throws a fistful of d6s (8d6). The handy shortcut for any fair die is that its average roll is simply the midpoint of its range — (1 + number of sides) ÷ 2 — so a d6 averages 3.5 and the d20 averages 10.5. The table below lays out every die, its average, the odds of any single face, and the job it usually does in 5e.

Every D&D die — what it does and its fair-roll math
Die Range Average roll Any one face What it does in 5e
d20 1–20 10.5 5% The core die: attack rolls, saving throws, ability checks
d12 1–12 6.5 8.3% Biggest weapon damage die (the greataxe)
d10 1–10 5.5 10% Warlock Eldritch Blast; pairs as percentile dice
d8 1–8 4.5 12.5% Many martial weapons and healing spells
d6 1–6 3.5 16.7% The building block of big spells (a fireball is 8d6)
d4 1–4 2.5 25% Daggers, Magic Missile, the Bless bonus
d100 1–100 50.5 1% Percentile rolls, read as two d10 (tens + ones)

The d20 is flat, and that makes the odds easy

The most useful thing to know about the d20 is that it is flat: every result from 1 to 20 is equally likely, each at exactly 5%. A natural 20 is 5%, a natural 1 is 5%, and the die has no memory, so a cold streak does not make you "due." Because it is flat, your chance of clearing a target moves in clean 5% steps — every point of DC is worth 5% before your bonuses. That is why a few reference points stick so easily: on a bare d20 you beat a DC 5 about 80% of the time, a DC 10 about 55%, a hard DC 15 about 30%, and only a natural 20 clears a DC 20. Your modifiers slide all of these up, but the spacing never changes.

The d20 test in numbers — flat odds before any modifiers
You need to roll Example target Chance on a bare d20
5 or higher DC 5 (very easy) 80%
10 or higher DC 10 (medium) 55%
15 or higher DC 15 (hard) 30%
20 or higher DC 20 / a tough AC 5%

Advantage and disadvantage, the cleanest tool in the game

5e folds most situational luck into one elegant rule. With advantage you roll two d20 and keep the higher; with disadvantage you roll two and keep the lower. Advantage does not add a fixed number, but on average it lifts your result by about +3.3 (one d20 averages 10.5; the higher of two averages 13.825). It helps most when you need a middling roll and least when the target is nearly automatic or nearly impossible — a useful gut feel is that advantage is worth roughly a +3 to +5 bonus depending on what you need. Disadvantage is the exact mirror, pulling your average down by the same amount. Because they never stack, you are always either rolling one die or rolling two and picking, which keeps the math at the table effortless.

Putting it together at the table

That is the whole of 5e dice math in working order: roll a d20, add your ability modifier and proficiency where it applies, and meet or beat the target; roll the smaller dice for how much; and remember the d20 is flat so the odds move in tidy 5% steps. None of it needs memorizing — that is what a cheat sheet and a clear, easy-to-read set are for. A high-contrast set like a hard tiger's eye set ($59.99) or a sharp-edged silver-gray diamond-cut set ($79.99) makes that d20 read fast when the table is moving, and the rest is just adding two small numbers. Browse the full range in the gemstone dice collection.

The short answer: D&D 5e runs on one test: roll a d20, add your modifiers, and meet or beat a target number (DC for checks and saves, AC for attacks). Your bonus is your ability modifier — floor((score − 10) ÷ 2), so a 16 is +3 — plus your proficiency bonus (+2 at 1st level) when it applies. The d20 is flat, so each face is 5% and your odds move in 5% steps (need 10+ = 55%, 15+ = 30%, 20+ = 5%). Smaller dice roll damage in notation like 1d8+3, and any fair die averages (1 + sides) ÷ 2. Advantage (roll 2d20, keep the higher) adds about +3.3 on average.

Frequently Asked Questions

How does the dice math work in D&D 5e?

Almost every action is one test: roll a d20, add your modifiers, and compare the total to a target number. For attacks the target is the monster's Armor Class; for checks and saving throws it is a Difficulty Class the DM sets. You succeed if your total meets or beats the number. The smaller dice (d4 through d12) are only rolled for how much damage or healing you do.

What modifiers do I add to a d20 roll in 5e?

Two things. Your ability modifier, found by subtracting 10 from the relevant ability score and halving the result rounding down (so a 16 gives +3, a 10 gives +0), and your proficiency bonus when you are trained in what you are doing. Proficiency starts at +2 at 1st level and grows as you level up. Add them to the d20 to get your total.

What does 'meet or beat' the DC mean?

It means a tie goes to you. If a task is Difficulty Class 15 and your d20 roll plus modifiers totals exactly 15, you succeed — you do not need to exceed it. The same rule applies to hitting a monster's Armor Class with an attack roll.

What is the average roll on each D&D die?

On a fair die the average is (1 + number of sides) ÷ 2, the midpoint of its range. So a d4 averages 2.5, a d6 averages 3.5, a d8 averages 4.5, a d10 averages 5.5, a d12 averages 6.5, and the d20 averages 10.5. Every face is equally likely, which is what makes the midpoint the average.

How do advantage and disadvantage change the math?

Advantage means rolling two d20 and keeping the higher result; disadvantage means keeping the lower. Advantage raises your average roll by about +3.3 (the higher of two d20 averages 13.825 versus 10.5 for one) and is roughly worth a +3 to +5 bonus depending on the target. Disadvantage is the mirror, lowering it by the same amount. They never stack.

Do more expensive or 'lucky' dice change the odds?

No. Any fair, well-made die gives the same odds regardless of material, color, or how it is cut. Sharp-edged or stone dice can read faster and feel better in the hand, but they do not roll higher. The math in 5e comes from fair dice, not from any one set.

Further reading