up:: [[Dice]]
> [!quote] Player's Handbook 2024 p. 12
>
An *attack roll* determines whether an attack hits a target. An *attack roll* hits if the roll equals or exceeds the target's [[Armor Class]]. *Attack rolls* usually occur in battle, see [[Combat]], but the [[GM]] might also ask for an *attack roll* in other situations, such as an archery competition.
### Ability Modifier
The table below shows which ability modifier to use for different types of *attack rolls*.
| Ability | Attack Type |
| ------------- | --------------------------------------------------------------- |
| [[Strength]] | *Melee Attack* with a [[Weapons\|Weapon]] or [[Unarmed Strike]] |
| [[Dexterity]] | *Ranged Attack* with a [[Weapons\|Weapon]] |
| Varies | [[Spell Attack]] |
Some features let you use different ability modifiers from those listed.
> [!example]
> For example, the [[Finesse]] [[Weapon Properties|Weapon Property]] lets you use [[Strength]] or [[Dexterity]] with a [[Weapons|Weapon]] that has that property.
### Proficiency Bonus
You add your [[Proficiency Bonus]] to your *attack roll* when you attack using a weapon you have [[Weapon Proficiency]] with, as well as when you attack with a spell.
related:: [[Attack Action]]