Skip to content
Minecraft
Free tool

Minecraft XP Calculator

Use the Minecraft XP calculator to convert levels to XP and back and see how long your XP farm will take to reach your target level. For example, going from level 0 to 30 takes 1,395 XP or about 200 Bottles o' Enchanting. Free, no sign-up, and calculated right in your browser.

Built by Florian Galz

Planning an XP farm? Build it on your own Minecraft server.

Level range

Calculated from an empty XP bar at the starting level.

Result

Experience points needed

1,395 XP

To go from level 0 to 30, you need 1,395 experience points.

Total XP since level 0
1,395 XP
Next level after that
112 XP
Bottle o' Enchanting (avg. 7 XP)
200
Dropped as XP orbs on death
100 XP

Command for servers with cheats enabled (Java)

/xp add @s 1395 points

Example result

What the XP calculator works out

Enter a level or XP amount, and the calculator gives you the required XP, your level and progress, or farming time. The example shows the path from level 0 to level 30; your result depends on your values.

Example · Level 0 → 30 · Mob farm with 300 mobs per hour

Level 0 → 30
1,395XP
The XP you need for the highest-level enchantment at an Enchanting Table.
1,500 XP equals
Level 30
The bar is 93% full, with 7 XP to go.
Mob farm, 300 per hour
56min
279 mobs at 5 XP each to reach level 30.
Bottle o' Enchanting
200
At an average of 7 XP per bottle, that's 3 stacks and 8 bottles.

XP table: experience points per level

Total XP from level 0 and progress through the current level. Each level gets significantly more expensive from levels 16 and 31 onward.

LevelTotal XP · Progress to next level
Level 17 XP · 9 XP
Level 555 XP · 17 XP
Level 10160 XP · 27 XP
Level 15315 XP · 37 XP
Level 16352 XP · 42 XP
Level 17394 XP · 47 XP
Level 20550 XP · 62 XP
Level 25910 XP · 87 XP
Level 30← Example1,395 XP · 112 XP
Level 311,507 XP · 121 XP
Level 321,628 XP · 130 XP
Level 402,920 XP · 202 XP
Level 505,345 XP · 292 XP
Level 10030,970 XP · 742 XP

Features

What the Minecraft XP Calculator can do

You need experience points for enchanting, using the Anvil, and repairs with Mending. The XP calculator shows you how many points a level costs and how long you'll need to farm for it.

Convert levels to XP

Points needed between starting and target levels up to level 21,863, plus total points from level 0, XP needed to fill the next bar, and XP dropped as orbs on death.

Convert XP to levels

Find the level reached from an XP amount, how full the bar is, and how much XP is still needed.

Estimate farming time

For mob, Enderman, Blaze, and Guardian farms or fishing: how many mobs or catches, and how much time it takes to reach your target level.

Count bottles and cacti

How many Bottles o' Enchanting or smelted cacti you need, also shown in stacks of 64.

Copy /xp command

For servers with cheats or operator permissions: “Level → XP” and “XP → Level” provide the matching /xp command in Java syntax, ready to copy with one click.

Exact formulas

Calculations use the in-game formulas, including all three ranges: up to level 16, up to 31, and above.

How it works

How to use the Minecraft XP Calculator

Three steps from target level to farming time.

Step 1

Select mode

“Level → XP” calculates the points between two levels, “XP → Level” shows the level and XP bar progress for a point total, and “Farm time” calculates the time or quantity needed to reach your target level.

Step 2

Enter values

Enter your starting and target levels or total points, or click an example such as 0 → 30. In farm mode, choose an XP source, such as a mob, blaze, or guardian farm, fishing, or Bottles o' Enchanting, and enter the hourly rate for farms and fishing.

Step 3

Read result

Results appear instantly: XP needed, level and progress, farming time or quantity, and stacks of 64 for bottles and cacti. In “Level → XP” and “XP → Level”, you can copy the Java /xp command with one click.

Knowledge

