Enchantment Order Calculator for Minecraft
Find the cheapest anvil order for your enchanted books in Minecraft. Pick an item and its enchantments and see every step, the XP levels it costs and when the anvil says Too Expensive.
Enchantments
Each enchantment is added from its own book. Pick the level you want; enchantments that cannot be combined are greyed out.
Choose at least one enchantment to see the cheapest order.
Information
Every time an item goes through an anvil, the next anvil operation on it gets more expensive. When you put many enchanted books on one item, the order you combine them in decides whether the total is 66 levels or whether the anvil refuses with "Too Expensive!". Choose your item and the enchantments you want, and this calculator searches every way to combine the books and shows the cheapest one, step by step, with the book that goes in the left and the right slot of the anvil.
Examples
Seven enchantments on diamond boots
Soul Speed III, Thorns III, Feather Falling IV, Depth Strider III, Protection IV, Unbreaking III and Mending on one pair of boots cost 66 levels in 7 anvil steps when you combine some of the books with each other first. Adding the seven books one at a time costs 163 levels, and the last step alone costs 65, so the anvil refuses it.
Seven enchantments on a sword
Sharpness V, Looting III, Sweeping Edge III, Mending, Unbreaking III, Fire Aspect II and Knockback II cost 49 levels with the cheapest order, against 148 levels when you add the books one by one.
Frequently asked questions
Why does the order of enchanted books matter?
Each anvil operation adds a prior work penalty to the item and to books you combine. The penalty doubles and goes up by one every time: 0, 1, 3, 7, 15, 31. The cost of an operation is the value of the book in the right slot plus the penalty of both items, so a long chain of single books gets very expensive, while combining books in pairs first keeps the penalties small.
What does Too Expensive! mean?
In Survival and Adventure mode the anvil refuses any single operation that costs more than 39 levels, no matter how many levels you have. The calculator marks such a step and, when it can, picks an order where every step stays at 39 levels or less.
Which book goes in the left slot and which in the right?
The left slot holds the target, the right slot the item that is used up. You pay for the enchantments of the right slot, so the book with the lower value goes on the right when you combine two books. The calculator shows the left and right item for every step.
How is the cost of an enchantment worked out?
For a book, the value of an enchantment is its level multiplied by a multiplier that depends on the enchantment, for example 1 for Protection and Sharpness, 2 for Mending, and 4 for Thorns and Soul Speed. Soul Speed III is worth 12 levels, Mending 2. Add the prior work penalty of both items and you have the cost of that step.
What is the difference between Java and Bedrock?
For books that add new enchantments, the cost is the same in both editions. The multipliers differ for Impaling: a book is worth 2 per level in Java and 1 in Bedrock. Sweeping Edge exists in Java Edition only, and Silk Touch can be put on shears in Bedrock Edition only.
Does the calculator include repair and rename costs?
No. It plans the order of enchanted books only. Renaming costs 1 extra level and repairing a damaged item with another item costs 2 extra levels, which come on top of the numbers shown here. You can enter how many times the item has already been in an anvil to include an existing prior work penalty.
Can I put two enchantments that exclude each other on one item?
No. Sharpness, Smite and Bane of Arthropods exclude each other, as do the four kinds of Protection, Fortune and Silk Touch, Infinity and Mending, Multishot and Piercing, Depth Strider and Frost Walker, and Riptide with Loyalty or Channeling. The calculator greys out the enchantments you can no longer pick.