XP Calculator

See how much XP a level costs, which level your XP points reach, and the commands to set it.

Java

Levels get more expensive as you go up. Level 30 to 31 costs 112 XP, while 0 to 1 costs 7.

Total XP to reach level 30
1,395
XP for the next level
112
Total XP at level 31
1,507
Commands (Java, cheats on)
/xp set @s 30 levels
/xp set @s 0 points

Plan how long to stay at your XP farm

Each level costs more XP than the one before, so higher levels slow down fast. Switch between Level to XP and Cost between levels to check how many points you still need.

  • Level 0 to 15 takes 315 XP in total. Early levels go quickly, starting at 7 XP for level 1.
  • Level 30 takes 1,395 XP from zero, enough for full-power enchantments at an enchanting table.
  • Past level 30 the cost jumps sharply. Going from 30 to 31 alone takes 112 XP, as much as going from 0 to 8, and level 50 takes 5,345 XP in total.

The green bar above the numbers is drawn with the real hotbar sprites and game font, filled to match your progress.

Spend levels without wasting XP

A top-tier enchant at an enchanting table asks for level 30 and spends 3 levels. Because levels 27 to 30 cost 306 XP while levels 0 to 3 cost only 27 XP, enchant as soon as you hit 30 instead of saving up to 40 or 50 first. When combining enchanted books on an anvil, open the Enchantment Calculator to put the books in the cheapest order.

Turn XP points back into a level

Pick XP to level when you know the points a mob farm or furnace bank gives per hour and want to see what level that reaches. You get the level, how full the bar sits and how many points remain until the next level. In a Java world with cheats on, press Copy to set your own bar to that exact mark.