How to use the enchantment ordering tool
Start with the piece of equipment you want to upgrade and the books you actually have. If the item has been through an anvil, open the advanced options and enter its current enchantments and prior work penalty. The penalty is the surcharge in levels, so an item with three previous anvil operations may have a penalty of 7. If you already know the item's exact penalty, enter that value directly.
Read each step as a pair of inputs. Put the named item or book in the slot shown, then keep the result for the later step that calls for it. Applying every book straight to the item raises its penalty repeatedly. Combining some books first can keep later steps cheaper. Check book compatibility in the enchantment library before you trade for them.
Minecraft Anvil Calculator
The calculator adds the level cost of each operation and reports the most expensive step separately. In Java Survival, the 39-level limit applies to each operation. A plan can spend more than 39 levels in total as long as each individual step fits the limit.
Worked example with a previously enchanted sword
Start with a diamond sword with Sharpness III, Unbreaking II and a prior work penalty of 31. You have a fresh Sharpness III book and a fresh Mending I book.
- Put Sharpness III on the left and Mending I on the right. Take the combined book for 2 levels.
- Put the sword on the left and the combined book on the right. Apply it for 38 levels.
The plan spends 40 levels total and leaves Sharpness IV, Unbreaking II and Mending I on the sword. Its final work penalty is 63. Load this setup in the ordering tool.
Java and Bedrock Edition
The costs and upgrade rules on this page were checked against vanilla Java Edition 26.3. For Bedrock, use the in-game anvil preview to check compatibility and the cost before spending levels. This planner covers applying fresh books to one item. For the exact limits and how the planner was checked, see the anvil calculation rules. For bookshelf setups and enchanting-table odds, use the Minecraft Enchantment Calculator.