Tools / Anvil calculator

Anvil calculator

Pick an item and the enchantments you want, one book each. You get the combining order with the lowest total level cost, counting the prior work penalty and staying under the Too Expensive limit. Java Edition.

Item: Sword
Enchantments

Picking one that clashes swaps out the other (for example Sharpness and Smite).

Pick some enchantments to see the order.

How to combine enchantments on an anvil

Every time an item or book goes through an anvil, its prior work penalty goes up, so the next combine costs more. In the wrong order, a fully enchanted item hits Too Expensive (40 levels or more in survival) before you finish.

Step by step

  1. Pick the item, such as a sword, pickaxe or chestplate.
  2. Choose the enchantments you want. Ones that can't go together are greyed out.
  3. Follow the steps in order: which books to combine first, and when to add them to the item, with the level cost of each.

Tips

  • Combine books with each other first, in pairs, and add them to the item at the end. This keeps the penalty low.
  • Renaming an item in the same step costs one extra level but does not add another penalty.

Related: Librarian predictor · Armor trim previewer · Stack calculator