Planning a well-balanced D&D 5th Edition encounter is one of the DM’s most important skills. Too easy and the players feel unchallenged; too deadly and the session ends in a TPK (total party kill) that derails the campaign. The D&D 5e Encounter XP Calculator implements the official encounter-building system from the Dungeon Master’s Guide Chapter 3, giving you the adjusted XP, the difficulty rating, and the XP earned per character — all in seconds.
How it works
The encounter-building system has two moving parts: party thresholds and adjusted monster XP.
Party thresholds — The DMG provides four XP thresholds for each character level from 1 to 20, labelled Easy, Medium, Hard, and Deadly. To get thresholds for your whole party you sum each character’s individual threshold. A party of four level-5 characters has combined thresholds of 1,000 / 2,000 / 3,000 / 4,400 XP.
Adjusted XP — Every monster has an XP value tied to its Challenge Rating. Start with the raw total: multiply each monster’s XP by its count and add everything together. Then apply the encounter multiplier, which scales with the number of monsters present (x1 for a solo monster up to x4 for 15 or more). The multiplier captures the reality that coordinated groups of enemies are far more dangerous than their individual XP values suggest.
Compare the adjusted XP against the party thresholds to read the difficulty. The raw XP (not the adjusted figure) is divided equally among surviving party members as earned XP.
Worked example
The party: four characters all at level 5.
Party thresholds:
- Easy: 1,000 XP
- Medium: 2,000 XP
- Hard: 3,000 XP
- Deadly: 4,400 XP
Monsters: 1 Bandit Captain (CR 2, 450 XP) plus 4 Bandits (CR 1/2, 100 XP each).
Raw XP = 450 + (4 × 100) = 850 XP
Total monsters = 5 → multiplier x2. Adjusted XP = 850 × 2 = 1,700 XP
1,700 falls between the Medium threshold (2,000) and the Easy threshold (1,000), so this is an Easy encounter. The party earns 850 ÷ 4 = 212 XP each.
To push it to Medium, swap the four Bandits for four Bandit Captains: raw XP = 5 × 450 = 2,250, adjusted = 2,250 × 2 = 4,500 — now solidly Deadly. The calculator lets you iterate until the numbers land exactly where you want them.
Formula note
The difficulty thresholds and XP-by-CR table are taken verbatim from the Dungeon Master’s Guide (5th Edition, 2014). The multiplier breakpoints — 1 monster (x1), 2 (x1.5), 3–6 (x2), 7–10 (x2.5), 11–14 (x3), 15+ (x4) — and the party-size adjustments (scale effective count up for fewer than 3 players, down for more than 5) follow the same source. No third-party formulas are used.