Spell Save DC & Spell Attack Calculator

Pick a spellcasting class, level and ability score to get your spell save DC, spell attack bonus, cantrips, prepared spells and spell slots, with the SRD 5.2.1 formulas and class tables, then jump to your classโ€™s spell list.

โœจ Your caster

Use the bonus boxes for magic items that add to spell attacks or your save DC.

๐Ÿ“œ Spellcasting

Browse spells

๐Ÿงฎ Spell save DC by modifier and level

Spell save DC for each spellcasting ability modifier (rows) and character level (columns). Subtract 8 to get the spell attack bonus.

Spell save DC by ability modifier and level
Mod1234567891011121314151617181920
โˆ’1999910101010111111111212121213131313
+01010101011111111121212121313131314141414
+11111111112121212131313131414141415151515
+21212121213131313141414141515151516161616
+31313131314141414151515151616161617171717
+41414141415151515161616161717171718181818
+51515151516161616171717171818181819191919

Spellcasting rules

Spellcasting. Note both the saving throw DC for your spells and the attack bonus for attacks you make with them, using these formulas:

Spell save DC = 8 + spellcasting ability modifier + Proficiency Bonus

Spell attack bonus = spellcasting ability modifier + Proficiency Bonus

Your spellcasting ability modifier for a spell is determined by whatever feature gives you the ability to cast the spell.

Spell Slots, Cantrips, and Prepared Spells. If your class gives you the Spellcasting or Pact Magic feature, your class features table shows the number of spell slots you have available, how many cantrips you know, and how many spells you can prepare. Choose your cantrips and prepared spells, and note themโ€”along with your number of spell slotsโ€”on your character sheet.

Spellcasting by class

Spellcasting by class
ClassAbilitySpellcasting FocusChanging prepared spells
BardCharismaYou can use a Musical Instrument as a Spellcasting Focus for your Bard spells.Whenever you gain a Bard level, you can replace one spell on your list with another Bard spell for which you have spell slots.
ClericWisdomYou can use a Holy Symbol as a Spellcasting Focus for your Cleric spells.Whenever you finish a Long Rest, you can change your list of prepared spells, replacing any of the spells there with other Cleric spells for which you have spell slots.
DruidWisdomYou can use a Druidic Focus as a Spellcasting Focus for your Druid spells.Whenever you finish a Long Rest, you can change your list of prepared spells, replacing any of the spells with other Druid spells for which you have spell slots.
PaladinCharismaYou can use a Holy Symbol as a Spellcasting Focus for your Paladin spells.Whenever you finish a Long Rest, you can replace one spell on your list with another Paladin spell for which you have spell slots.
RangerWisdomYou can use a Druidic Focus as a Spellcasting Focus for your Ranger spells.Whenever you finish a Long Rest, you can replace one spell on your list with another Ranger spell for which you have spell slots.
SorcererCharismaYou can use an Arcane Focus as a Spellcasting Focus for your Sorcerer spells.Whenever you gain a Sorcerer level, you can replace one spell on your list with another Sorcerer spell for which you have spell slots.
WarlockCharismaYou can use an Arcane Focus as a Spellcasting Focus for your Warlock spells.Whenever you gain a Warlock level, you can replace one spell on your list with another Warlock spell of an eligible level.
WizardIntelligenceYou can use an Arcane Focus or your spellbook as a Spellcasting Focus for your Wizard spells.Whenever you finish a Long Rest, you can change your list of prepared spells, replacing any of the spells there with spells from your spellbook.

About this page

The formulas, spellcasting abilities, focuses, prepared-spell rules and the cantrip, prepared spell and slot numbers are from the SRD 5.2.1 (pages 22 and 28โ€“82), and were checked against the PDF. The calculator is original. It covers single-class casters; for a mix of classes use the multiclass calculator, which works out multiclass spell slots. Read every spell in the spell reference, see full progressions on the class tables page, and roll scores with the ability score calculator.

Source & licence

This work includes material from the System Reference Document 5.2.1 ("SRD 5.2.1") by Wizards of the Coast LLC, available at https://www.dndbeyond.com/srd. The SRD 5.2.1 is licensed under the Creative Commons Attribution 4.0 International License, available at https://creativecommons.org/licenses/by/4.0/legalcode.

Tavern & Torch is not affiliated with or endorsed by Wizards of the Coast.

Frequently asked questions

How do you calculate spell save DC?

Spell save DC = 8 + your spellcasting ability modifier + your Proficiency Bonus. A level 1 Wizard with 16 Intelligence (+3) has a DC of 8 + 3 + 2 = 13.

How do you calculate spell attack bonus?

Spell attack bonus = your spellcasting ability modifier + your Proficiency Bonus. Itโ€™s always 8 less than your spell save DC, unless a magic item boosts only one of them.

What is each classโ€™s spellcasting ability?

Intelligence for the Wizard; Wisdom for the Cleric, Druid and Ranger; and Charisma for the Bard, Paladin, Sorcerer and Warlock.