Guide détaillé à venir
Nous préparons un guide éducatif complet pour le D&D Damage Calculator. Revenez bientôt pour des explications étape par étape, des formules, des exemples concrets et des conseils d'experts.
The D&D 5e Damage Calculator helps players and dungeon masters determine the expected damage output of attacks and spells, accounting for dice notation, modifiers, critical hits, and situational bonuses. Understanding damage math is essential for building effective characters, balancing encounters, and making informed decisions during combat. Damage in D&D 5e is expressed using dice notation: XdY+Z means roll X dice with Y sides and add Z. For example, 2d6+5 means roll two six-sided dice and add 5 to the total. The expected value of a dice roll is (X × (Y+1)) / 2, so 2d6 averages 7, making 2d6+5 average 12. Critical hits occur when you roll a natural 20 on an attack roll. On a critical hit, you roll all damage dice twice (not the modifier). So a 2d6+5 crit rolls 4d6+5, averaging 19. The Great Weapon Fighting style (reroll 1s and 2s on damage dice) and the Savage Attacks feature (extra die on crits) further modify these calculations. Damage types also matter strategically — many monsters have resistances or immunities to specific types like fire, poison, or non-magical bludgeoning. Choosing the right damage type can effectively double your output against resistant creatures. Spells scale differently, with cantrips increasing dice at character levels 5, 11, and 17, and leveled spells often increasing dice when upcasted. For example, Fireball deals 8d6 fire damage at its base level (3rd), averaging 28, and gains 1d6 per slot level above 3rd. Mastering D&D damage math transforms you from a passive roller into a strategic decision-maker who knows exactly when to use Action Surge, when to cast Haste, and how meaningful a +1 damage bonus truly is across an adventuring day.
Expected Damage = (Dice Count × (Die Sides + 1) / 2) + Modifier Crit Expected = (2 × Dice Count × (Die Sides + 1) / 2) + Modifier Average DPR = Hit Chance × Normal Damage + Crit Chance × Crit Bonus
- 1Step 1: Identify your damage expression (e.g., 1d8+4 for a longsword with STR +4).
- 2Step 2: Calculate expected dice value: (sides + 1) / 2 per die, multiplied by die count.
- 3Step 3: Add your flat modifier to get average damage per hit.
- 4Step 4: Determine your hit chance: (21 − target AC + attack bonus) / 20, capped 0–1.
- 5Step 5: Add critical hit contribution: (1/20) × extra dice average.
- 6Step 6: Multiply hit chance by damage to get Damage Per Round (DPR).
A 5th-level fighter with +4 Strength attacking a creature with AC 16 hits on a roll of 9 or higher (60% chance) plus the 5% natural 20 crit. The longsword's 1d8 averages 4.5, plus 4 from STR equals 8.5 average damage. Multiplied by hit chance gives approximately 5.4 DPR for one attack — but this fighter has Extra Attack (two attacks), so total DPR is roughly 10.8.
Sharpshooter's −5/+10 trade-off is marginal against AC 15 but becomes increasingly worthwhile against lower ACs. Against AC 10, the feat nearly doubles effective DPR because the hit chance barely decreases while the damage bonus is massive. This is why Sharpshooter is best against low-AC, high-HP enemies like giants and dragons.
Fireball at 3rd level rolls 8d6 (average 28). Targets make DC 16 DEX saving throws; average targets succeed roughly 50% of the time, taking 14 on success. Against a cluster of 4 enemies, Fireball delivers roughly 4 × 21 = 84 expected damage — far exceeding any single-target martial option at this level, which is why it remains the iconic benchmark spell.
Rogues compensate for a single attack per action with Sneak Attack, which adds 3d6 (avg 10.5) at level 5. With Steady Aim or an ally adjacent to the target, the rogue reliably triggers Sneak Attack. At 15.1 DPR, the rogue competes with a level-5 Fighter's Extra Attack, and pulls ahead significantly at higher levels when Sneak Attack dice accumulate.
Comparing class builds for campaign optimization — This application is commonly used by professionals who need precise quantitative analysis to support decision-making, budgeting, and strategic planning in their respective fields
Encounter balancing for dungeon masters — Industry practitioners rely on this calculation to benchmark performance, compare alternatives, and ensure compliance with established standards and regulatory requirements, helping analysts produce accurate results that support strategic planning, resource allocation, and performance benchmarking across organizations
Determining optimal feat selection at ASI levels — Academic researchers and students use this computation to validate theoretical models, complete coursework assignments, and develop deeper understanding of the underlying mathematical principles
Researchers use dnd damage calc computations to process experimental data, validate theoretical models, and generate quantitative results for publication in peer-reviewed studies, supporting data-driven evaluation processes where numerical precision is essential for compliance, reporting, and optimization objectives
Brutal Critical (Barbarian)
{'title': 'Brutal Critical (Barbarian)', 'body': 'Barbarians gain Brutal Critical at level 9, adding one extra weapon damage die on critical hits. This stacks with the normal doubling, so a 1d12 greataxe crit rolls 3d12 (not 2d12). At level 17, two extra dice are added. This makes Barbarians significantly better at burst damage than sustained DPR.'}
{'title': "Hexblade's Curse", 'body': 'Hexblade Warlocks add their proficiency bonus to damage against their cursed target. At level 5 (+3 PB) with Agonizing Blast (adding CHA to each beam) and two beams of Eldritch Blast, the curse adds 6 extra damage per round — a massive boost that scales with proficiency.'}
Negative input values may or may not be valid for dnd damage calc depending on the domain context.
Some formulas accept negative numbers (e.g., temperatures, rates of change), while others require strictly positive inputs. Users should check whether their specific scenario permits negative values before relying on the output. Professionals working with dnd damage calc should be especially attentive to this scenario because it can lead to misleading results if not handled properly. Always verify boundary conditions and cross-check with independent methods when this case arises in practice.
| Die | Min | Max | Average |
|---|---|---|---|
| d4 | 1 | 4 | 2.5 |
| d6 | 1 | 6 | 3.5 |
| d8 | 1 | 8 | 4.5 |
| d10 | 1 | 10 | 5.5 |
| d12 | 1 | 12 | 6.5 |
| d20 | 1 | 20 | 10.5 |
How do critical hits work in D&D 5e?
A critical hit occurs when you roll a natural 20 on an attack roll. On a crit, you double all damage dice — not the total damage. So a 1d8+4 attack crits for 2d8+4, not 2×(1d8+4). Additional dice from features like Sneak Attack and Divine Smite are also doubled on a crit, making those features especially powerful when fishing for 20s. Only the static modifier (ability score bonus, magical enhancement) is not doubled.
What is the best damage die for a weapon?
Larger dice provide higher average damage but more variance. The d12 (average 6.5) used by greataxes nominally beats the 2d6 (average 7) of a greatsword in average terms, but the greatsword's two dice make it more consistent — less likely to roll the minimum. For the Great Weapon Fighting style, 2d6 benefits significantly more than 1d12 because there are more dice to potentially reroll.
Does resistrance really halve my damage?
Yes — damage resistance literally halves the damage after all calculations, rounding down. If you deal 17 fire damage to a fire-resistant creature, it takes 8. This effectively doubles the number of hits required to kill a resistant creature, making damage type selection crucial. Switching to a non-resisted damage type (or using a silvered weapon against lycanthropes) can dramatically improve combat efficiency.
How does the Great Weapon Master feat affect DPR?
Great Weapon Master's −5/+10 trade-off is a net gain whenever the extra 10 damage outweighs the reduced hit probability. Mathematically, this favors lower-AC targets and higher base accuracy. A paladin with a +8 attack bonus attacking AC 13 gains roughly 2 DPR from GWM, while the same paladin attacking AC 20 loses DPR. Most players activate GWM selectively based on the target's AC.
Should I use average damage or roll dice?
D&D 5e allows DMs (but not players) to use fixed average damage for monsters instead of rolling. For players, rolling dice is standard. Using average damage (listed in stat blocks, e.g., '9 (2d6+2)') speeds up DM turns dramatically in combat-heavy sessions without significantly impacting game balance, since averages converge over multiple attacks.
How does upcasting spells affect damage?
Many spells gain additional damage dice when cast using a higher-level spell slot. Fireball gains 1d6 per slot above 3rd, and Inflict Wounds gains 1d10 per slot above 1st. The efficiency varies: Fireball at 4th level (9d6, avg 31.5) is highly efficient; some other spells gain less per level. Always compare the damage gained per slot level against simply casting a different, higher-level spell.
What is Damage Per Round (DPR) and why does it matter?
DPR is the average damage a character or monster deals in a single combat round, accounting for hit probability and multiple attacks. It's the primary metric for comparing character builds and encounter difficulty. A fighter with 30 DPR kills a 90 HP creature in 3 rounds. DPR analysis helps DMs balance encounters and helps players understand the real impact of feat choices, spell selection, and ability score improvements.
Conseil Pro
To quickly estimate DPR: multiply your average damage per hit by your hit chance. For example, 15 damage × 65% hit = 9.75 DPR. Add 5% × (half your dice average) for the crit contribution.
Le saviez-vous?
The 'expected damage' concept in D&D was popularized by the 3rd edition optimization community in the early 2000s. Websites like GitP (Giant in the Playground) formalized DPR calculations that are now used by virtually all competitive character optimizers.