Experience points in Minecraft: levels, XP, and farming

What you use XP for, how many points each level takes, and how to plan your XP farm to reach your target level.

What you need experience points for

You use XP to enchant at an Enchanting Table, pay for work at an Anvil, and repair equipment with Mending. You need level 30 to access the strongest Enchanting Table option, while the enchantment itself costs at most 3 levels.

What level is 500 or 1,000 XP?

500 experience points get you to level 19, while 1,000 XP get you to level 26. From level 0, you need 5,345 XP to reach level 50 and 30,970 XP to reach level 100. Convert other point totals in “XP → Level” mode.

Plan an XP farm

In “Farm time” mode, choose a mob, enderman, blaze, or guardian farm, fishing, or a custom value, then enter your farm's hourly rate. The prefilled rates are just examples. For Bottles o' Enchanting and smelting cacti, the calculator counts how many you need to reach your target level.

Discover more

More Minecraft enchanting tools

Use the levels you've collected sparingly at the Anvil, buy Mending from a Librarian, give yourself bottles with a command, or brew potions to build your farm.

FAQ

Frequently asked questions about Minecraft XP Calculator

Quick answers about XP per level, Bottles o' Enchanting, XP farms, enchanting, death, and the /xp command.

Going from level 0 to level 30 takes 1,395 experience points. Level 30 is what you need for the strongest Enchanting Table option. If an enchantment leaves you at level 27, you need another 306 XP to reach level 30.

Up to level 16, each level costs 2 × level + 7 XP; from level 16 to 30, it costs 5 × level − 38; and from level 31 onward, 9 × level − 158. That's why higher levels quickly get expensive: level 31 to 32 costs 121 XP, while level 0 to 1 costs just 7 XP.

Usually not. An enchantment at the Enchanting Table costs at most 3 levels, but going from level 30 to 27 costs you 306 XP. The higher your level, the more points those same 3 levels cost. It's better to enchant more often just above level 30 than to hoard high levels.

A Bottle o' Enchanting gives 3 to 11 XP, averaging 7. To get from level 0 to 30, you'll need about 200 bottles, or 3 stacks and 8 bottles. The actual number varies because each bottle gives a random amount.

That mainly depends on your farm's rate. In the calculator's farm mode, blazes and guardians give 10 XP per kill, ordinary hostile mobs and endermen give 5 XP, and fishing gives 1 to 6 XP per catch. Mobs only drop XP if a player killed them or hit them shortly before they died. The prefilled rates are just examples; enter your own farm's rate: At 300 mobs per hour, a mob farm takes 279 mobs and about 56 minutes to get from level 0 to 30.

All of it. In Java Edition, you drop only 7 XP per level as orbs, up to 100. From level 15 onward, you'll never get more than 100 XP back, no matter how high your level was. At level 30, for example, you drop 100 XP.

In Java Edition, use /xp add @s 1395 points for points or /xp add @s 30 levels for whole levels; /xp set sets the value directly. In Bedrock Edition, use /xp 1395 for points or /xp 30L for levels. You'll need cheats or operator permissions on the server. In “Level → XP” and “XP → Level” modes, the calculator shows you the matching Java command using points, ready to copy.

The level curve is the same in Java and Bedrock. XP source values in farm mode come from Java Edition. The calculator supports up to level 21,863: above that, the total points exceed the number range Minecraft uses to store experience.

Any more questions?

Contact Support
Minecraft Server ListSurvival, SMP, Skyblock, Modpacks and more – with live player counts and vote rankings.
Building your own XP farm?

Your own Minecraft server for your XP farm

A ZAP-Hosting Minecraft server is ready in under 60 seconds, with DDoS protection, operator permissions for /xp, and one-click Modpacks so your farm can run around the clock.

4.4/5 Trustpilot32,000+ Active serversSince 2010

No setup. No risk. Online in seconds.

Flexible TermCancel anytimeOnline in 60 seconds

Looking for more tools? View all Minecraft tools