rules-reference

Dungeons & Dragons Attack Roll Modifiers: How They Work and How to Use Them

In Dungeons & Dragons, a successful attack roll depends on understanding how attack roll modifiers change your odds of hitting. An attack roll compares your d20 result to a targ...

Mara Ellison
Dungeons & Dragons Attack Roll Modifiers: How They Work and How to Use Them

In Dungeons & Dragons, a successful attack roll depends on understanding how attack roll modifiers change your odds of hitting. An attack roll compares your d20 result to a target’s armor class, but a wide range of factors can increase or decrease that number. From ability scores and proficiency to spells, class features, and conditions, knowing how attack roll modifiers work helps you consistently hit your targets. This guide explains how bonuses and penalties stack, when concentration matters, and how to plan builds that maximize accuracy.

What Is an Attack Roll in D&D?

An attack roll determines whether a melee or ranged attack hits a target in D&D. To make an attack roll, you roll a twenty-sided die (d20) and add relevant modifiers, such as your proficiency bonus and ability modifiers. If the total equals or exceeds the target’s armor class (AC), the attack hits and you can proceed to damage. Because AC is often fixed for a given opponent, improving your attack roll modifiers is one of the most reliable ways to increase your hit rate and overall effectiveness.

Key Sources of Attack Roll Bonuses

Attack roll modifiers come from several predictable sources. Understanding each source helps you plan your actions and optimize your character between adventures.

Ability Scores

Strength affects attack rolls for melee weapon attacks that use Strength, while Dexterity affects attacks that use Dexterity, including ranged weapon attacks and some spells. For spell attacks, your spellcasting ability modifier (such as Intelligence, Wisdom, or Charisma) usually applies instead.

Proficiency and Features

Proficiency bonus represents your training and general competence. You add your proficiency bonus to attack rolls when you are proficient with the weapon or when a class feature, fighting style, or other rule grants that proficiency. Features like a fighter’s fighting style, a monk’s Martial Arts, or a bard’s Bardic Inspiration can provide additional bonuses.

Spells and Magical Effects

Certain spells directly change your attack rolls. For example, Bless adds a d4 to attack rolls, while Bane imposes penalties to enemy attack rolls. Concentration spells such as Haste can improve your attack rolls, but maintaining concentration requires succeeding on Constitution saving throws when you take damage.

Common Penalties and How They Arise

Attack roll penalties can come from your own choices, enemy actions, or environmental conditions.

Disadvantage and Advantage

Rolling with disadvantage means you roll two d20s and take the lower result, which reduces your expected average. Advantage, rolling the higher of two d20s, increases your expected average. Multiple sources of advantage or disadvantage usually do not stack beyond the simple highest-or-lowest rule unless a specific feature states otherwise.

Conditions That Impair Attack Rolls

Conditions such as blinded, charmed, deafened, frightened, grappled, paralyzed, petrified, poisoned, prone, and stunned can impose penalties or restrict actions. Blinded, for example, often grants advantage to attackers against you but imposes disadvantage on your attack rolls if you cannot see the target.

How Bonuses and Penalties Interact

D&D typically asks you to add bonuses and subtract penalties to reach a final attack roll total. Most penalties are applied as straightforward subtractions, while bonuses are added. All bonuses and penalties that apply generally stack, meaning you add them together before comparing to AC. Important exceptions exist for situations like advantage and disadvantage, which combine in specific ways rather than simply adding numeric bonuses.

Step-by-Step Example

Assume a character with a +7 Strength modifier, +3 proficiency bonus, and a +1 bonus from a magic weapon attacks with a longsword. The calculation is as follows:

  • d20 roll: 14
  • + Strength modifier: 7
  • + Proficiency bonus: 3
  • + Weapon bonus: 1
  • Total attack roll: 25

Against an AC 15 foe, this hits with ease. Each bonus here originates from a distinct rule layer, illustrating how class features, items, and abilities combine to raise your accuracy.

Concentration and Attack Rolls

Concentration acts as a fragile resource that you maintain through attacks and damage. Taking damage while concentrating requires a Constitution saving throw to keep your concentration-based attack roll modifiers active. Spells like Haste that improve your attack rolls can end if you fail this save, which can abruptly reduce your accuracy. Planning ways to protect your concentration—such as with the War Caster feat or spells like Shield—helps sustain your effectiveness in prolonged fights.

Tactics for Improving Attack Accuracy

Increasing your attack roll modifiers often involves boosting your ability scores, selecting weapons and fighting styles that match your proficiencies, and using spells or features that grant bonuses.

Useful Comparisons

raises expected value
Modifier SourceTypical MagnitudeDuration
Strength or Dexterity modifier+1 to +5 (varies by build)Persistent while able score is high
Proficiency bonus+2 to +6 depending on levelPersistent while proficient
Bless spell+1d4 per cast dieConcentration, up to 1 minute
Magic weapon bonus+1 to +3Persistent while wielded
Advantage (situational) No fixed number; increases hit chanceSingle attack or concentration spell

Frequently Asked Questions

  • Can you have more than one bonus to attack rolls? Yes, you can add multiple bonuses, such as a Strength modifier, proficiency bonus, and weapon bonus, as long as each source is applicable. Features that say you cannot combine bonuses usually refer to specific situations rather than all bonuses.
  • Does disadvantage cancel advantage? Generally, yes. When you have both disadvantage and advantage on the same roll, they cancel, and you roll normally. Specific features that grant multiple advantages or disadvantages may interact differently.
  • What happens to attack roll modifiers on a miss? On a miss, none of the damage occurs, but the modifiers still applied to the roll for that attack. Your total attack roll is what matters for determining whether you hit or miss.
  • Can spells grant bonus damage instead of bonus to hit? Yes, many spells add bonus damage on a hit without changing the attack roll itself. For example, Guiding Bolt adds extra damage on a hit but does not change your attack roll total.

Bottom Line

Attack roll modifiers are the sum of your ability scores, proficiencies, class features, items, and situational effects. Understanding which bonuses apply, how they stack, and what penalties can reduce your accuracy lets you make consistent, informed decisions in combat. By managing concentration, choosing the right tools, and leveraging advantages, you steadily improve your chance to hit and deal reliable damage over time.

Related Reading

More pages in this topic cluster.

Magical Potions 5e: A Comprehensive Guide to Brewing, Rules, and Creative Uses

In Dungeons & Dragons 5th edition, a magical potion is a consumable item that produces a one-time magical effect when imbibed. Potions belong to the broader category of magic it...

Read next
Dual Wielding Fighting Style 5e: Rules, Benefits, and Practical Builds

Dual wielding in D&D 5e involves using two one-handed weapons while you are not holding a shield or a bonus-compatible object in your off-hand. The core rules require you to tak...

Read next
Dungeons & Dragons 5e Prestidigitation: A Practical Player’s Guide

Prestidigitation in Dungeons & Dragons 5th edition is a cantrip available to sorcerers and the wizard spell list. As an evocation cantrip with a range of self or touch, it scale...

Read next