ANVIL ORDER · JAVA 1.21 · EVERY ITEM
Minecraft Enchantment Calculator
Pick your item, tick the enchantment books you have, and this Minecraft enchantment calculator shows the cheapest anvil order step by step. You see which item goes in the left slot, which book goes in the right slot, and the XP level cost of every step, so you never hit Too Expensive.
Runs in your browser. Nothing to download, and no seed needed.
More Minecraft finders
Village Finder
Find the closest villages to spawn for an easy first night.
Biome Finder
Find cherry groves, mushroom fields and the deep dark.
Slime Chunk Finder
Spot slime chunks below Y=40 for farms, Java and Bedrock.
Stronghold Finder
See every stronghold ring, so you need fewer Eyes of Ender.
Ancient City Finder
Locate deep dark cities and plan a quiet route in.
Nether & End
Fortresses, bastions, end cities and end gateways.
Seed Finder
Search for seeds with a village and a rare biome near spawn.
3D Seed Viewer
Rotate mountains and valleys around any spot on your seed.
About the Enchantment Calculator
Putting seven or eight enchantments on one sword or chestplate takes several trips to the anvil. Every trip makes the next one more expensive, because the anvil adds a prior work penalty each time an item or book is used. Combine books in the wrong order and the last step can jump past 39 levels and get blocked. This enchantment order calculator tries every legal merge order and gives you the one with the lowest total cost.
What you get on this page:
- Cheapest merge order: every legal anvil order is checked, and the lowest total wins
- Left and right slots: each step says exactly what goes where
- Level cost per step: plus the total, the most expensive step, and the XP points
- Conflict check: enchantments that can’t go together are greyed out
- Every item: swords, axes, tools, mace, bow, crossbow, trident, armor, elytra, fishing rod, shears and shields
How to Use the Enchantment Calculator
Step 1: Choose Your Item
Pick the item you want to enchant, like a Netherite sword or Diamond boots. The list only shows the enchantments that item can take.
Step 2: Tick Your Enchantment Books
Check every enchanted book you have and set its level, like Sharpness V or Unbreaking III. Conflicting choices are greyed out, so you can’t pick Silk Touch and Fortune together.
Step 3: Follow the Steps
The calculator lists each anvil step in order. Put the first item in the left slot and the second one in the right slot, pay the levels, and move to the next step.
Step 4: Check the Total
Under the steps you’ll see the total level cost, the most expensive single step, and how many anvil uses the item has afterward. Make sure you have enough levels for the biggest step before you start.
Why Anvil Order Matters
Each time an item or book goes through an anvil, its prior work penalty grows: 0, 1, 3, 7, 15, 31 levels. Both the left and right item add their penalty to the cost. If you stack books onto your sword one by one, the sword’s penalty doubles every time and the last books get very expensive.
The trick is to merge books in pairs first, then merge the pairs, so every item goes through the anvil as few times as possible. That’s a balanced merge order, and it’s what the calculator builds for you.
| Anvil uses so far | Prior work penalty |
|---|---|
| 0 | 0 levels |
| 1 | 1 level |
| 2 | 3 levels |
| 3 | 7 levels |
| 4 | 15 levels |
| 5 | 31 levels |
How Anvil Costs Are Calculated
The cost of one anvil step in Java Edition is:
- Enchantment cost of the item in the right slot: each enchantment’s level times its multiplier
- Plus the prior work penalty of the left item
- Plus the prior work penalty of the right item
Books have lower multipliers than items, which is why you always combine books and put them on the item, not the other way around.
| Book multiplier | Enchantments |
|---|---|
| 1 | Protection, Sharpness, Efficiency, Power, Unbreaking, Feather Falling, Fire Protection, Projectile Protection, Smite, Bane of Arthropods, Knockback, Loyalty, Piercing, Quick Charge, Density |
| 2 | Blast Protection, Respiration, Aqua Affinity, Depth Strider, Frost Walker, Fire Aspect, Looting, Sweeping Edge, Fortune, Punch, Flame, Mending, Multishot, Impaling, Riptide, Luck of the Sea, Lure, Breach, Wind Burst |
| 4 | Thorns, Silk Touch, Infinity, Channeling, Soul Speed, Swift Sneak, Curse of Vanishing, Curse of Binding |
Too Expensive: the 40 Level Limit
In Survival, any anvil step that costs 40 levels or more shows Too Expensive and can’t be done. The calculator only returns orders where every step stays at 39 levels or less. If no order works, it tells you, and you need to drop an enchantment or use fewer books.
Which Enchantments Can’t Be Combined
| Group | Only one of |
|---|---|
| Armor protection | Protection, Fire Protection, Blast Protection, Projectile Protection |
| Sword and axe damage | Sharpness, Smite, Bane of Arthropods |
| Mace damage | Density, Breach, Smite, Bane of Arthropods |
| Tools | Silk Touch, Fortune |
| Bow | Infinity, Mending |
| Crossbow | Multishot, Piercing |
| Trident | Riptide with Loyalty or Channeling |
| Boots | Depth Strider, Frost Walker |
Best Enchantment Order for a Netherite Sword
A full sword usually means Sharpness V, Unbreaking III, Mending, Looting III, Sweeping Edge III, Fire Aspect II and Knockback II. With fresh books, the calculator finds an order where no step costs more than 15 levels, so you can do it all from about level 15. Tick those seven books with Sword selected to see the exact steps.
Best Enchantment Order for Armor
For boots, the common set is Protection IV, Feather Falling IV, Depth Strider III, Soul Speed III, Unbreaking III, Mending and Thorns III. Thorns and Soul Speed have a high multiplier, so they cost more. The calculator puts them in steps where the penalty is still low.
Tips to Save XP
- Get max-level books first: combining two lower books costs extra trips.
- Use the enchanting table for the item: a level 30 enchant from the table costs only 3 levels and gives the item free enchantments.
- Merge books, not items: sacrificing an enchanted item costs double the multiplier.
- Rename last: renaming adds cost and also counts as an anvil use.
- Get Mending from villagers: a librarian can sell a Mending book for emeralds.
Can the Prior Work Penalty Be Reset?
Yes. A grindstone removes all non-curse enchantments and resets the penalty to zero. You lose the enchantments, so it only helps if you plan to start over with books.
Java and Bedrock Anvil Costs
The calculator uses Java Edition rules. Bedrock Edition uses the same merge idea and the same 40 level limit, but it calculates some costs differently, so a few steps can be cheaper or more expensive on Bedrock. The order still works well as a plan on Bedrock.
Related Minecraft Tools
These tools pair well with this one:
- Minecraft Seed Map: the full map with every biome and structure
- Trial Chamber Finder: Trial chambers by seed
Frequently Asked Questions
Why does enchantment order matter?
Every anvil use raises the prior work penalty of that item or book. Combining books in pairs keeps the penalty low, while adding books one by one makes the last steps cost far more levels.
What is the prior work penalty?
It’s an extra cost added for each time an item or book has already been used on an anvil. It goes 0, 1, 3, 7, 15, 31 levels, doubling plus one each time.
Why does my anvil say Too Expensive?
The step costs 40 levels or more, which Survival mode doesn’t allow. Use a cheaper merge order, fewer books, or a fresh item.
Do the left and right anvil slots matter?
Yes. The item in the right slot is the one you pay for, so put the item you’re upgrading on the left and the book on the right.
Does combining books first save levels?
Almost always. Books have a lower multiplier than items, and merging them in pairs keeps the prior work penalty low for every step.
Does the calculator support the mace?
Yes. Pick Mace to combine Density or Breach with Wind Burst, Fire Aspect, Unbreaking and Mending.
Final Thoughts
An enchantment calculator turns a pile of books into a clear plan. Pick your item, tick your books, and follow the steps from left slot to right slot. You’ll spend fewer levels, avoid Too Expensive, and end up with a fully enchanted item in a few anvil trips.
