With up to eight sacrifices, AnvilPilot completes the full search and proves that no plan ranks better under the selected objective and tie-breakers.
Minecraft Enchantment Calculator
Find a low-cost anvil order, see every left and right slot, and catch Too Expensive steps before you spend levels in Survival.
Build your anvil plan
Use Quick Plan for fresh books, or enter the prior work and enchantments on the items you already own.
Why Enchantment Order Matters
Every anvil use adds a prior-work penalty. Combining the same books in a different tree can change both the total levels you spend and the cost of the final step. A step costing 40 levels or more cannot be completed in Survival, even when the enchantments themselves are valid.
How to Use the Calculator
- 1Choose the item
Select a functional item type such as Sword, Pickaxe, Mace, or Spear.
- 2Describe your materials
Use fresh books in Quick Plan, or enter real prior work and mixed books in Inventory Plan.
- 3Follow the slots
Run the solver, then use the listed left slot, right slot, cost, and result for every step.
Exact Optimal vs Best Found
With nine to 32 sacrifices, a deterministic bounded search returns its best result without claiming mathematical optimality.
Java Edition Scope
This version supports Minecraft Java Edition 26.2 enchantment costs, compatibility, prior work, and mixed enchanted books. It does not calculate Bedrock rules, equipment sacrifices, renaming, material repairs, durability merging, mods, datapacks, or snapshots.
FAQ
What does prior work mean?
Prior work is the number of earlier anvil operations in an item's history. The penalty follows 2ⁿ − 1, so it grows quickly.
Why can a valid enchantment plan still be Too Expensive?
Survival blocks any single anvil step at 40 levels or more. Earlier combinations can raise the final item's prior-work penalty past that limit.
Can I share a calculation?
Yes. Copy Share Link stores the validated input in the URL hash. It does not create a server record and the hash is not part of the canonical URL.
Does a mixed book keep every enchantment?
No. When a book is applied to an item, enchantments that do not apply to that item are discarded and shown as a warning.