
Minecraft Enchantment Calculator
It finds the cheapest order for combining books on the anvil, counts the cost in levels, and helps you avoid «Too Expensive!».
Updated:Anvil calculator
Find the cheapest order for combining ready-made books and check the anvil limit.
Your item
Choose the gear that should receive the enchanted books.

The item is already enchanted
Mark the enchantments already on the item. They cost nothing in later operations, but conflicting books become unavailable. Set the prior work above.
Enchanted books
Select an enchantment, then set the chosen book level.
Combination tree
The cheapest order is rebuilt after every change.
Item
Book
+6
Book
Book
+2
+7
Book
+8
Diamond SwordThe calculation uses anvil_cost values from the Java 26.2 vanilla datapack and item prior-work penalties.
Step-by-step order
Keep the base item on the left and place the donor book on the right.
Diamond swordBase item
BookLooting III
Diamond swordLooting III
BookUnbreaking III
BookMending I
Combined bookUnbreaking III, Mending I
Diamond swordBase item
BookUnbreaking III, Mending I
Diamond swordLooting III, Unbreaking III, Mending I
Diamond swordBase item
BookSharpness V
Diamond swordLooting III, Unbreaking III, Mending I, Sharpness VBrowse by topic
Вся викиTools
View all toolsPopular articles
View all articlesNew in Minecraft
Enchantment builds and troubleshooting
Frequently asked questions
Why does the anvil say Too Expensive?
In Java Survival, a combination costing 40 levels or more is blocked. The limit applies to each operation, not the plan total. Having 100 levels does not remove it; renaming alone without repairs or enchantments is an exception.
How does the prior-work penalty grow?
A new item has a penalty of 0. Combining sets the new penalty to 2 × the larger input penalty + 1: 0, 1, 3, 7, 15, 31, 63. This reflects the depth of earlier combinations, not the total number of books used. Renaming alone does not increase it.
Should I combine every book into one first?
Not necessarily. Every transfer charges for the enchantments on the right-hand book, so both its contents and the two input penalties matter. The cheapest plan can mix individual books with small groups. The sum of level costs is not a number of XP points.
Can I reset the penalty and keep my enchantments?
A grindstone resets the penalty but removes ordinary enchantments and retains curses. Mending repairs durability with XP without increasing the penalty, but does not reset an existing one. If new enchantments exceed the limit, compare the same build on a fresh item.
Which item and book states does the calculation support?
The calculation uses Java 26.2 rules: one fresh book per selected enchantment, already at the desired level, with no prior work. The item can have a prior-work penalty. Material repairs, existing item enchantments, premade multi-enchantment books, and Bedrock are not modeled, so the displayed price is not an exact quote for those cases.




















