Calculators

Minecraft Enchanting Table & Anvil Order Calculator

See the exact XP points and lapis each enchanting table slot spends at your current level, how many bookshelves you need for level-30 offers, and the cheapest Java anvil order for combining enchanted books onto a fresh item.

Cost calculator

Enchanting table slot
Lapis cost
3 lapis
Levels spent
3 levels
XP points spent
306
Level after
27
Bookshelf rule

Place 15 bookshelves one block away from the table (in a 5×5 ring, 1 block tall) to unlock slot 3 (level 30) enchants. Fewer bookshelves cap the slot level.

Top enchantments

EnchantmentItemMin levelBookshelves
Protection IVArmor3015
Sharpness VSword/Axe3015
Efficiency VPickaxe/Axe/Shovel3015
Unbreaking IIITools/Armor2010
Fortune IIIPickaxe/Axe/Shovel/Hoe3015
Power VBow3015
MendingTools/Armor/Weapons——
Silk TouchPickaxe/Axe/Shovel/Hoe3015
Thorns IIIArmor3015
Looting IIISword3015
Smite VSword/Axe3015
Knockback IISword2010
Fire Aspect IISword2010
InfinityBow3015
FlameBow3015
Punch IIBow2010
Respiration IIIHelmet3015
Aqua AffinityHelmet2010
Depth Strider IIIBoots3015
Feather Falling IVBoots3015

Treasure enchantments (e.g. Mending) cannot be rolled at the table — get them from villager trades, fishing or loot chests.

Anvil combination order calculator

Pick up to 8 max-level books for a fresh item. We test every combining order and show the cheapest one where no single step reaches 40 levels, so you never see "Too Expensive!" (Java Edition costs).

  1. 1. Put Item in the left slot and Fortune III in the right slot6 lvl
  2. 2. Put Efficiency V in the left slot and Mending in the right slot2 lvl
  3. 3. Put Item + Fortune III in the left slot and Mending + Efficiency V in the right slot9 lvl
  4. 4. Put Item + Mending + Efficiency V + Fortune III in the left slot and Unbreaking III in the right slot6 lvl
Total: 23 levels · Final prior-work penalty: 7 levels

Why order matters: every anvil use adds a prior-work penalty (1, 3, 7, 15, 31 levels) to the next combine. Merging books in pairs first keeps penalties low. Bedrock Edition uses slightly different multipliers.

How enchanting costs work in Minecraft

Enchanting table costs

The table offers three slots. Slot 1 costs 1 level and 1 lapis lazuli, slot 2 costs 2 levels and 2 lapis, and slot 3 costs 3 levels and 3 lapis. A level-30 offer requires you to have at least 30 levels, but selecting it spends only 3 levels. XP points spent depend on your starting level; the calculator converts those levels into points.

How many bookshelves for level 30

You need 15 bookshelves placed one block away from the table in a 5×5 ring, one block tall, with air between the shelves and the table. Fewer bookshelves cap the maximum slot level, so a half-built ring quietly limits your rolls.

Cheapest anvil order for books

Every time an item passes through an anvil its prior-work penalty doubles. Combine books in balanced pairs instead of adding them one at a time, and keep every single step under 40 levels or the anvil shows Too Expensive. The calculator above finds the cheapest valid order for up to 8 books automatically.

Treasure enchantments

Mending, Frost Walker, Soul Speed and Swift Sneak never appear on the enchanting table. Get them from librarian villager trades, fishing, loot chests or bartering, then apply them on an anvil.

Related tools

Browse all tools

Blueprints to build with this tool

Browse the Blueprint Library