D&D 5e Combat Calculator
Estimate hit chance, critical hit chance, expected damage per round (DPR), and how many rounds it may take to drop a target.
Assumes standard 5e attack rules: natural 1 always misses, natural 20 always hits and crits, crit doubles damage dice (not flat bonus).
What this DnD combat calculator does
This combat calculator dnd tool gives you a fast way to compare builds, weapons, and tactical choices before a session. Instead of guessing whether +1 to hit is better than +2 damage, you can get a numerical answer in seconds. The calculator models a single repeated attack profile and outputs expected performance against a specific Armor Class.
The primary metric is DPR (damage per round). In tabletop play, real encounters include movement, control effects, positioning, and resource usage, but DPR is still one of the most useful baseline measurements for character optimization.
How the math works
1) Hit chance and crit chance
The calculator checks each possible d20 result and classifies it as miss, normal hit, or critical hit. It also supports advantage/disadvantage by using the probability distribution for the highest or lowest of two d20 rolls.
- Natural 1 is always a miss.
- Natural 20 is always a hit and a critical hit.
- Expanded crit range (like 19–20) is supported and still checked against AC when relevant.
2) Average damage on hit
Average die value is calculated as (die size + 1) / 2. So a d8 averages 4.5, and a d6 averages 3.5. A normal hit uses your base dice plus flat bonus. A crit doubles only the dice portion.
3) Expected DPR and rounds to defeat
Expected damage per attack is:
(normal hit chance × normal hit damage) + (crit chance × crit damage)
Multiply by attacks per round to get DPR. If enemy HP is entered, rounds to defeat is estimated as HP ÷ DPR.
Why this is useful at the table
- Compare Great Weapon Fighting vs Dueling style impacts quickly.
- Evaluate whether advantage is worth spending a resource.
- Estimate boss time-to-kill for encounter planning.
- Check if your build still performs when AC is higher than expected.
Example scenario
Suppose your fighter has +7 to hit, attacks twice, deals 1d8+4 damage, and targets AC 16. Plugging these values in gives you realistic hit and crit probabilities and a DPR estimate. If the enemy has 60 HP, you also get a rough number of rounds needed to finish the fight.
Now switch roll mode to advantage and compare. You will usually see a substantial DPR jump, not just from more hits, but also from increased crit frequency.
Practical optimization tips
Prioritize accuracy early
When your hit rate is low, +1 to hit can outperform flat damage boosts. Missing deals zero damage, so accuracy improvements often have outsized value.
Crit range shines with many attacks
Expanded critical ranges become more impactful when your attacks per round are high. More attack rolls means more chances to trigger the crit window.
Use this as a baseline, not a full simulator
The calculator does not include rider effects like smites, sneak attack timing decisions, resisted damage, or conditional advantage from battlefield control. Use this for quick comparisons, then layer in context for real encounter strategy.