Minecraft XP calculator
Game data: Minecraft Java Edition 26.3 (Bedrock uses the same level curve)
Experience points needed to go from your level to the one you want, and what that means in bottles o' enchanting.
Points from one level to another
Level from a number of points
The level curve
Each level takes more points than the one before, and the step gets steeper twice: at level 16 and level 31.
| From level | Points to the next level | Total points to reach level L |
|---|---|---|
| 0 to 15 | 2 × level + 7 | L² + 6L |
| 16 to 30 | 5 × level − 38 | 2.5L² − 40.5L + 360 |
| 31 and up | 9 × level − 158 | 4.5L² − 162.5L + 2220 |
The total formulas apply from the start of each band (levels 0-16, 17-31 and 32 up), because the total at level L is the sum of every step below it.
Worked example: level 0 to 30
Level 30 is the most an enchanting table charges for its best offer. The total to reach it is 2.5 × 30² − 40.5 × 30 + 360 = 2,250 − 1,215 + 360 = 1,395 points. A Bottle o' Enchanting drops 3 to 11 points, 7 on average, so that is about 1,395 ÷ 7 ≈ 200 bottles.
Going from 30 to 31 alone takes 5 × 30 − 38 = 112 points, more than levels 0 to 7 put together (7 + 9 + 11 + 13 + 15 + 17 + 19 = 91). That's why it pays to spend levels as you earn them rather than bank them.
Spending levels well
- Enchanting table: it needs you to have up to 30 levels but only takes 1 to 3. Use it at level 30, then earn the few levels back.
- Anvil: it takes every level it charges, so each job is cheapest in points when you have just enough levels. The enchantment order calculator keeps each job small.
- Dying: you drop only 7 points per level, and never more than 100. At level 30 you lose 1,395 points but can pick up only 100 of them, which is enough for level 7.
- Mending uses experience orbs before they reach your bar, while a Mending item you're holding or wearing is damaged.
What it leaves out
Points from one source vary: bottles drop 3 to 11, and mobs and ores give random amounts. The bottle count is an average, so expect a few more or less. The level curve itself is exact and is the same in Java and Bedrock.
Sources: experience formulas, the Bottle o' Enchanting range and the death drop as given in the Minecraft Wiki "Experience" article, checked 21 November 2026 (Java Edition 26.3).