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.
Exact experience points from any level to any level.
from level 0 to level 30
That's roughly…
XP/h
| 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 |
Level 1
Level 5
Level 10
Level 15
Level 16
Level 17
Level 20
Level 25
Level 30
Level 31
Level 32
Level 35
Level 39
Level 40
Level 45
Level 50
Have a total XP amount and want to know your level? Enter it here.
XP
- 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.
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?
Level 30 requires 1,395 total experience points from level 0 in Java Edition. That is the enchanting-table milestone, and it works out to about 279 hostile-mob kills or roughly 200 bottles o' enchanting.
How much XP is level 50 in Minecraft?
Level 50 needs 5,345 total XP. Going from level 30 to 50 alone costs 3,950 XP — nearly triple the cost of reaching level 30 in the first place, because each high level is far more expensive than a low one.
Does a level-30 enchant really cost 30 levels?
No. Level 30 is only the requirement to unlock the strongest enchanting-table slot. The enchant itself costs just 3 experience levels and 3 lapis lazuli. You need to reach 30, but you spend only 3 each time you enchant.
Does this work for Bedrock Edition?
Mostly yes — use it as a guide. The level↔XP curve behaves the same or very similarly across Java and Bedrock, so the XP-needed and level numbers here are an excellent reference for Bedrock players too. What differs is how much XP individual mobs, ores, and activities drop, so the activity-equivalent counts (mob kills, smelts) may be slightly off, and Bedrock's maximum legitimate level is 24,791 versus about 21,863 in Java. Mojang and the Minecraft Wiki publish no official closed-form Bedrock per-level XP formula, which is why this tool uses the documented Java Edition formula.
Why does leveling up get so much slower at higher levels?
Because the per-level cost rises in three tiers. Levels 0–15 cost 2 × level + 7, levels 16–30 cost 5 × level − 38, and levels 31+ cost 9 × level − 158. So level 15 costs 37 XP while level 50 costs 292 — the same number of levels is much pricier near the top.
How long does it take to reach level 30?
It depends entirely on your XP source. At a basic dark-room mob farm of about 15,000 XP/h it is roughly 6 minutes; killing mobs by hand at about 3,000 XP/h it is closer to 28 minutes; a top guardian farm can do it in well under a minute. The calculator's time panel lets you pick your farm and see the estimate.
How accurate are the time estimates?
They are honest estimates, not exact timings. The XP needed is precise, but real XP-per-hour rates depend heavily on your farm design, AFK setup, mob caps, difficulty, and game version. Every time figure is prefixed with "≈" and shows the rate it assumed, so you can compare farms fairly rather than trust a single fake number.
How much XP do I need to use an anvil?
There is no fixed XP cost to open an anvil, but it refuses any single job that would cost more than 39 levels — beyond that it shows "Too Expensive!" in survival. Reaching level 39 from scratch takes 2,727 total XP, so players often grind to 39 to have headroom for expensive repairs and combines.
How many bottles o' enchanting do I need for level 30?
About 200 bottles, since each is worth roughly 7 XP and level 30 is 1,395 XP. The real count is slightly fuzzy because bottle XP varies (3–11 each), and bottles thrown at low levels overshoot cheap early levels, so you may need fewer if you start the throw at level 0.
What level is a given amount of XP?
Use the reverse panel: type a total XP amount and it returns the level you would reach plus how full your bar would be. For example, 1,000 XP puts you at level 26 with the bar about 3% into level 27, and 5,345 XP is exactly level 50.
Is this Minecraft XP calculator free?
Yes. There is no account or login, and every calculation runs locally in your browser, so the levels and XP you enter never leave your device.
Which Minecraft version does it use?
Java Edition 1.21. The level formula, activity XP values, and milestones come from the Minecraft Wiki (minecraft.wiki). The level↔XP math has been stable across many recent versions, so the numbers also match earlier Java releases.
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 238,609,312 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)
Content verified by the Smart Calculators Team