[RPG] How to calculate the chance to hit a given AC

combatdnd-5estatistics

My current level 2 variant Ranger has the Sharpshooter Feat.

His hit modifier is normally +7, but with Sharpshooter it's +2 (due to the −5).

I am wondering what the % based chance to hit is when using the feat, dependent on the AC of the enemy.

Example: What is the chance to hit a creature with AC 14?

Best Answer

Finding out the specific probability between critical miss, miss, hit, and critical hit gets a lot more complicated, but a "hit and miss" probability can be shown with a simple output d20 + 2 in AnyDice

Using the table looking at "At least", you can see your percent chance to hit any AC, knowing that you always have a 5% chance to critically fail and a 5% chance to critically hit. In this case, you have a 40% chance to meet a 15 AC

Here is a small AnyDice program that you can use to calculate hit, miss, critical hit, and critical miss, if you want to be more specific with your rolls. This is easily modified to allow crits on 19s and to eliminate critical misses as well. Be aware that it does not output your rolls, only numbers to represent the result. You also need to input an AC to roll against, since this program doesn't output a probability curve.

0 = critical miss.
1 = miss.
2 = hit.
3 = critical hit.

The question Incorporating expanded crit-range into anydice? would also be helpful in learning how Anydice can be used and what it can be used for.