AC DnD Calculator
Calculate your effective Armor Class, estimate how often enemies can hit you, and visualize how survivability changes against different attack bonuses. This calculator supports common DnD 5e armor formulas, shields, cover, and custom bonuses.
Rules modeled around standard DnD 5e AC and attack roll logic, including automatic miss on a natural 1 and automatic hit on a natural 20.
Ready to calculate
Set your armor, Dexterity modifier, and the enemy attack bonus. Then click the button to see your final AC, required roll to hit, hit chance, critical chance, and expected hits across multiple attacks.
Enemy hit chance by attack bonus
Expert Guide to Using an AC DnD Calculator
An AC DnD calculator helps players and Dungeon Masters answer one of the most important combat questions in Dungeons and Dragons: how hard is a character to hit? AC stands for Armor Class, and in DnD 5e it acts as the target number an attack roll must meet or exceed to land a hit. If you know your AC, you can evaluate armor upgrades, decide whether a shield is worth carrying, judge the value of cover, and estimate how risky a fight will feel before initiative is rolled.
This page does more than produce a single Armor Class number. It also estimates the probability that a creature with a given attack bonus will hit you, how often critical hits occur, and how many successful hits you should expect across multiple incoming attacks. That turns the simple idea of AC into a tactical planning tool. For players, it helps with build optimization. For DMs, it helps with encounter pacing. For content creators, it helps explain bounded accuracy and why a few points of AC can radically alter combat outcomes.
What Armor Class Means in DnD 5e
In basic terms, Armor Class measures defensive difficulty. When an attacker makes a d20 roll, they add their attack modifier. If the total meets or exceeds your AC, the attack hits. A natural 1 on the d20 always misses, and a natural 20 always hits and is usually a critical hit. Because of those two edge rules, no AC creates complete immunity and no attack bonus creates perfect certainty. There is almost always at least a 5% chance to miss and at least a 5% chance to hit.
Armor Class is usually built from one of several formulas:
- Unarmored: 10 + Dexterity modifier, unless a class feature provides an alternate formula.
- Light armor: Base armor value + full Dexterity modifier.
- Medium armor: Base armor value + Dexterity modifier up to a maximum of +2.
- Heavy armor: Fixed armor value with no Dexterity modifier added.
- Shield: Usually +2 AC while wielded.
- Cover: Often +2 or +5 AC depending on the degree of cover.
- Miscellaneous bonuses: Magic items, class features, spells, fighting styles, and situational effects.
How This AC DnD Calculator Works
This calculator first applies the armor formula you selected. If the armor allows full Dexterity, your full Dex modifier is used. If it is medium armor, the calculator caps the Dexterity contribution at +2. If it is heavy armor, Dexterity adds nothing. After that, the calculator adds shield bonuses, cover, and miscellaneous modifiers. The result is your effective Armor Class against the selected incoming attack.
Then it simulates the attack roll logic for every possible d20 result from 1 through 20. That method is more accurate than using a shortcut formula because it properly respects the automatic miss on a 1 and the automatic hit on a 20. The final output shows:
- Your final AC.
- The d20 roll the enemy generally needs to hit.
- Total hit chance, including critical hits.
- Critical hit chance, which is usually 5% unless a feature changes it.
- Expected number of hits and expected number of critical hits across the number of attacks you entered.
Why a Few Points of AC Matter So Much
DnD 5e uses a design approach commonly called bounded accuracy. Attack bonuses and DCs do not scale infinitely, which means a change of just 1 or 2 points in AC stays relevant over a large range of levels. That is why a shield, a spell like Shield of Faith, or a tactical choice like taking cover can have an outsized impact. A +2 AC bonus often removes two successful die faces from an opponent’s attack profile. On a d20, two faces equal a 10 percentage point swing before accounting for edge rules.
For example, if a monster has a +5 attack bonus and you have AC 15, the monster normally hits on a 10 or higher, which is 55% of d20 outcomes after the natural 1 rule is considered. If your AC rises to 17, that same monster now needs a 12 or higher, dropping hit chance to 45%. Across a full encounter with many attacks, that difference can prevent several hits, which often translates into a major reduction in expected damage and concentration checks.
Armor Formula Comparison Table
The table below compares common DnD 5e armor formulas and shows how Dexterity interacts with each armor category. These values are standard published armor statistics used in the core 5e rules.
| Armor Type | Base AC Formula | Dexterity Applied | Typical Use Case |
|---|---|---|---|
| Unarmored | 10 + Dex | Full Dex | Wizards, monks with alternate rules, lightly equipped characters |
| Leather / Padded | 11 + Dex | Full Dex | Early game rogues, rangers, Dex focused builds |
| Studded Leather | 12 + Dex | Full Dex | Common benchmark for high Dex characters |
| Hide | 12 + Dex max 2 | Max +2 | Budget medium armor option |
| Chain Shirt | 13 + Dex max 2 | Max +2 | Stealth friendlier medium armor |
| Scale Mail / Breastplate | 14 + Dex max 2 | Max +2 | Solid AC for balanced builds |
| Half Plate | 15 + Dex max 2 | Max +2 | Best base medium armor AC |
| Chain Mail | 16 | None | Strength builds and classic front liners |
| Splint | 17 | None | High AC heavy armor progression |
| Plate | 18 | None | Top tier non magical heavy armor benchmark |
Hit Probability Statistics by Armor Class
To make AC numbers easier to interpret, the next table shows the hit probability for a creature with a +5 attack bonus against several target AC values. These percentages assume standard 5e attack roll rules with an automatic miss on 1 and automatic hit on 20.
| Target AC | Roll Needed to Hit | Total Hit Chance | Critical Hit Chance | Expected Hits in 4 Attacks |
|---|---|---|---|---|
| 12 | 7+ | 70% | 5% | 2.8 |
| 14 | 9+ | 60% | 5% | 2.4 |
| 16 | 11+ | 50% | 5% | 2.0 |
| 18 | 13+ | 40% | 5% | 1.6 |
| 20 | 15+ | 30% | 5% | 1.2 |
| 22 | 17+ | 20% | 5% | 0.8 |
How to Interpret the Numbers in Real Play
Many players see an Armor Class total and assume they know whether their defense is good, but context matters. An AC of 16 can feel excellent at low levels against enemies with modest attack bonuses. The same AC can feel average or even fragile against higher level monsters that attack at +8, +10, or more. That is why combining AC with hit probability is so useful. Probability tells you how often your defense will actually matter at the table.
Suppose your party fighter can choose between a two handed weapon and a shield. If equipping the shield raises AC from 18 to 20, and the campaign often uses enemies with +7 to hit, the enemy hit rate falls from 50% to 40%. Across ten incoming attacks, that is about one fewer hit on average. If the average enemy damage is significant, the shield can effectively prevent a large amount of damage over time, even before considering concentration checks or the risk of dropping to 0 hit points.
Best Practices for Optimizing AC
- Match armor to your Dexterity. High Dex characters often gain more from light armor than from medium armor because they can use their full modifier.
- Do not ignore shields. A flat +2 AC is one of the strongest and most reliable defenses in the game.
- Use cover intelligently. Half cover and three quarters cover are easy to overlook, but they can swing hit rates dramatically.
- Remember temporary buffs. Spells and class features that add AC can outperform pure healing by preventing damage before it lands.
- Evaluate AC against expected attack bonuses. A build should be measured against the enemies you actually fight, not against abstract theory.
Common Mistakes When Calculating Armor Class
One of the most common errors is adding full Dexterity to medium armor. In 5e, medium armor normally caps Dexterity at +2 unless a specific feature changes that. Another frequent mistake is stacking incompatible AC formulas. For example, players sometimes try to combine mage armor with worn armor, or use multiple base AC calculations at once. In most cases, you choose one method to determine base AC, then add separately listed bonuses such as a shield or cover if applicable.
Another error is forgetting that cover affects the chance to hit even when your personal AC remains unchanged outside that moment. The calculator on this page treats cover as an effective AC increase against the incoming attack, which mirrors how players usually evaluate it in live combat. That approach is especially useful for archers, spellcasters, and DMs designing maps with defensive terrain.
AC and Expected Damage Prevention
While this tool focuses on hit chance, the deeper reason AC matters is expected damage prevention. Every percentage point of hit chance removed also reduces the expected number of hits. If you know an enemy makes three attacks at an average of 9 damage on a hit, reducing hit chance from 55% to 45% saves about 2.7 expected damage per round. Over a five round battle, that becomes 13.5 expected damage prevented. This is why defensive feats, shield usage, and positioning can be mathematically stronger than they first appear.
Critical hits deserve special mention because AC only changes them indirectly. In standard 5e rules, the critical hit chance from a natural 20 remains 5% regardless of your AC. Raising AC mostly cuts down on normal hits. That means extremely high AC does not erase danger, but it does reduce the consistent baseline damage that wears characters down over time.
Authority Sources for Probability and Statistical Reasoning
If you want to understand the mathematical side of combat modeling more deeply, these academic and government sources are excellent references for probability, uncertainty, and statistical reasoning:
- NIST e-Handbook of Statistical Methods
- Penn State STAT 414 Probability Theory
- Georgia Tech probability course materials
Frequently Asked Questions About an AC DnD Calculator
Does higher AC always mean a better build? Not always. AC is one defensive layer. Hit points, saving throws, resistance, mobility, control, and positioning also matter. Still, AC remains one of the most efficient and predictable forms of defense in 5e.
Why does the hit chance never go to 0%? Because a natural 20 on the d20 always hits under standard 5e rules. Even against very high AC, enemies usually retain at least a 5% chance to connect.
Can this calculator replace reading the rules? It is best used as a fast planning tool. Character specific exceptions, magic items, feats, and class features can alter AC calculations. Always check the exact text of your build if something seems unusual.
Is cover included? Yes. You can add common cover bonuses to see your effective AC against the current attack scenario. That is useful for ranged engagements, chokepoints, and tactical map play.
Final Thoughts
An AC DnD calculator is valuable because it translates a rulebook concept into practical decisions. Instead of asking whether AC 17 is good in the abstract, you can ask a more useful question: how often will the enemies in this campaign hit me if I stand here, use this armor, and carry this shield? That shift from raw number to probability is what makes the tool strategically powerful.
Use the calculator above whenever you compare equipment, test a build, prep an encounter, or explain survivability to newer players. In DnD 5e, a single point of AC can matter more than it looks. When combat stretches across multiple rounds and multiple attacks, that small edge often becomes the difference between holding the front line and going down.