Minecraft experience is tracked as points; the level number is derived from how many points you have banked. Knowing the curve helps when balancing rank-up costs, shop prices, or “levels to remove” in plugins.
Skip the arithmetic — use the free XP Calculator for level → XP, XP → level, and XP between two levels.
Section 01
Points to reach the next level
Java Edition uses three bands for the cost of going from level n to n + 1:
0–15: 2 × level + 7
16–30: 5 × level − 38
31+: 9 × level − 158
Costs rise slowly at first, then steepen — which is why high-level repairs and anvil work get expensive quickly.
Bedrock Edition uses a similar idea but not identical constants in every range. Prefer Java formulas for Paper/Spigot economy plugins unless you are documenting Bedrock specifically.
Section 02
Total XP to reach a level
Total experience required to reach level L (from zero) is the sum of those per-level costs. Closed forms commonly used by tools and wikis:
- L ≤ 16:
L² + 6L - 17 ≤ L ≤ 31:
(5/2)L² − (81/2)L + 360 - L ≥ 32:
(9/2)L² − (325/2)L + 2220
The calculator applies these curves so you can reverse an XP total back into a level plus progress into the next one.
Section 03
Enchanting table and plugins
- Level 30 is the enchanting-table bonus cap for maximum bookshelf setups — a common economy reference point.
- Anvil work consumes levels (and can bump “prior work” penalties); pricing in XP points is clearer than “levels” alone.
- Plugins that
/xp setor charge “10 levels” should document whether they mean current level number or points equivalent — those are not the same at high levels.
Section 04
Worked examples
- Level 30 requires 1,395 total XP from zero.
- Going from level 20 to 30 needs 845 points (difference of totals).
- If a kit costs “500 XP”, that is a fixed point cost — convert with the calculator to see what level jump it represents for a player at level 10 vs 40.
When balancing ranks, price in points or use the between-levels mode so early and late-game players are not charged wildly different real effort for the same “N levels” fee.
FAQ
Frequently asked questions
How much XP is level 30?
In Java Edition, reaching level 30 from zero requires 1,395 experience points. Level 30 is also the enchanting-table bonus cap.
Are Java and Bedrock XP formulas the same?
No. They are similar but not identical in every range. Use Java formulas for Paper and Spigot servers unless you are documenting Bedrock.
Should plugins charge levels or XP points?
Points are clearer for economy balance. A “10 levels” fee costs far more points at high levels than at low levels because of the steeper curve.