To make a ranged spell attack in 5e, roll a d20 and add your spell attack bonus. Your spell attack bonus equals your proficiency bonus + your spellcasting ability modifier.
For example, if you’re a Wizard, Intelligence as your spellcasting ability. If you have an Intelligence score of 18, your spellcasting ability modifier is +4.
If you’re level 4, your proficiency bonus is +3. Add them together to get a spell attack bonus of +7.
So, to make a ranged spell attack, you’d follow these steps:
-
Choose a target within the spell’s range (listed in the spell’s description)
-
Roll a d20
-
Add your spell attack bonus
-
If the result meets or exceeds the target’s AC, the attack hits; if not, it misses
If you’re unsure of your spellcasting ability modifier or proficiency bonus, consult the tables below to calculate your ranged spell attack bonus.
Note: If a hostile creature is within 5 feet of you when you make a ranged spell attack, you have disadvantage on the attack roll. This means that you roll 2d20 and choose the lower number when making your attack.
Spellcasting Ability by Class
| Class | Spellcasting Ability |
|---|---|
| Bard | Charisma |
| Paladin | Charisma |
| Sorcerer | Charisma |
| Warlock | Charisma |
| Artificer | Intelligence |
| Wizard | Intelligence |
| Fighter (Eldritch Knight) | Intelligence |
| Rogue (Arcane Trickster) | Intelligence |
| Cleric | Wisdom |
| Druid | Wisdom |
| Ranger | Wisdom |
| Monk (Way of the Four Elements) | Wisdom |
Proficiency Bonus by Level
| Level Range | Proficiency Bonus |
|---|---|
| 1-4 | +2 |
| 5-8 | +3 |
| 9-12 | +4 |
| 13-16 | +5 |
| 17-20 | +6 |




![Opportunity Attack 5e [DnD Rule Guide] druid-wereraven-cleric-minis-dnd-5e](https://www.dndlounge.com/wp-content/uploads/2023/04/druid-wereraven-cleric-minis-dnd-5e-300x169.png)
![Vicious Mockery 5e [DnD 2024 Spell Guide: Uses, Rules, Tips] owlbear-and-bugbears-dungeons-and-dragons](https://www.dndlounge.com/wp-content/uploads/2022/03/owlbear-and-bugbears-dungeons-and-dragons-300x199.jpg)