Minecraft XP calculator

In Minecraft, the accumulated XP sets your level, and each level requires a different amount of XP. The cost rises as you go up. This calculator uses the Java Edition formulas published on the Minecraft Wiki, split into three ranges: levels 0 to 16, 17 to 31 and 32 and up.

There are two directions. From level to total XP, you find how much XP must be accumulated to reach a level. From total XP to level, you find the current level, how much XP is already inside it and how much is left for the next one.

The calculations use only whole numbers and the published formulas, so the results are exact for Java Edition. Bedrock Edition has not been verified in this tool.

Tool

From level to total XP

Enter a level to see the total XP.

From total XP to level

Enter the total XP to see the level.

The formulas (Java Edition)

Level rangeTotal XP up to level LXP to go from L to L+1
0 to 16L² + 6L2L + 7 (from 0 to 15)
17 to 312.5L² − 40.5L + 3605L − 38 (from 16 to 30)
32 and up4.5L² − 162.5L + 22209L − 158 (from 31)

Source: Minecraft Wiki, Experience, accessed on 2026-11-03. Reference values calculated with these formulas at build time:

LevelTotal XPXP to next level
179
55517
1016027
1531537
1635242
2055062
2591087
301,395112
311,507121
352,045157
402,920202
505,345292

How to use

  1. To plan a goal, enter the desired level and read the total XP needed.
  2. To find your level, enter the accumulated total XP. Use the value from your counter or your reference table.
  3. Read the level, the XP inside the current level and what is left for the next one.
  4. Use Example to see the case of level 30 (1395 XP).

Frequently asked questions

Why does the XP needed to level up increase?

The formula grows with the level. The XP for each level is greater than the previous one, with formula changes at levels 16 and 31, according to the Minecraft Wiki.

What is the difference between total XP and XP of the current level?

Total XP is everything accumulated since the beginning. The XP of the current level is the part already inside the level you are on.

Is the calculator for Bedrock Edition?

The formulas are from Java Edition. Bedrock Edition has not been verified here; check before using the result in it.

Do enchanting bottles count in the calculation?

Not directly. This calculator works with total XP; each XP source has its own values, which are not included here.

Sources