📐 Math

DnD Spell Slots Calculator – Track Magic Easily

Free DnD spell slots calculator to manage your character's magic instantly. Enter level and class to see available slots per spell level.

⚡ Free to use 📱 Mobile friendly 🕒 Updated: June 13, 2026
🧮 Dnd Spell Slots Calculator
Total Spell Slots
0
Standard Spellcasting
document.getElementById('i3').addEventListener('change', function() { document.getElementById('pact-level-group').style.display = this.value === 'yes' ? 'block' : 'none'; }); function calculate() { const level = parseInt(document.getElementById('i1').value) || 1; const mod = parseInt(document.getElementById('i2').value) || 0; const isWarlock = document.getElementById('i3').value === 'yes'; const pactLevel = parseInt(document.getElementById('i4').value) || 1; // Standard spell slots table (PHB) - slots per level for full casters const standardSlots = { 1: [2, 0, 0, 0, 0, 0, 0, 0, 0], 2: [3, 0, 0, 0, 0, 0, 0, 0, 0], 3: [4, 2, 0, 0, 0, 0, 0, 0, 0], 4: [4, 3, 0, 0, 0, 0, 0, 0, 0], 5: [4, 3, 2, 0, 0, 0, 0, 0, 0], 6: [4, 3, 3, 0, 0, 0, 0, 0, 0], 7: [4, 3, 3, 1, 0, 0, 0, 0, 0], 8: [4, 3, 3, 2, 0, 0, 0, 0, 0], 9: [4, 3, 3, 3, 1, 0, 0, 0, 0], 10: [4, 3, 3, 3, 2, 0, 0, 0, 0], 11: [4, 3, 3, 3, 2, 1, 0, 0, 0], 12: [4, 3, 3, 3, 2, 1, 0, 0, 0], 13: [4, 3, 3, 3, 2, 1, 1, 0, 0], 14: [4, 3, 3, 3, 2, 1, 1, 0, 0], 15: [4, 3, 3, 3, 2, 1, 1, 1, 0], 16: [4, 3, 3, 3, 2, 1, 1, 1, 0], 17: [4, 3, 3, 3, 2, 1, 1, 1, 1], 18: [4, 3, 3, 3, 3, 1, 1, 1, 1], 19: [4, 3, 3, 3, 3, 2, 1, 1, 1], 20: [4, 3, 3, 3, 3, 2, 2, 1, 1] }; // Pact magic slots (Warlock) - number of slots per short rest const pactSlotsByLevel = { 1: { slots: 1, level: 1 }, 2: { slots: 2, level: 1 }, 3: { slots: 2, level: 2 }, 4: { slots: 2, level: 2 }, 5: { slots: 2, level: 3 }, 6: { slots: 2, level: 3 }, 7: { slots: 2, level: 4 }, 8: { slots: 2, level: 4 }, 9: { slots: 2, level: 5 }, 10: { slots: 2, level: 5 }, 11: { slots: 3, level: 5 }, 12: { slots: 3, level: 5 }, 13: { slots: 3, level: 5 }, 14: { slots: 3, level: 5 }, 15: { slots: 3, level: 5 }, 16: { slots: 3, level: 5 }, 17: { slots: 4, level: 5 }, 18: { slots: 4, level: 5 }, 19: { slots: 4, level: 5 }, 20: { slots: 4, level: 5 } }; let slots = []; let totalSlots = 0; let breakdownRows = []; let slotCards = []; let primaryLabel = "Total Spell Slots"; let primarySub = "Standard Spellcasting"; if (isWarlock) { // Warlock Pact Magic const pactInfo = pactSlotsByLevel[level] || pactSlotsByLevel[20]; const pactSlotsCount = pactInfo.slots; const pactSlotLevel = pactInfo.level; slots = new Array(9).fill(0); slots[pactSlotLevel - 1] = pactSlotsCount; totalSlots = pactSlotsCount; primarySub = `Pact Magic (${pactSlotLevel}th-level slots)`; breakdownRows.push({ label: 'Pact Magic Slots', value: pactSlotsCount, detail: `Level ${pactSlotLevel}` }); breakdownRows.push({ label: 'Short Rest Recovery', value: 'Yes', detail: 'All slots return on short rest' }); for (let i = 0; i < 9; i++) { if (slots[i] > 0) { let cls = 'green'; if (i >= 5) cls = 'red'; else if (i >= 3) cls = 'yellow'; slotCards.push({ label: `${i+1}st`, value: slots[i], cls: cls }); } } } else { // Standard spellcasting slots = standardSlots[level] || standardSlots[20]; totalSlots = slots.reduce((a, b) => a + b, 0); // Add bonus slots from ability modifier (for levels where you have slots of that level) // Bonus slots: cleric/druid/paladin etc
📊 Spell Slots Available per Level for a 10th-Level Wizard

What is Dnd Spell Slots Calculator?

A Dnd Spell Slots Calculator is a specialized digital tool designed to automatically compute the number and level of available spell slots for a Dungeons & Dragons 5th Edition (5e) character based on their class, level, and relevant ability scores. Instead of manually cross-referencing the Player’s Handbook’s multiclassing tables or tracking partial caster progression, this calculator instantly delivers a clear, legal breakdown of your full-caster, half-caster, or third-caster slot totals. In real-world gameplay, this eliminates the most common source of table arguments—miscalculated spell slots during a tense combat encounter or long rest planning.

Dungeon Masters and players alike rely on this tool to ensure fair play and accurate resource management. A wizard who accidentally has an extra 5th-level slot can trivialize a boss fight, while a paladin who shortchanges themselves might feel underpowered. This calculator bridges that gap, making it indispensable for both novice players learning the rules and veteran DMs running complex multi-classed NPCs.

This free online Dnd Spell Slots Calculator requires no signup, no account creation, and no downloads. Simply input your character’s class levels and ability modifiers, and the tool instantly returns a full spell slot matrix from 1st through 9th level, complete with a step-by-step breakdown of how each slot was calculated.

How to Use This Dnd Spell Slots Calculator

Using this calculator is straightforward, even if you have never played D&D before. The interface is designed to mimic the logic of the official 5e multiclassing rules, so you can trust the output. Follow these five simple steps to generate your character’s exact spell slot progression.

  1. Select Your Primary Class: From the dropdown menu, choose the class that contributes the most to your spellcasting progression. This is usually your highest-level full-caster class (like Wizard, Cleric, Sorcerer, Bard, Druid) or the class that defines your spellcasting ability (like Paladin for half-casters or Eldritch Knight for third-casters). The calculator uses this to determine your base caster level and spellcasting ability modifier.
  2. Enter Your Character Level: Input your total character level (the sum of all class levels). The calculator will automatically determine how many spell slots you should have for a single-classed character of that level. For example, a 5th-level Wizard should have four 1st-level slots, three 2nd-level slots, and two 3rd-level slots.
  3. Add Multiclass Levels (Optional): If your character has levels in more than one spellcasting class, click "Add Multiclass" and select the secondary class and its level. The calculator will apply the correct fractional progression: full-casters add 1 per level, half-casters (Paladin, Ranger) add 0.5 per level, and third-casters (Arcane Trickster, Eldritch Knight) add 0.33 per level. The tool rounds down the total caster level as per official rules.
  4. Input Your Spellcasting Ability Modifier: Enter your character’s relevant ability score modifier (Intelligence for Wizards, Wisdom for Clerics/Druids, Charisma for Sorcerers/Bards/Paladins). This modifier determines how many spells you can prepare (for prepared casters) and the maximum spell level you can learn. The calculator uses this to validate that you can actually cast spells of a given level—for example, a Wizard with a +2 modifier cannot cast 5th-level spells until they reach level 9.
  5. Click "Calculate Spell Slots": Press the large green button. Within milliseconds, the tool displays a full spell slot table showing slots per level (1st through 9th) and a "Total Caster Level" summary. Below the table, a detailed step-by-step breakdown explains exactly how each slot count was derived, including any rounding rules applied for multiclassing.

For best results, ensure you have your character sheet handy. The calculator also includes a "Reset" button to clear all fields and start over, perfect for testing different multiclass combinations before committing to a build.

Formula and Calculation Method

The Dnd Spell Slots Calculator uses the official multiclassing spell slot formula from the Dungeons & Dragons 5th Edition Player’s Handbook (Chapter 6: Customization Options). This formula is essential because it prevents characters from having more high-level spell slots than their combined experience warrants, maintaining game balance. The core principle is that your total spell slots are determined by your "Caster Level," not your individual class levels.

Formula
Total Caster Level = Full-Caster Levels + (Half-Caster Levels ÷ 2) + (Third-Caster Levels ÷ 3)
Then, refer to the Multiclass Spellcaster table (PHB p.165) using the rounded-down Total Caster Level.

Each variable in the formula represents a specific category of spellcasting progression. A "Full-Caster" class (Bard, Cleric, Druid, Sorcerer, Wizard) contributes 1 full level per class level. A "Half-Caster" class (Paladin, Ranger) contributes 0.5 levels per class level. A "Third-Caster" class (Arcane Trickster, Eldritch Knight) contributes 0.33 levels per class level. The sum is always rounded down to the nearest whole number before consulting the table.

Understanding the Variables

The primary inputs are your character levels in each spellcasting class. However, there is a critical nuance: the calculator must also account for the "Spellcasting Ability" minimum requirement. For example, a Cleric with a Wisdom score of 12 (+1 modifier) cannot cast 4th-level spells, even if their total caster level would allow it. The calculator automatically checks this by comparing your ability modifier to the spell level: you need a minimum modifier of +1 for 1st-level spells, +2 for 2nd-level, +3 for 3rd-level, and so on, up to +5 for 9th-level spells. If your modifier is too low, the tool grays out those slots and adds a warning note.

Another variable is the "Pact Magic" exception for Warlocks. Warlocks do not use the standard spell slot progression; they have Pact Slots that recharge on a short rest. When multiclassing with a Warlock, the calculator separates Pact Magic slots from standard spell slots. The tool adds a separate "Pact Slots" row showing the number and level of Warlock spell slots (e.g., two 3rd-level slots for a 5th-level Warlock). These slots are not combined with standard slots for casting, but a Warlock can use their Pact Slots to cast any spell they know, including spells from other classes.

Step-by-Step Calculation

Here is how the math works behind the scenes. First, the calculator sums your total caster level by applying the fractional multipliers. For example, a Paladin 6 / Sorcerer 4 has 6 half-caster levels (6 × 0.5 = 3) plus 4 full-caster levels (4 × 1 = 4), for a total caster level of 7. Second, it rounds down to the nearest integer (7 in this case). Third, it looks up the 7th-level row on the Multiclass Spellcaster table: that row shows four 1st-level slots, three 2nd-level slots, three 3rd-level slots, and one 4th-level slot. Fourth, it checks the character’s Charisma modifier (since both Paladin and Sorcerer use Charisma). If the modifier is +3 or higher, all slots are valid. If the modifier is +2, the 4th-level slot is invalid and removed. The calculator then displays the final table with any invalid slots marked.

Example Calculation

Let’s walk through a realistic scenario that many players encounter: a Cleric 5 / Paladin 2 multiclass character. This is a common "warpriest" build that wants heavy armor and divine smite while maintaining strong spellcasting. The player needs to know exactly how many 3rd-level spell slots they have for Spirit Guardians.

Example Scenario: A 7th-level character with Cleric 5 (full-caster) and Paladin 2 (half-caster). Wisdom modifier is +4 (Wisdom 18), Charisma modifier is +2 (Charisma 14). The player wants to cast Spirit Guardians (3rd-level) and has access to Paladin smite spells.

Step 1: Calculate Total Caster Level. Cleric 5 contributes 5 full-caster levels. Paladin 2 contributes 2 × 0.5 = 1 half-caster level. Total = 5 + 1 = 6. No rounding needed. Step 2: Look up the 6th-level row on the Multiclass Spellcaster table. This row shows: four 1st-level slots, three 2nd-level slots, and three 3rd-level slots. No 4th-level slots at caster level 6. Step 3: Check ability modifiers. The character uses Wisdom for Cleric spells and Charisma for Paladin spells. For 3rd-level spells, the minimum required modifier is +3. Wisdom is +4, so 3rd-level slots are valid for Cleric spells. Charisma is +2, so the Paladin cannot cast 3rd-level spells from the Paladin list (but they can still use those slots to upcast lower-level Paladin spells or for Divine Smite). Step 4: Display results. The calculator shows four 1st-level, three 2nd-level, and three 3rd-level slots. A note appears: "Charisma modifier (+2) is insufficient for 3rd-level Paladin spells. These slots can still be used for Cleric spells or Divine Smite."

In plain English, this character has three 3rd-level spell slots per day. They can cast Spirit Guardians three times, or they can use those slots to power a Divine Smite for 4d8 radiant damage. Without the calculator, the player might mistakenly think they have only two 3rd-level slots (because a single-class Cleric 5 has only two), or they might try to gain 4th-level slots (which they cannot). This tool prevents those errors.

Another Example

Consider a Wizard 9 / Eldritch Knight 3 character. The Wizard is a full-caster (9 levels), and the Eldritch Knight is a third-caster (3 levels × 0.33 = 0.99, rounded down to 0). Total caster level = 9 + 0 = 9. The 9th-level row on the multiclass table shows four 1st-level, three 2nd-level, three 3rd-level, three 4th-level, and one 5th-level slot. The character’s Intelligence modifier is +5 (Intelligence 20). All slots are valid. However, the Eldritch Knight’s spells are limited to 2nd-level maximum (since a 3rd-level EK only knows up to 2nd-level spells). The calculator adds a note: "Eldritch Knight spells are capped at 2nd level. You can use higher-level slots to upcast your EK spells or cast Wizard spells." This example shows how fractional rounding can erase a multiclass contribution entirely—a common pitfall the calculator automatically handles.

Benefits of Using Dnd Spell Slots Calculator

Using a dedicated Dnd Spell Slots Calculator transforms your tabletop experience from tedious bookkeeping into seamless gameplay. The tool is not just a convenience; it is a strategic advantage that saves time, reduces errors, and opens up creative multiclass possibilities you might have dismissed as too complex.

  • Eliminates Manual Table Lookups: Instead of flipping through the Player’s Handbook to find the multiclassing table and then doing mental math with fractions, the calculator does it in one click. This is especially valuable during a session when you need to know your slot count immediately after leveling up or after a long rest. The step-by-step breakdown also serves as a learning tool for new players.
  • Prevents Illegal Multiclass Combinations: Many players accidentally create characters with too many high-level slots by misapplying the rounding rules. For example, a Paladin 4 / Ranger 4 might think they have a caster level of 8 (4+4), but the correct calculation is (4×0.5)+(4×0.5)=4. The calculator catches this and shows only 2nd-level slots, preventing an unfair advantage at the table.
  • Integrates Ability Score Checks: Unlike a simple table lookup, this calculator automatically verifies that your character’s ability score modifier is high enough to cast spells of each level. This is a rule that is easy to forget, especially for multiclass characters with different casting abilities. The tool prevents the embarrassing moment of trying to cast a 5th-level spell with a +2 modifier.
  • Handles Warlock Pact Magic Separately: Warlock multiclassing is notoriously confusing because Pact Magic slots recharge on short rests and are tracked separately. This calculator clearly separates Pact Slots from standard slots, showing both counts in a unified interface. It also warns you that Pact Slots cannot be combined with standard slots for casting, but can be used to cast any known spell.
  • Supports Theory-Crafting and Build Optimization: Before committing to a multiclass build, you can test different level splits to see how your spell slot progression changes. For example, a Sorcerer 6 / Paladin 6 has a caster level of 9 (6 + 3), giving access to 5th-level slots. A Sorcerer 7 / Paladin 5 has a caster level of 9 as well (7 + 2.5 = 9.5, rounded down to 9). The calculator lets you compare these two builds to see which offers better slot distribution for your playstyle.

Tips and Tricks for Best Results

To get the most out of your Dnd Spell Slots Calculator, follow these expert tips that go beyond basic usage. These insights come from years of DM experience and community best practices for optimizing spell slot management.

Pro Tips

  • Always enter your class levels in the order that your character gained them. The calculator does not care about order for the final result, but it helps you verify that your progression was legal. For example, if you started as a Paladin and then took Wizard levels, your spellcasting ability for Wizard spells is Intelligence, not Charisma. The calculator uses the ability score you input for each class separately.
  • Use the "Reset" button before testing a new build. The calculator retains your previous inputs unless you clear them. This prevents confusion when switching between different character concepts during a theory-crafting session.
  • For characters with the "Magic Initiate" feat or racial spellcasting (like a Drow’s innate Darkness), remember that these are not spell slots. The calculator only tracks class-based spell slots. Keep a separate note for any bonus spells that do not consume slots.
  • If you are a Dungeon Master, use this calculator to design balanced encounters with NPC spellcasters. You can quickly generate the exact spell slot array for a multiclassed villain, ensuring they have the right number of high-level slots to challenge your party without being unfair.
  • Bookmark the calculator on your phone or tablet. Many D&D sessions happen at physical tables, and having a mobile-friendly tool means you can check your slots without breaking immersion or pulling out a laptop.

Common Mistakes to Avoid