Skip to content
Tool Corner

Minecraft XP Calculator

Convert Minecraft experience levels to points and back, and see exactly how much grinding a level costs.

Built and verified by Jogeswara, Founder and Engineer, MSc, PMP — Tool CornerMethod and figures checked against the sources listed belowReviewed
Common levels
{{ headline }}
{{ big }}
{{ l2 }}{{ v2 }}
{{ l3 }}{{ v3 }}
Average mobs to kill{{ mobs }}
Bottles o’ enchanting{{ bottles }}
{{ note }}
Next step

What next?

Levels buy enchantments. These are what you spend them on.

What your result means

Minecraft shows you a level, but it stores experience as points. The headline figure is the point total that matters for what you are doing: the cost of reaching a level from nothing, the level a pile of points buys, or the gap between where you are and where you want to be. Average mobs to kill assumes 5 points per common hostile mob, the usual drop for zombies, skeletons and creepers, which turns an abstract number into something you can plan a grinding session around. If that session means a blaze or wither-skeleton farm, the Nether portal calculator lines up both ends of the tunnel first.

Why this one is different

Levels are converted into the two things you actually have to do: how many mobs to kill on average, and how many bottles o' enchanting the same total would take. Two intermediate levels are shown with their point values, so a partly filled bar can be read off without starting the sum again.

Why level 30 is the target

Enchanting stops paying above level 30

An enchanting table caps its power at level 30, so the best enchantments are available the moment you hit it. Reaching level 30 costs 1,395 points; reaching level 50 costs 5,345 — nearly four times as much for no better enchantments.

That is why experienced players sit at 30, enchant, and let the bar refill rather than banking levels. The exception is anvil work, where repair costs rise with each use and a deeper reserve of levels is genuinely useful.

How it works

Experience is stored as a running point total, and the level you see is worked out from it using three formulas: one for levels up to 15, one from 16 to 30, and one from 31 up. Each band charges more per level than the last, which is why the bar fills quickly at the start of a world and crawls later on. This calculator uses the same equations the game does, so the numbers match your XP bar rather than approximating it.

How to use this calculator

  1. Pick what you know: a level, a point total, or two levels you want the gap between.
  2. Type the number. The result updates as you go.
  3. Use points between two levels to plan a session — enter where you are and where you want to be.
  4. Read the mob count for a rough idea of how long that will take at a spawner or farm.
  5. Copy or share the result if you are planning with someone else on the server.

Formula

Total points to reach level L
L ≤ 15: L² + 6L
16 ≤ L ≤ 30: 2.5L² − 40.5L + 360
L ≥ 31: 4.5L² − 162.5L + 2220

L is the experience level. The cost of the single next level is 2L + 7 below level 16, 5L − 38 from 16 to 30 and 9L − 158 from 31 upwards — summing those step costs reproduces the totals above exactly. Going the other way, from points to a level, means finding the highest L whose total is still within your points; the leftover is the progress showing on your XP bar.

Example calculation

You are at level 27 and want to enchant at level 30:

Points at level 27 = 2.5(729) − 40.5(27) + 360 = 1,089
Points at level 30 = 2.5(900) − 40.5(30) + 360 = 1,395
Gap = 1,395 − 1,089 = 306 points
Mobs at 5 points each ≈ 62
Bottles o’ enchanting at 7 points each ≈ 44

Set the mode to points between two levels with 27 and 30 and you will see 306. For comparison, the three levels from 47 to 50 cost 822 points — nearly three times as much for the same three levels.

Frequently asked questions

How much XP is level 30?+

Reaching level 30 — the maximum useful level for enchanting — takes 1,395 experience points from scratch. Level 30 itself is only 112 points wide, but the levels below it add up.

Why do levels get so much more expensive after 30?+

Minecraft uses three different formulas. Below level 16 each level costs 2 × level + 7 points, from 16 to 30 it is 5 × level − 38, and from 31 upwards it jumps to 9 × level − 158. That third band is why the climb from 30 to 50 costs nearly three times as much as getting to 30 in the first place.

Does dying lose all my experience?+

You drop experience worth up to 7 points per level, capped at 100 points, and the rest is lost. In practice a high-level player keeps very little after death, which is why many players spend levels on enchanting or anvil repairs before doing anything risky.

What is the best way to farm XP?+

Mob farms and mining ores such as diamond, redstone and lapis are the reliable sources. Smelting and breeding also give small amounts, and bottles o' enchanting are the fastest option if you have emeralds to trade.

Why does the anvil say too expensive?+

