How Minecraft XP works
In Java Edition the experience needed to climb one level increases as you go — the first levels are cheap and later ones cost far more. This tool converts between your level and the total experience points behind it, in both directions.
The formulas
Total points to reach a level:
Levels 1–16: L² + 6LLevels 17–31: 2.5L² − 40.5L + 360Levels 32+: 4.5L² − 162.5L + 2220
Points for the next level:
Levels 0–15: 2L + 7Levels 16–30: 5L − 38Levels 31+: 9L − 158
FAQ
Why does level 30 cost so much?
Level 30 is the enchanting sweet spot, and reaching it needs 1,395 total points — but each level after that costs steadily more, which is why high levels take so long to grind.
XP Calculator