Articles ·
Armor Class in D&D 5e: How AC Works and How to Calculate It
Armor Class in D&D 5e explained: how AC decides hits, the formula for every armor type, shields, class features, cover, and the 2024 changes.
Armor Class (AC) is the number an attacker has to meet or beat with a d20 roll to hit you. Without armor it is 10 + your Dexterity modifier. Armor, a shield, class features and spells change that number, and you always use just one base calculation at a time. This guide gives you every formula, worked examples, and a clear way to keep the number right at the table, including in a browser-based tabletop like Aeternum, where the sheet does the arithmetic and rolls the dice for you.
TL;DR
An attack hits when the d20 roll plus modifiers equals or beats the target's AC. A natural 20 always hits, and a natural 1 always misses.
Unarmored AC is 10 + Dexterity modifier. Light armor adds your full Dex, medium armor caps Dex at +2, and heavy armor ignores Dex.
A shield adds +2. Features like Barbarian and Monk Unarmored Defense replace the base formula, and base formulas never stack.
AC does not rise automatically with level. It grows through better armor, Dexterity, magic items and features.
The 2024 revised rules keep the same core math and the same armor table.
Table of Contents
What Armor Class actually does
The base formulas
Armor types and how Dexterity applies
Shields and what stacks with what
Cover and temporary effects
Does AC go up with level?
The 2024 revised rules
Common AC mistakes
Letting the sheet do the math
Perspective
Try it in your browser
FAQ
Sources
What Armor Class actually does
The Player's Handbook says that the target number for an attack roll is called Armor Class, and that AC represents how well a character avoids being wounded. It is not only armor. A nimble rogue in leather and a plate-clad fighter both have an AC, they just reach it differently. That is also why the stat has such a neutral name: monks, barbarians and druids may wear little or no armor and still need a defense number.
The hit rule is simple. Per the 5e SRD's attack rules, an attack hits if the d20 roll plus modifiers equals or exceeds the target's AC. A natural 20 hits regardless of AC and is a critical hit. A natural 1 misses.
Here is what that means in practice. A goblin with a +4 to hit swings at a character with AC 15. The goblin needs a 11 or higher on the d20 (11 + 4 = 15). That is a 50% chance. Against AC 18, it needs a 14 or higher, which is a 35% chance. Each point of AC shifts the odds by 5 percentage points, apart from the natural 1 and natural 20 exceptions.
The base formulas
The Sage Advice Compendium, the official rules clarification document, lists the ways to set your base AC:
| Situation | Base AC |
| No armor | 10 + Dex modifier |
| Armor | The armor's number (plus Dex rules below) |
| Barbarian Unarmored Defense | 10 + Dex + Con |
| Monk Unarmored Defense | 10 + Dex + Wis |
| Draconic Resilience | 13 + Dex |
| Natural armor (some creatures) | 10 + Dex + natural armor bonus |
These formulas are mutually exclusive. If two features offer different ways to calculate AC, you choose one. You never add them together.
The Player's Handbook states the baseline plainly: without armor or a shield, AC equals 10 + Dexterity modifier. A character with Dexterity 14 (a +2 modifier) therefore has AC 12 in a plain tunic.
Armor types and how Dexterity applies
The SRD 5.1 sets three rules, one per armor category:
Light armor: add your full Dexterity modifier to the armor's base number.
Medium armor: add your Dexterity modifier, to a maximum of +2.
Create a Free account · View plans · All articles
More from Aeternum
- D&D Monster Creation: Build a 5e Monster Step by Step (Articles): Learn how to make a D&D monster: concept, stat block, challenge rating, abilities and playtesting, with worked numbers for 5e and the 2024 rules.
- D&D Character Optimization: Build Strong, Play Well (Articles): Learn how to optimize a D&D 5e character: ability scores, class, feats, table fit and party balance, plus how to test the build in play.
- D&D Campaign Prep: What to Prepare and What to Skip (Articles): A practical D&D campaign prep routine: the one-page campaign overview, a session skeleton, note-taking habits and how to keep it all in one place.
- How to Make D&D Battle Maps That Play Well (Articles): Make a D&D battle map from scratch: plan the grid, terrain and hazards, sketch or build it digitally, then get it ready for an online session.
- How to Create D&D NPCs Fast and Make Them Stick (Articles): Create D&D NPCs in minutes: a name, a want, one trait and a limit. Learn when to stat them out, how to track them and how to run them at the table.