Minecraft XP Calculator
Find the exact experience points to go from any Minecraft level to any other — plus how many mob kills, smelts, or bottles it takes, and roughly how long, based on the official Java Edition 1.21 XP formula.
Java Edition XP & levels Java Edition 1.21
Exact experience points from any level to any level.
Your levels
Your level right now. Use 0 to start from scratch.
The level you want to reach.
Results
XP needed
1,395 XP
from level 0 to level 30
Levels needed
30 levels
Total XP at target
1,395 XP
XP already banked
0 XP
XP for the next level
112 XP
That's roughly…
hostile mob kills
≈ 279
iron ore smelted
≈ 1,993
gold ore smelted
≈ 1,395
diamond ore mined
≈ 279
animals bred
≈ 349
villager trades
≈ 349
fish caught
≈ 465
bottles o' enchanting
≈ 200
Approximate counts using each activity's typical XP value. Real drops vary slightly.
How long will it take?
Estimated time
≈ 28 minutes
assuming ≈ 3,000 XP/h — your real rate depends on your farm
These are rough estimates. Real XP rates depend heavily on your farm design, AFK setup, mob caps, difficulty, and game version. Use them to compare options, not as exact timings.
Level → XP chart
| Level | XP to next level | Total XP from 0 |
|---|---|---|
| 1 | 9 | 7 |
| 5 | 17 | 55 |
| 10 | 27 | 160 |
| 15 | 37 | 315 |
| 16 | 42 | 352 |
| 17 | 47 | 394 |
| 20 | 62 | 550 |
| 25 | 87 | 910 |
| 30 | 112 | 1,395 |
| 31 | 121 | 1,507 |
| 32 | 130 | 1,628 |
| 35 | 157 | 2,045 |
| 39 | 193 | 2,727 |
| 40 | 202 | 2,920 |
| 45 | 247 | 4,020 |
| 50 | 292 | 5,345 |
Total XP to reach each level from scratch, and the XP cost of the level after it. The cost jumps at levels 16 and 32.
Reverse: XP → level
Have a total XP amount and want to know your level? Enter it here.
Total experience points. The Java Edition cap is 2,147,483,647 XP (level 21,863).
You are at
Level 0
Progress into this level
0%
0 / 7 XP into this level
Why Minecraft's XP curve isn't linear
- Early levels are cheap: levels 0–15 each cost 2×level + 7 XP, so level 1 is 7 XP and level 15 is 37 XP.
- From level 16 the cost climbs faster (5×level − 38), and from level 31 it climbs faster still (9×level − 158).
- Because the per-level cost keeps rising, the total XP grows quadratically — level 30 is 1,395 XP, but level 50 is 5,345 XP.
- That's why the second half of any grind takes far longer than the first: each level you gain costs more than the last.
Java Edition 1.21 · updated June 10, 2026
XP formula and activity values from the Minecraft Wiki (minecraft.wiki). XP/hour figures are rough farm estimates. Minecraft © Mojang Studios.
Minecraft XP calculator. Exact experience points from any level to any level.
What is a Minecraft XP calculator?
How to use this Minecraft XP calculator
The Minecraft level-to-XP formula (Java Edition 1.21)
- = Your current level (the cost shown is the XP to reach the next level)
- = XP needed to go from level L to level L+1
- = Total XP to reach level L starting from level 0
- = The level you land on when you have x total XP (the reverse lookup)
How Minecraft's XP and level system actually works
Worked examples with real XP numbers
Level 0 to 30 — the enchanting milestone (1,395 XP)
Level 27 to 30 — a small top-up that still costs 306 XP
Level 0 to 50 — why the back half is brutal (5,345 XP)
Level → XP reference chart (Java Edition 1.21)
| Level | XP for next level | Total XP from 0 |
|---|---|---|
| 1 | 9 | 7 |
| 5 | 17 | 55 |
| 10 | 27 | 160 |
| 15 | 37 | 315 |
| 16 | 42 | 352 |
| 17 | 47 | 394 |
| 20 | 62 | 550 |
| 25 | 87 | 910 |
| 30 | 112 | 1,395 |
| 31 | 121 | 1,507 |
| 32 | 130 | 1,628 |
| 35 | 157 | 2,045 |
| 39 | 193 | 2,727 |
| 40 | 202 | 2,920 |
| 45 | 247 | 4,020 |
| 50 | 292 | 5,345 |
Reverse lookup: "I have 1,000 XP — what level am I?"
XP grinding tips for survival players
- Match the farm to the goal before you build. For a one-time level 30 enchant, a basic dark-room farm (about 15,000 XP/h, roughly 6 minutes) or even manual killing is plenty. If you want to repair gear, combine books, and re-enchant for hours, a gold or guardian farm (50,000–120,000 XP/h) pays for itself fast — the calculator's time panel lets you compare them side by side before you commit redstone and resources.
- A level-30 enchant does not cost 30 levels. This is the single most common misconception. Level 30 is just the requirement to unlock the bottom enchanting slot — the enchant itself costs only 3 levels and 3 lapis. So you grind 1,395 XP to hit 30, then each roll only drops you a few levels, not all the way back to zero.
- Stop your grind at 39, not higher, if you are repairing on an anvil. The anvil refuses any job that would cost more than 39 levels — it shows "Too Expensive!" in survival. Tap the Lvl 39 chip to see exactly how much XP that buffer is (2,727 total from zero, or 1,332 on top of level 30) so you arrive with enough headroom for the repair.
- Bottles o' enchanting are the "buy your XP" route. Each bottle is worth about 7 XP, so level 30 from scratch is roughly 200 bottles. They are best when you already have a cleric villager set up to sell them — throw a few before enchanting to top your bar up instead of leaving spawn to find mobs.
- Don't trust competitor calculators that show level 50 as 4,625 or 4,825 XP. Those figures are wrong (one uses an outdated basis, another rounds badly). The wiki-correct value for level 50 in Java Edition 1.21 is 5,345 XP, and this calculator matches it exactly — verify it against the chart above.
- Use the reverse panel to sanity-check XP totals. If you run /xp query or read a stat, paste the number into the reverse panel to translate it back into a level and bar percentage. It is the fastest way to confirm how close a mob-farm session or loot run actually put you to your next milestone.
- Banked XP carries over — plan around what you already have. The calculator subtracts the XP you already hold at your current level, so if you are sitting at level 22 and want 30, it only shows the 700-odd XP you still need, not the full 1,395. Always set your current level honestly instead of leaving it at 0.
Minecraft XP calculator — frequently asked questions
How much XP do you need for level 30 in Minecraft?
How much XP is level 50 in Minecraft?
Does a level-30 enchant really cost 30 levels?
Does this work for Bedrock Edition?
Why does leveling up get so much slower at higher levels?
How long does it take to reach level 30?
How accurate are the time estimates?
How much XP do I need to use an anvil?
How many bottles o' enchanting do I need for level 30?
What level is a given amount of XP?
Is this Minecraft XP calculator free?
Which Minecraft version does it use?
Minecraft XP glossary
XP per hour (XP/h)
How fast a method earns experience. Manual killing is around 3,000 XP/h; a basic dark-room farm about 15,000; a strong guardian farm up to 180,000. The calculator's time panel divides the XP you need by the rate you pick to estimate how long the grind takes.
Bottle o' Enchanting
A throwable bottle that shatters into experience orbs worth about 7 XP each (3–11 range). Sold by cleric villagers, it is the "buy your XP" route — roughly 200 bottles cover the 1,395 XP needed for level 30.
Mob spawner / dark-room farm
An XP farm that gathers naturally spawned hostile mobs (zombies, skeletons, creepers) into a kill chamber, or uses a dungeon spawner. Each hostile mob drops about 5 XP. A basic build runs around 15,000 XP/h; optimized dark-room farms reach far higher because they are limited mainly by the mob cap.
Guardian farm
A farm built over an ocean monument that funnels guardians into a kill spot. Guardians drop about 10 XP each — double most mobs — so guardian farms are among the fastest XP sources in the game, with the wiki citing up to 180,000 XP per hour.
Gold farm
A Nether farm that kills zombified piglins, usually built around a portal-based spawning platform. Besides gold, it is a very strong XP source — community designs reach well over 100 levels per hour, and the wiki notes up to level 100 in an hour.
Enderman farm
An End-dimension farm that funnels endermen into a one-hit kill drop. Endermen spawn densely in the End, so even though each drops about 5 XP, the throughput is enormous — the wiki describes reaching 30 levels in just under a minute on a well-built one.
Cumulative XP
The total experience needed to reach a level starting from zero — what the chart's "Total XP from 0" column shows. Level 30 is 1,395 cumulative XP; level 50 is 5,345. The XP between two levels is the difference of their cumulative totals.
Level cap
The practical ceiling in Java Edition is level 21,863. Around 2,147,407,943 total XP the level bar disappears, because the next level would exceed the game's 32-bit integer limit of 2,147,483,647. Bedrock's legitimate maximum is 24,791.
Sources & References
- Minecraft Wiki — Experience (Java Edition level↔XP formula, total XP per level, level/XP caps)
- Minecraft Wiki — Tutorial: Experience farming (XP-per-hour farm rates for mob, gold, enderman and guardian farms)
- Minecraft Wiki — Enchanting Table (level 30 as the maximum enchanting-table level, bookshelf requirement)
- Minecraft Wiki — Anvil mechanics (the level-39 job cap: jobs over 39 levels read "Too Expensive!" in survival)