Minecraft XP calculator

Building

Experience needed for a level and an /xp commandLearn more

How much experience does each level cost and how much remains to reach the goal. The game only shows the number above the bar, and the distance to level 30 is not linear: from level 29 to 30 requires 107 experience points, while from level 1 to 2 requires only 9.

My Game select version

Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.

How much experience do you currently have

The number above the bar is the level. Experience points are visible only to commands: /xp query @s points.

What level is needed?

If you die now

Nothing to lose: no experience.

Result

Response and /xp.
0

Up to level 30

1395 points

This is approximately 200 bottles experience: one gives from 3 to 11, on average 7.

Total experience
0
Level
0
Until next level
7 points
/xp add @s 1395 points
/xp set @s 30 levels

How to use the result

  1. Enable commands

    Cheats in single-player or operator permissions on a server are required for /xp to work.

  2. Open the chat and paste

    T, then Ctrl+V and Enter. @s — this is you: you give yourself experience.

  3. add adds, set sets

    /xp add @s 100 points adds 100 points, /xp set sets the value regardless of what was previously there.

How much does a level cost

The experience curve changes at levels 16 and 31. Up to level 16, the cost of each new level rises by two points; up to level 31, by five; after that, by nine.

Minecraft levels: total experience and cost of the next level
Level Total experience Until next
1 7 9
2 16 11
3 27 13
4 40 15
5 55 17
6 72 19
7 91 21
8 112 23
9 135 25
10 160 27
15 315 37
16 352 42
17 394 47
20 550 62
25 910 87
30 1395 112
31 1507 121
32 1628 130
35 2045 157
40 2920 202
45 4020 247
50 5345 292

Where does experience come from?

How much each source gives — according to Minecraft Wiki, for Java Edition.

Experience sources in Minecraft and how much they give
Source Experience Note
Regular hostile mob 5 Zombies, skeletons, spiders, creepers. For each piece of equipment, gain 1–3.
Hostile mob cub 12 More than an adult: young creatures are harder to kill.
Blaze, Guardian, Elder Guardian 10 Twice as much as a regular mob.
The wither 50 Plus for the Nether star.
Ender Dragon 12 000 Only for the first kill; each subsequent kill gives 500.
Peaceful animal 1–3 Cow, Pig, Sheep, Chicken.
Breeding 1–7 For each newborn creature.
Fishing 1–6 For each catch, including trash.
Diamond and emerald ore 3–7 The richest ore in the game. Silk Touch does not yield any experience.
Lapis Lazuli ore, Nether quartz 2–5
Redstone Ore 1–5
Coal Ore 0–2
Nether Gold Ore 0–1
Spawner 15–43 Once — upon destruction.
Sculk 5 It is also a sensor, a creeper, and a catalyst.
Trading with a villager 3–6 For each trade.
Bottle o' enchanting 3–11 On average, 7 per item.

What to know about experience

  • Levels are not linear. The first ten levels require 160 points in total, while level 30 to 31 alone requires 112. Moving from level 25 to 30 therefore costs much more than moving from 5 to 10.
  • 30th level is the maximum enchantment level. The third enchanting-table slot reaches its maximum offer at level 30. Additional player levels do not improve that offer.
  • Enchanting consumes levels, not points. Enchanting spends up to three levels and the same number of lapis lazuli. With fifteen active bookshelves, the third slot requires level 30 but spends only three levels.
  • Experience is reset to zero upon death. When it falls to the ground, it gives only 7 experience points per level and no more than 100 — that's all that can be recovered; the rest is lost. From level 15 onwards, it drops the same hundred, so the higher the level, the more is lost.
  • A stone polish returns experience. A grindstone removes enchantments and returns some experience. An anvil only spends experience.
  • The game does not count beyond level 21863. The total experience no longer fits into the number the game stores it in.

Formulas and values verified against the Minecraft Wiki (Experience) and apply to Java Edition. The order of books in the anvil and its cost are calculated. anvil calculator, and find out how many bookshelves you need for level 30 in enchanting table.

Frequently asked questions

How much experience is needed to reach level 30?

1395 points — and the distance between levels is nonlinear: from level 29 to 30 requires 107 points, while from level 1 to 2 requires nine.

How much experience is lost upon death?

All: the counter resets completely. 7 points fall to the ground per level, but no more than 100 — and that hundred can be picked up again.

Why did enchantment take all levels?

The enchanting table spends levels, not a fixed number of experience points. A level-30 offer requires you to have 30 levels, but the third slot spends three levels and three lapis lazuli.