XP Calculator

Convert between experience levels and points, plan level-ups and look up common XP sources

Level ⇄ Points

Level → Points
Total XP points
1,395
Set level command
/xp set @s 30 levels
Points → Level
Level
30
Progress to next level
0/112 (0%)
Add points command
/xp add @s 1395 points

From Level to Level

XP points needed
1,395
Bottles o' Enchanting
≈ 200
Add points command
/xp add @s 1395 points

A Bottle o' Enchanting drops 3–11 XP points (7 on average).

Common XP Sources

SourceXP
Most hostile mobs (zombie, skeleton, creeper …)5
Baby zombies12
Blaze, Guardian & Evoker10
Ravager20
Wither50
Ender Dragon (first time)12,000
Ender Dragon (respawned)500
Passive mobs (cow, pig, sheep …)1–3
Breeding animals1–7
Fishing1–6
Trading with villagers3–6
Bottle o' Enchanting3–11
Smelting iron / gold ore (per item)0.7 / 1.0
Cooking food (per item)0.35
Mining coal ore0–2
Mining diamond / emerald ore3–7
Mining lapis / nether quartz ore2–5
Breaking a mob spawner15–43

Experience math, solved

Convert experience levels into points and back with Minecraft's exact non-linear formulas, calculate the XP needed between any two levels - including how many Bottles o' Enchanting that is - and check common XP sources. Indispensable for planning enchanting sessions, XP farms and /xp commands.

Levels ↔ points conversion

The exact vanilla formulas across all three level brackets - no lookup tables, no approximations.

Level-to-level planning

Compute the exact XP between any two levels - like 27 to 30 for that next big enchant.

Bottles o' Enchanting

See how many XP bottles a target amount equals, using their average yield per throw.

XP source reference

Typical experience values of mobs, smelting, breeding, fishing and mining at a glance.

/xp command output

Copy give commands for levels or points to grant exactly the calculated amount.

Enchanting cost aware

Understand what level 30 really costs and why staying at level 30+ makes enchanting cheaper.

How to calculate your XP

  1. 1

    Enter levels or points

    Type a level, a point amount or a level range - the calculator converts in every direction.

  2. 2

    Read the breakdown

    See total points, the difference to your target and the equivalent in XP bottles.

  3. 3

    Plan your farm session

    Use the source reference to estimate how many mobs, furnaces or fish get you there.

Frequently asked questions

How much XP is level 30?
Reaching level 30 from zero takes 1,395 experience points. Level 50 takes 5,345 and level 100 already 30,970 - the cost curve is steeply non-linear.
Why do higher levels cost so much more?
Minecraft uses three formulas: through level 16 each level costs 2n+7 points, up to 31 it's 5n-38, beyond that 9n-158. The per-level cost therefore keeps climbing - level 39 to 40 alone costs 193 points.
How much XP does a Bottle o' Enchanting give?
Each thrown bottle yields 3-11 points, 7 on average. The calculator uses that average to translate any XP amount into bottle counts for shop pricing or quick top-ups.
Do I lose all XP on death?
You drop a small portion (up to 7 levels' worth as orbs) and lose the rest. On servers, keepInventory or plugins may change this - vanilla hardcore planning should assume the loss.
What are the fastest XP sources?
Enderman and guardian farms top the list, followed by classic mob farms, furnace arrays (smelting), breeding and fishing. The reference table shows typical per-action values to compare.
How does enchanting consume levels?
The enchanting table takes 1-3 lapis and 1-3 levels but requires up to level 30 to show the best enchants - staying above 30 and re-enchanting repeatedly is the efficient pattern. Anvil operations consume the displayed level cost entirely.

Command Palette

Search players and jump to any page.