Java & Bedrock level curve

Minecraft XP Calculator — Levels, Enchant Costs & Repair

Work out exactly how much experience you need, how long your XP farm will take, and what your levels are really worth before you enchant, repair, or risk dying.

Level 0 → 30

1,395 XP

Level 27 → 30

306 XP

Mending conversion

2 durability / XP

Maximum XP dropped on death

100 XP

Levels ↔ XP

Minecraft XP is not linear — level 30→31 costs far more than 0→1. Enter where you are and where you want to be.

Bar needs 7 XP for level 1

Progress toward level 300%
XP still needed
1,395
Total XP at target (from 0)
1,395
Your total XP now
0
Whole levels only (030)
1,395 XP

XP lost on death

Without keepInventory, death resets your bar and drops only 7 × your level, capped at 100 XP.

Recoverable at death spot
0 XP
Permanently lost
0 XP
Level after collecting every orb
0 + 0 XP

XP → level lookup

Paste a total XP amount (orbs collected, /xp query, farm counter).

Anvil / table level cost → XP

Anvils and the enchanting table charge levels, but the XP lost depends on your current level. Spending 5 levels at 40 is much more expensive than at 10.

Dropping from 00 costs 0 XP.

One calculator for the useful XP questions
  • Exact XP from your current level and partially filled bar
  • XP-to-level conversion with progress to the next level
  • Kills, ores, trades, bottles, and smelts needed for a goal
  • Estimated grind time using your own farm rate
  • Mending durability, enchanting-table, and anvil costs
Why levels are misleading

Levels are not a fixed amount of XP. Going from level 0 to 1 costs 7 points, while level 30 to 31 costs 112. That is why the calculator uses raw XP for every comparison.

A level-30 enchanting-table option requires 30 levels but spends only 3 levels and 3 lapis. It drops you to level 27; returning to 30 then costs 306 XP.

Minecraft level and XP reference

Total points are measured from level 0 with an empty bar.

LevelTotal XP from 0XP to next level
007
55517
1016027
1531537
2055062
2591087
301,395112
402,920202
505,345292
10030,970742
Grind estimates
Random sources show best, average, and worst cases. Enter your measured actions per minute instead of relying on made-up universal farm speeds; rates change by farm design, edition, and server conditions.
Mending repairs
Each XP point repairs 2 durability. If several damaged Mending items are held or worn, every orb picks one at random, so unequip the others when targeting a specific tool.
Anvils and prior work
Prior-work penalties follow 0, 1, 3, 7, 15, 31, then 63 levels. A survival anvil operation at 40 or more levels is refused as “Too Expensive!”, even if you have enough XP.

The XP formulas used

Levels 0–16

XP = L² + 6L

Levels 17–31

XP = 2.5L² − 40.5L + 360

Level 32 and above

XP = 4.5L² − 162.5L + 2220

Java and Bedrock use the same experience-level curve. Individual XP sources and farm behavior can differ, so source estimates are planning ranges rather than guaranteed drops.

Minecraft XP calculator FAQ

More Minecraft tools

CraftMC

Your ultimate resource for Minecraft tools and guides.

Professional ToolsExpert GuidesActive Support

Popular Tools

Quick Links

Also from us

We also run sister sites for Fortnite and Roblox players — tools, guides, and game codes.

© 2026 CraftMC. All rights reserved. Also check out our Fortnite and Roblox tools sites.