Minecraft XP Calculator

Free Minecraft Experience Calculator

Calculate experience points, convert between XP and levels, and find out exactly how many mobs, ores, or bottles you need to reach your target level. Works for both Java Edition and Bedrock Edition.

Calculator

Results

Total XP for Level 30:1,395 XP
XP to reach Level 31:112 XP

XP Sources Needed

How many of each source you need to get the calculated XP

Zombie/Skeleton
5 XP each
279
needed
Creeper
5 XP each
279
needed
Enderman
5 XP each
279
needed
Blaze
10 XP each
140
needed
Ender Dragon
12000 XP each
1
needed
Wither
50 XP each
28
needed
Bottle o' Enchanting
7 XP each
200
needed
Coal Ore
1 XP each
1,395
needed
Diamond Ore
5 XP each
279
needed
Emerald Ore
6 XP each
233
needed
Lapis Ore
4 XP each
349
needed
Nether Quartz Ore
3 XP each
465
needed
Redstone Ore
3 XP each
465
needed
Spawner
30 XP each
47
needed
Furnace (per item)
1 XP each
1,395
needed
Breeding Animals
3 XP each
465
needed
Fishing
3 XP each
465
needed
Trading (per trade)
5 XP each
279
needed

XP Level Reference

LevelTotal XPXP to NextLevelTotal XPXP to Next
00+725910+87
17+926997+92
216+11271,089+97
327+13281,186+102
440+15291,288+107
555+17301,395+112
672+19311,507+121
791+21321,628+130
8112+23331,758+139
9135+25341,897+148
10160+27352,045+157
11187+29362,202+166
12216+31372,368+175
13247+33382,543+184
14280+35392,727+193
15315+37402,920+202
16352+42413,122+211
17394+47423,333+220
18441+52433,553+229
19493+57443,782+238
20550+62454,020+247
21612+67464,267+256
22679+72474,523+265
23751+77484,788+274
24828+82495,062+283

How Minecraft XP Works

Minecraft XP Formula

Minecraft uses a non-linear experience system where higher levels require progressively more XP:

  • Levels 0-16: XP = L² + 6L
  • Levels 17-31: XP = 2.5L² - 40.5L + 360
  • Levels 32+: XP = 4.5L² - 162.5L + 2220

Quick XP Tips

  • Enchanting at level 30 costs only 1-3 levels
  • Anvil repair costs increase with each use
  • XP orbs merge when close together
  • Death drops a maximum of 100 XP points (7 levels)
  • Mending repairs 2 durability per 1 XP point

Common XP Milestones

Level 15
Basic Enchanting
315 XP needed
Level 27
Efficient Enchanting
1,089 XP needed
Level 30
Max Enchanting
1,395 XP needed
Level 39
Max Anvil Combine
2,727 XP needed

Best XP Sources in Minecraft

Experience points (XP) in Minecraft are collected as green orbs that float toward you. Different activities give different amounts of XP. Here are the most efficient ways to gain experience:

Mob XP Sources

  • Ender Dragon: 12,000 XP (first kill)
  • Wither: 50 XP per kill
  • Blaze: 10 XP per kill
  • Enderman: 5 XP per kill
  • Most hostile mobs: 5 XP per kill
  • Baby mobs: No XP (except baby zombies)

Non-Combat XP

  • Trading with villagers: 3-6 XP per trade
  • Mining ores: 1-7 XP (varies by ore)
  • Smelting: 0.1-1 XP per item
  • Fishing: 1-6 XP per catch
  • Breeding animals: 1-7 XP per breeding
  • Bottle o' Enchanting: 3-11 XP each

XP and Enchanting

The enchanting table is the primary reason players farm XP. Understanding how levels affect enchanting helps you farm efficiently:

  • Level 30 enchanting gives the best enchantments. The cost is 3 lapis lazuli and 1-3 levels, but you need level 30 to access the top slot.
  • Reaching level 30 from 0 requires 1,395 XP. After enchanting, you'll drop to level 27-29, needing only 94-270 XP to return to 30.
  • Bookshelves matter: You need 15 bookshelves around your enchanting table to unlock level 30 enchantments.
  • Anvil combining uses levels based on enchantment complexity. Combining two max-enchanted items can cost 30+ levels.

Frequently Asked Questions

About This Minecraft XP Calculator

This free Minecraft XP calculator helps you calculate experience points for any level in Minecraft. Whether you're preparing for enchanting, planning an XP farm, or calculating mending repairs, our calculator uses the official Minecraft experience formulas to give you accurate results.

The experience system in Minecraft is essential for enchanting items, repairing tools with mending, and using the anvil. Unlike many games, Minecraft's XP requirements scale non-linearly, meaning higher levels require significantly more experience points. For example, reaching level 30 requires 1,395 XP, but reaching level 50 requires 5,345 XP - almost 4 times more.

Our calculator supports four modes: Level to XP conversion, XP to Level conversion, Level Range calculation for finding XP between two levels, and a Mending calculator to determine how much XP you need to fully repair an item. The XP sources table shows exactly how many mobs, ores, or other sources you need to reach your target.