Calculators
Minecraft XP level calculator.
Turn a level into total experience points, points into a level, or find how many points you need between two levels. Uses the formulas published on the Minecraft Wiki.
Inputs
Result
Whole levels and whole points only. Fan-made tool, not affiliated with Mojang or Microsoft.
How Minecraft XP levels are calculated
The Minecraft Wiki gives the total experience points needed to reach a level from level 0 as: level² + 6 × level for levels 0 to 16; 2.5 × level² − 40.5 × level + 360 for levels 17 to 31; and 4.5 × level² − 162.5 × level + 2220 for level 32 and up. For example, level 30 takes 1,395 points and level 50 takes 5,345.
The points needed to go from level L to level L+1 are 2L + 7 for levels 0 to 15, 5L − 38 for levels 16 to 30, and 9L − 158 for level 31 and up. The "between two levels" mode subtracts one total from the other.
In points-to-level mode, the level is the highest whole level whose total is at or below your points; the remainder is progress toward the next level.
Source: Minecraft Wiki, Experience. Read 2026-09-29.
How to use this Minecraft XP calculator
The tool has three modes, and each one answers a question players actually ask. Level to points tells you how many experience points you have collected in total when your bar shows a given level, and how many more points it takes to reach the next level. Points to level goes the other way: give it a total number of points and it returns the level you are at, how far into that level you are and how many points remain until the next one. Points needed between two levels subtracts one total from the other, which is the number you want when you are planning something like “I am at level 12 and want to get to level 30”. Everything uses whole levels and whole points.
The formulas, variable by variable
Let L be the level. The Minecraft Wiki gives two sets of formulas: one for the total points from level 0 to L, and one for the cost of the single step from L to L + 1.
| Levels | Total XP to reach level L | XP to go from L to L + 1 |
|---|---|---|
| 0 to 15 (and total up to 16) | L² + 6L | 2L + 7 |
| 16 to 30 (total for 17 to 31) | 2.5L² − 40.5L + 360 | 5L − 38 |
| 31 and up (total for 32 and up) | 4.5L² − 162.5L + 2220 | 9L − 158 |
The formulas change because each level costs more than the one before it, and the rate of increase steps up at levels 16 and 31. The first level costs 7 points; level 15 to 16 costs 37; level 30 to 31 costs 112; and level 31 to 32 costs 121.
Worked examples with real numbers
- Level 17. Total = 2.5 × 17² − 40.5 × 17 + 360 = 722.5 − 688.5 + 360 = 394 points. Check: level 16 is 16² + 6 × 16 = 352, and the step from 16 to 17 costs 5 × 16 − 38 = 42, so 352 + 42 = 394.
- Level 30 to level 50. Level 30 needs 1,395 points and level 50 needs 4.5 × 2,500 − 162.5 × 50 + 2220 = 11,250 − 8,125 + 2,220 = 5,345 points. The difference is 3,950 points.
- 1,000 points to level. Level 26 needs 997 points and level 27 needs 1,089, so 1,000 points is level 26 with 3 points of progress. The step from 26 to 27 costs 5 × 26 − 38 = 92, so 89 more points are needed for level 27.
How many points common targets need
The enchanting table needs a bar showing up to level 30, which is 1,395 points in total. The Minecraft Wiki says an anvil can only apply an operation worth 39 levels or less in Survival and Adventure mode, and beyond that the menu shows “Too Expensive!”. Level 39 corresponds to 2,727 total points, and level 40 to 2,920. Level 100 is 30,970 points. Notice how much steeper the high end is: going from level 0 to 30 takes 1,395 points but the next 20 levels take 3,950.
Where experience comes from
The wiki lists many sources, and a few figures help with planning. Most hostile mobs such as zombies, skeletons and creepers give 5 points, plus 1 to 3 per piece of equipment they carry. A Bottle o’ Enchanting drops orbs worth 3 to 11 points, an average of 7. Using that average, the 1,395 points for level 30 are about 200 bottles, though that is an average, not a guarantee. Ore gives experience too: diamond and emerald ore 3 to 7, lapis and nether quartz ore 2 to 5, redstone ore 1 to 5 and coal ore 0 to 2. Breeding gives 1 to 7, fishing 1 to 6 and villager trading 3 to 6. Smelting gives small fractions of a point per item, with ancient debris giving 2.
Common mistakes and edge cases
- Confusing levels with points. Levels are not linear, so doubling your level does not double your points. Level 30 is 1,395 points while level 15 is only 315.
- Dying with a high level. On death you drop orbs worth 7 times your level, capped at 100 points, and the rest of your experience is lost unless the keep-inventory rule is on. At level 30 that means only 100 points can be recovered out of 1,395.
- Spending levels. Enchanting and anvils spend levels, not points, so after spending three levels at level 30 you are at level 27 with 1,089 points. The 306-point difference is the cost of getting back.
- Java versus Bedrock. The wiki documents differences between the editions in how orbs behave and in the maximum level, and some sources are edition-specific. The level formulas on this page are the ones the wiki lists on its Experience page.
This is a fan-made tool and is not affiliated with Mojang or Microsoft. If a game update changes experience rules, check the wiki page below first. Related tools: Minecraft Nether portal calculator, percentage calculator and unit converter.
Frequently asked questions
How much XP do you need for level 30 in Minecraft?
Level 30 needs 1,395 experience points in total from level 0, using the Minecraft Wiki formula 2.5 x level squared - 40.5 x level + 360 for levels 17 to 31. The step from level 29 to 30 costs 107 points.
How much XP is level 50?
Level 50 needs 5,345 points in total. Going from level 30 to level 50 takes 3,950 points.
How do I convert XP points to levels?
Find the highest whole level whose total is at or below your points. For example 1,000 points is level 26, because level 26 needs 997 points and level 27 needs 1,089. The calculator's points-to-level mode does this and shows the progress to the next level.
How much XP does each level cost?
It rises in steps. Going from level L to L + 1 costs 2L + 7 points for levels 0 to 15, 5L - 38 for levels 16 to 30, and 9L - 158 from level 31 up. The first level costs 7 points and the step from 31 to 32 costs 121.
How many Bottles o' Enchanting do I need for level 30?
A bottle gives 3 to 11 points, an average of 7, according to the Minecraft Wiki. At the average, 1,395 points is about 200 bottles. The real number varies because each bottle is random.
What happens to my XP when I die?
You drop orbs worth 7 times your level, capped at 100 points, and the rest is lost, unless the keep-inventory rule is enabled. At level 30 you can recover at most 100 of your 1,395 points.
Why does the anvil say Too Expensive?
The Minecraft Wiki says an anvil can only apply an operation worth 39 levels or less in Survival and Adventure mode. Past that the menu shows Too Expensive. In Creative mode there is no such limit.
Does this calculator work for Java and Bedrock?
It uses the level formulas listed on the Minecraft Wiki Experience page. The wiki documents edition differences in how orbs behave and in the maximum level, so check it for details that go beyond the formulas.
Sources
Primary and reference sources used for this page, each opened and checked in October 2026:
- Minecraft Wiki: Experience — level formulas, level 30 = 1,395 and level 50 = 5,345, XP sources, death drop of 7 x level capped at 100, Java and Bedrock differences (retrieved 2026-10)
- Minecraft Wiki: Anvil mechanics — operations worth more than 39 levels show Too Expensive in Survival and Adventure mode (retrieved 2026-10)
- Minecraft Wiki: Bottle o' Enchanting — a thrown bottle drops 3 to 11 experience points, average 7.0 (retrieved 2026-10)