How the odds are calculated
An attack hits when d20 + attack bonus ≥ AC. A natural 20 always hits and is a critical hit; a natural 1 always misses. The calculator counts every possible roll exactly, including advantage (the higher of two d20s), disadvantage (the lower), Elven Accuracy (the highest of three) and Bless, which adds a d4 to the roll. No simulations, no rounding tricks.
Average damage is what you'd deal per turn over many turns: misses count as zero, hits deal
the average of your damage dice plus modifiers, and crits double the dice (not the modifier). Type damage as
dice notation, for example 1d8+4, 2d6+3 or 1d10+1d6+5.
Advantage in numbers
Advantage is worth the most when you're at a coin flip: 50% becomes 75%. At 85% it only becomes about 98%, and at 20% it becomes 36%. That's why a rogue looking for advantage every turn matters so much against a well-armoured target, and why stacking bonuses on top of advantage has diminishing returns. The full rules, including when two sources cancel out, are in advantage and disadvantage explained.
Power attacks: −5 to hit, +10 damage
Tick the comparison box and the calculator shows your damage with and without the 2014 Great Weapon Master or Sharpshooter trade. (The 2024 versions of these feats dropped the trade: 2024 Great Weapon Master simply adds your proficiency bonus to Heavy weapon damage, so add it to your damage instead.) A rough rule: take the penalty when your normal chance to hit is about 65% or higher, or whenever you have advantage. Against high AC without help, the safer swing usually wins.
Saving throws
Switch to the Saving throw tab for spells like fireball or hold person. The target succeeds when d20 + save bonus ≥ your DC, and there is no automatic success or failure on a 20 or a 1. The tool gives you the chance the target fails and your expected damage, with half damage on a success if the spell says so. Why that's different from an attack roll is explained in spell attacks vs saving throws, and crits are covered in critical hits.
Frequently asked questions
How do you calculate the chance to hit in 5e?
You need to roll at least (AC − attack bonus) on the d20. Count the faces that hit and divide by 20, remembering that a natural 1 always misses and a natural 20 always hits. With +5 against AC 15 you need a 10 or higher: 11 faces, so 55%.
How much does advantage help?
It depends on your base chance. At 50% advantage raises it to 75%, the biggest jump, worth roughly +5 on the roll. At very high or very low chances it adds much less. Disadvantage works the same way in reverse.
What is the chance of a critical hit with advantage?
A natural 20 on one d20 is 5%. With advantage it's 9.75%. If you crit on 19-20, that becomes 10% normally and 19% with advantage.
When is Great Weapon Master or Sharpshooter worth it?
In the 2014 rules both feats offer −5 to hit for +10 damage. Take it when your chance to hit stays high after the penalty, usually against low AC or with advantage or Bless; the calculator compares both and tells you which deals more damage on average. The 2024 feats have no trade-off: Great Weapon Master adds your proficiency bonus to the damage of Heavy weapon hits made with the Attack action, and Sharpshooter no longer adds damage.
How do I calculate the chance a monster fails my saving throw?
The monster needs to roll at least (your DC − its save bonus). Saving throws have no automatic success or failure on a natural 20 or 1 in the core rules, so a +8 save against DC 15 succeeds on a 7 or higher: 70%, which means a 30% chance to fail.