Compare D&D 5e builds with real numbers instead of vibes. Enter your attack bonus, the target’s AC, your damage dice, and crit range, and this calculator returns your hit chance and average damage per round with correct critical-hit math and full advantage support.
How it works
Your hit chance is the probability that d20 + attack bonus ≥ AC, with a natural 20 always
hitting and a natural 1 always missing. A critical hit occurs on a natural roll in your crit
range (20, or 19-20, or 18-20), and crits are a subset of your hits.
A crit doubles the damage dice but not the flat modifier, so:
DPR (one attack) =
(hitChance − critChance) × (avgDice + flatMod)
+ critChance × (2 × avgDice + flatMod)
The tool averages your dice expression (each NdF averages N × (F+1)/2), applies advantage or
disadvantage by recomputing per-face probabilities exactly, and multiplies by your number of attacks
for total DPR.
Tips and example
- A +7 attack against AC 15 hitting with a
1d8+4longsword (one attack) lands around 8-9 DPR; add Extra Attack by setting attacks to 2 to roughly double it. - Toggle advantage to see why granting yourself advantage is often worth more than a small static bonus, especially with extra crit dice like a Paladin’s smite.
- Keep flat bonuses in the flat field so they are correctly added once per hit and never doubled on a crit.