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
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
| Enchantment | Item | Min level | Bookshelves |
|---|---|---|---|
| Protection IV | Armor | 30 | 15 |
| Sharpness V | Sword/Axe | 30 | 15 |
| Efficiency V | Pickaxe/Axe/Shovel | 30 | 15 |
| Unbreaking III | Tools/Armor | 20 | 10 |
| Fortune III | Pickaxe/Axe/Shovel/Hoe | 30 | 15 |
| Power V | Bow | 30 | 15 |
| Mending | Tools/Armor/Weapons | — | — |
| Silk Touch | Pickaxe/Axe/Shovel/Hoe | 30 | 15 |
| Thorns III | Armor | 30 | 15 |
| Looting III | Sword | 30 | 15 |
| Smite V | Sword/Axe | 30 | 15 |
| Knockback II | Sword | 20 | 10 |
| Fire Aspect II | Sword | 20 | 10 |
| Infinity | Bow | 30 | 15 |
| Flame | Bow | 30 | 15 |
| Punch II | Bow | 20 | 10 |
| Respiration III | Helmet | 30 | 15 |
| Aqua Affinity | Helmet | 20 | 10 |
| Depth Strider III | Boots | 30 | 15 |
| Feather Falling IV | Boots | 30 | 15 |
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. Put Item in the left slot and Fortune III in the right slot6 lvl
- 2. Put Efficiency V in the left slot and Mending in the right slot2 lvl
- 3. Put Item + Fortune III in the left slot and Mending + Efficiency V in the right slot9 lvl
- 4. Put Item + Mending + Efficiency V + Fortune III in the left slot and Unbreaking III in the right slot6 lvl
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
- XP Calculator— XP needed between any two levels
- Beacon Calculator— Optimize your beacon pyramid
- Brewing Calculator— Plan potion recipes step by step
- Nether Portal Calculator— Perfectly linked portal coordinates
- Villager Trade Optimizer— Maximize emeralds per trade
- XP Farm Calculator— Estimate XP per hour

