Tabletop Gaming

Dice Probability Calculator: Exact Odds for D&D Rolls

By GoblinWars Published

Dice Probability Calculator: Exact Odds for D&D Rolls

Every meaningful decision at a D&D table is secretly a probability question. Should the rogue attempt the DC 20 lock now or wait for the bard’s help? Is an 8d6 fireball likely to finish a wounded ogre? The calculator below answers those questions exactly — not with simulated rolls, but by enumerating the full mathematical distribution of the dice you enter.

The Calculator

Enter how many dice you are rolling, the die size, any flat modifier, and the target total you need to reach or beat. For a single d20, you can also switch between a normal roll, advantage, and disadvantage. The result is the exact probability, shown to one decimal place.

The math runs entirely in your browser and nothing you enter is stored. The 20-dice cap exists because the tool computes the exact distribution of every possible combination rather than estimating; 20 dice is more than any standard 5th-edition effect requires (a 9th-level fireball tops out at 14d6), and the cap keeps the calculation instant on any device.

How d20 Tests Work in the 2024 Rules

The 2024 Player’s Handbook groups the game’s three core rolls — ability checks, saving throws, and attack rolls — under one name: the d20 Test. In each case you roll one d20, add modifiers, and compare the total to a target number, which is a Difficulty Class (DC) for checks and saves or Armor Class for attacks. The free rules on D&D Beyond publish the typical DC ladder: 5 is very easy, 10 easy, 15 medium, 20 hard, 25 very hard, and 30 nearly impossible.

Because a d20 is flat — every face is exactly 5% — the probability of any d20 Test is simple: count the natural rolls that succeed. If you need a natural 10 or higher, 11 of the 20 faces succeed, so your chance is 55.0%. Each +1 of bonus shifts the needed natural roll down by one and is therefore worth exactly 5 percentage points, as long as success remains neither guaranteed nor impossible.

This is the design idea players call bounded accuracy: in both the 2014 and 2024 rules, proficiency bonus only climbs from +2 at levels 1-4 to +6 at levels 17-20, and published DCs stay on the same 5-to-30 ladder for all twenty levels. Modifiers grow slowly, so a goblin’s spear and a DC 15 climb remain mathematically relevant far longer than in games where numbers inflate.

One caveat the calculator deliberately leaves out: in the 2024 rules an attack roll automatically hits on a natural 20 and automatically misses on a natural 1, regardless of modifiers (death saving throws also have their own special results on a 1 or 20). The tool reports pure target-number probability, so for attack rolls treat results below 5% or above 95% as floored and capped by those automatic outcomes.

Advantage and Disadvantage, Exactly

Advantage and disadvantage apply to a single d20 Test: you roll two d20s and keep the higher (advantage) or lower (disadvantage) die. Multiple sources of advantage never grant a third die, and if advantage and disadvantage both apply they cancel to one plain d20.

The math follows directly. If your chance on one die is p, then:

  • Advantage succeeds unless both dice fail: 1 − (1 − p)²
  • Disadvantage needs both dice to succeed: p²

At p = 55% (our natural-10 example), advantage gives 1 − 0.45² = 0.7975, which the calculator displays as 79.8%. Disadvantage gives 0.55² = 0.3025, displayed as 30.3%. The boost from advantage is largest — a full 25 percentage points — when your base chance sits at exactly 50%, and shrinks toward the extremes, which is why advantage matters most on hard-but-fair rolls and barely moves a nearly guaranteed one.

Probability Table: Common DCs and Bonuses

These values come from the same formulas the calculator uses, rounded to one decimal exactly as the tool displays them.

RollDC 10DC 15DC 20
+3, normal70.0%45.0%20.0%
+3, advantage91.0%69.8%36.0%
+3, disadvantage49.0%20.3%4.0%
+5, normal80.0%55.0%30.0%
+5, advantage96.0%79.8%51.0%
+5, disadvantage64.0%30.3%9.0%
+7, normal90.0%65.0%40.0%
+7, advantage99.0%87.8%64.0%
+7, disadvantage81.0%42.3%16.0%

Two patterns are worth memorizing. First, disadvantage is brutal on hard checks: a +3 character facing DC 20 falls from a modest 20.0% to 4.0%. Second, advantage against moderate DCs is roughly comparable to a +4 or +5 bonus — the +3 row with advantage (69.8% at DC 15) beats the +7 row without it (65.0%).

Worked Examples That Match the Tool

Example 1 — the skill check. Your fighter has +5 Athletics and faces a DC 15 climb. Needed natural roll: 10 or higher, which is 11 of 20 faces. The calculator shows 55.0% on a normal roll, 79.8% with advantage, and 30.3% with disadvantage.

Example 2 — the fireball. A wizard’s fireball deals 8d6 damage, and the wounded ogre pack leader has 30 hit points left (fireball targets make a Dexterity save, so assume a failed save here). Enter 8 dice, d6, modifier 0, target 30: the tool reports 38.0%. Behind that figure is the exact count: 638,543 of the 1,679,616 equally likely ways eight d6s can land total 30 or more, which is 38.02% before rounding.

Example 3 — the damage roll. A greatsword hit deals 2d6+4 and you need 12 damage to drop a fleeing cultist. Of the 36 equally likely two-die combinations, 15 produce a raw 8 or higher, so the calculator shows 41.7%, with totals running 6 to 16 around an average of 11.

Stacking Dice and What “Average Damage” Really Means

Adding dice changes the shape of the odds, not just the size. One d20 lands on 15+ with probability 30.0%, but 3d6 — same maximum of 18 — reaches 15 only 9.3% of the time, because middle totals vastly outnumber extremes when dice stack. Multiple dice cluster around their average; single dice do not cluster at all.

The average of any die is (faces + 1) ÷ 2, so a d6 averages 3.5 and fireball’s 8d6 averages exactly 28. But “average 28” does not mean 28 is reliable: the tool shows 8d6 reaches 28 or more just 54.0% of the time, and a damage total of 40+ appears in only 0.7% of rolls. When a kill requires meaningfully more than the average — like our 30-hit-point ogre at 38.0% — plan for the likely miss, not the highlight-reel crit. That is also why damage riders that add a die (sneak attack, smite, Hunter’s Mark) are so dependable: each added d6 moves the average by a full 3.5 while the distribution stays tight.

Using the Odds at the Table

Probability will not play the game for you, but it sharpens decisions: take advantage-generating actions when the base chance is near 50%, respect disadvantage on hard checks, and never bank on above-average damage. If you are new to d20 Tests, start with our D&D 5e beginner guide; DMs setting DCs and building fights will find companion math in our encounter building XP budget guide and craft advice in how to be a good dungeon master. And if you are still rolling on borrowed dice, our guide to choosing your first dice set covers what to buy and why.

GoblinWars covers tabletop RPGs, strategy games, and fantasy gaming culture. Rules references reflect the 2024 Player’s Handbook as published in D&D Beyond’s free rules, accessed November 2026.

Sources

  1. D&D Beyond — 2024 Free Rules, “Playing the Game” (d20 Tests, advantage, DC table, proficiency bonus) — accessed November 2026
  2. D&D Beyond — 2024 D&D Free Rules index — accessed November 2026