Every anvil use adds a prior work penalty to the item, and once the combined cost exceeds 39 levels the anvil refuses in survival. Combining books together before applying them to the tool keeps the cost down.

How many levels do I need for a good enchantment?+

Level 30 is the threshold for the best enchanting table offers, which is why most players build to 30 and then re-roll with a bookshelf setup rather than spending levels below that.

Related calculators

Minecraft experience by level

Experience in Minecraft is stored as points, and the level is worked out from the points with three formulas, one for levels up to 15, one from 16 to 30 and one from 31 up. The table uses those exact formulas, so it matches the XP bar.

Experience points to reach a level from zero
LevelTotal pointsNext level costsMobs at 5 ptsBottles at 7 pts
Level 55517118
Level 10160273223
Level 15315376345
Level 205506211079
Level 2591087182130
Level 301,395112279200
Level 402,920202584418
Level 505,3452921,069764
Level 608,6703821,7341,239
Level 7012,8954722,5791,843

The last two columns use the same assumptions as the calculator: 5 points for a common hostile mob and 7 for a bottle o’ enchanting, which is the middle of its 3 to 11 range. Treat them as estimates.

The levels get more expensive

Cost of each ten-level band
LevelsPointsAgainst the first ten
0 to 101601.0×
10 to 203902.4×
20 to 308455.3×
30 to 401,5259.5×
40 to 502,42515.2×
50 to 603,32520.8×

Going from level 0 to 10 takes 160 points. The band from 50 to 60 takes 3,325, which is 21 times as much for the same ten levels. That is why the first few levels of a new world arrive fast and the later ones feel slow.

To enchant at level 30 you need 1,395 points in total, about 279 mobs or 200 bottles. A trip from level 30 to 50 needs another 3,950 points.

Five Minecraft XP mistakes to avoid

  • Thinking of levels as equal steps. They are not. A level at 50 costs several times what a level at 10 does, so a farm that feels productive early can feel useless later.
  • Mixing up levels and points. Anvils and enchanting tables spend levels, not points, and their costs rise with prior work on an item. The calculator does not model that.
  • Assuming every mob gives 5. Blazes give more, passive animals give far less, and the ender dragon gives thousands. Use the mob figure as a baseline only.
  • Expecting to recover everything after dying. Experience dropped on death is capped, so the totals describe earning points, not getting them back.
  • Using Java numbers on every version. The formulas are the Java Edition values. Bedrock is close but not guaranteed identical in every version.

Embed this calculator on your site

You can put this tool on your own page, blog or lesson site for free. Copy the code below and paste it into your page. Please keep the credit line under the tool. The embedded version shows no ads, loads no analytics and sets no cookies.

<iframe src="https://toolcorner.net/embed/minecraft-xp-calculator" title="Minecraft XP Calculator" width="100%" height="840" style="border:0;max-width:760px" loading="lazy"></iframe>
<p style="font-size:13px">Calculator by <a href="https://toolcorner.net/gaming/minecraft-xp-calculator">Tool Corner</a></p>

Cite this page

If you use this tool in a report, assignment or article, you can cite it like this.

Tool Corner. (2026). Minecraft XP Calculator [Online calculator]. https://toolcorner.net/gaming/minecraft-xp-calculator

Minecraft XP Calculator. Tool Corner. https://toolcorner.net/gaming/minecraft-xp-calculator. Retrieved [date].

Assumptions & limitations

Every figure here comes from a simplified model. Keep these limits in mind when reading your result:

  • The formulas are the Java Edition values. Bedrock matches them closely but is not guaranteed to be identical in every version.
  • Mob counts assume 5 points per common hostile mob. Blazes give about 10, ender dragons thousands, and passive animals far less.
  • Bottle counts use 7 points per bottle o’ enchanting, the middle of its 3–11 range, so treat it as an estimate.
  • Anvil and enchanting-table costs are not modelled — those charge levels, not points, and rise with prior work on the item.
  • Experience lost on death is capped, so the totals here describe earning experience, not recovering it.

Further reading

Game values change with updates

The rates, drop chances, XP values and prices used here reflect the game as we last checked it. Developers rebalance, and regional pricing and platform fees shift, so a number that was right last patch may not be right today. Treat the result as a planning estimate, not a guarantee.

Tool Corner is not affiliated with, endorsed by or sponsored by any game publisher. Trade marks belong to their owners. Read the full disclaimer.

Sources & references

The experience mechanics behind these figures:

Found an error? Report it →
Last updated
Was this result right?
Found this useful? Share it
Help someone else find this free tool.