Minecraft’s experience system uses three different formulas depending on your level band, so the jump from level 1 to 2 is trivial while 39 to 40 is a slog. This calculator applies Java Edition’s official per-level and total-XP formulas to tell you exactly how many points stand between you and your next level, or any target level.
How it works
The points needed for the single level after L are piecewise by band, and total
points stored at level L use a matching cumulative formula:
xp for next level (at L):
L 0–15 : 2L + 7
L 16–30 : 5L − 38
L 31+ : 9L − 158
total xp stored at level L:
L 0–16 : L² + 6L
L 17–31 : 2.5L² − 40.5L + 360
L 32+ : 4.5L² − 162.5L + 2220
To find the experience between two levels, the tool subtracts the total at the start level from the total at the target level.
Tips and example
Reaching level 30 — the threshold for the best enchanting-table options — takes 1395 total experience from scratch. Going from level 30 to 31 alone costs 112 points, more than the entire climb from level 0 to 9. Because high levels are so expensive, many players enchant at exactly 30, then spend down and rebuild rather than hoarding levels.