Because the cost in points grows with the level, in three bands. Up to 15 the increase is gentle, from 16 to 30 it accelerates, and from 31 on each level costs much more. That is why going from level 49 to 50 takes far more XP than from 9 to 10.
Convert levels to total XP and find how much is needed between two levels
In Minecraft, experience is not linear: each level requires more points than the last, and the cost grows in three bands. Up to level 15, each level costs 2×level+7 points; from 16 to 30, 5×level−38; and from 31 on, 9×level−158. That is why enchanting and anvil repairs get steadily more expensive. This calculator uses the official Java Edition formulas to convert a level into total accumulated XP, show how much is left to the next level, calculate the experience needed between two levels (great for planning enchantments) and do the reverse, finding which level a total of points represents. For example, level 30 corresponds to 1,395 points accumulated from zero.
The point cost to gain a level is not fixed: it follows three formulas. Up to level 15, each level costs 2×level+7 points; from 16 to 30, 5×level−38; and from 31 on, 9×level−158. That is why going from 49 to 50 takes far more XP than from 9 to 10, the curve accelerates in the upper bands.
The accumulated total uses three other formulas matching the same bands. It is this total that the green bar above the hotbar fills in points, while the number shows only the whole level reached. Enchantments and anvils charge in levels, but internally everything is counted in points.
Example 1, how much does it cost to reach level 30? The accumulated total for level 30 is 1,395 points (2.5×30² − 40.5×30 + 360). That is the amount you must gather from zero to have a level-30 enchantment available at the table.
Example 2, jumping from level 20 to 30. The total for level 20 is 550 points and for level 30 is 1,395; the difference is 1,395 − 550 = 845 points. So going from 20 to 30 needs 845 experience points, far less than resetting and climbing all the way again.
Enchantments and anvils charge in levels, so planning jumps between levels helps you know when to stop farming. Mending uses collected XP points to repair gear before they reach your bar, which changes the math in practice, prioritize Mending gear so you do not spend levels at the anvil.
The formulas in this calculator are the Java Edition ones. Bedrock uses a slightly different experience curve in some sections, so there may be small differences. For Java, the values are exact, including the accumulated total and the cost of the next level.
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
<iframe
src="https://jkit.tools/embed/en-US/minecraft-xp-calculator"
width="100%"
height="600"
style="border:0"
loading="lazy"
title="Minecraft XP Calculator"
></iframe>These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
Because the cost in points grows with the level, in three bands. Up to 15 the increase is gentle, from 16 to 30 it accelerates, and from 31 on each level costs much more. That is why going from level 49 to 50 takes far more XP than from 9 to 10.
That is 1,395 experience points accumulated to reach this level.
Calculation happens locally in the browser; nothing is sent to servers.