Home › Minecraft Enchantment Order Calculator

Minecraft Enchantment Order Calculator

Pick an item and the enchantment books you have, and get the cheapest anvil order step by step: what goes in the left and right slot, the level cost of each step and the total in levels and XP points. Java Edition 26.3 rules, including the mace and spear.

Presets:

Cheapest order

How to use the calculator

Choose your item, tick the enchantments you want and pick each level. The calculator assumes every enchantment comes on its own enchanted book, the way librarians sell them. It then checks every possible way to combine the item and the books, skips any order with a step of 40 levels or more, and shows the cheapest one. Each step tells you what to put in the left anvil slot (the target) and the right slot (the sacrifice). Curses are left out.

If your item already has enchantments or has been through an anvil, tick My item is already enchanted, set how many anvil uses it has and mark the enchantments it already has. Use the presets for the usual "god" gear, and Copy link to share your exact setup.

How anvil costs work

When you combine two items in Java Edition, the cost in levels is:

cost = enchantment cost of the right-slot item + prior work penalty of both items

The enchantment cost adds up, for every enchantment on the right-slot item, the final level of that enchantment times its multiplier. Books have lower multipliers than items, so you almost always enchant with books. A Sharpness V book costs 5 levels (5 × 1), a Mending book costs 2 (1 × 2) and a Soul Speed III book costs 12 (3 × 4). Enchantments already on the left item are free. Renaming adds 1 level and repairing a damaged item adds more, so do those separately.

Book cost per levelItem cost per levelEnchantments
11Protection, Sharpness, Efficiency, Power, Loyalty, Piercing
12Fire Protection, Projectile Protection, Feather Falling, Smite, Bane of Arthropods, Knockback, Unbreaking, Quick Charge, Density, Lunge
24Blast Protection, Respiration, Aqua Affinity, Depth Strider, Frost Walker, Fire Aspect, Looting, Sweeping Edge, Fortune, Punch, Flame, Luck of the Sea, Lure, Mending, Impaling, Riptide, Multishot, Breach, Wind Burst
48Thorns, Soul Speed, Swift Sneak, Silk Touch, Infinity, Channeling

In Survival and Adventure mode an anvil step can cost at most 39 levels. At 40 or more the anvil shows Too Expensive! and refuses, no matter how many levels you have. Creative mode has no limit.

The prior work penalty explained

Every item and book remembers how many times it has been through an anvil. Each use makes the next step more expensive, and the penalty roughly doubles each time (2uses − 1). Both items in the anvil add their penalty, and the result keeps the higher use count plus one.

Anvil uses so farPenalty added to the next step
0 (fresh item or book)0
11
23
37
415
531
663 (always Too Expensive in Survival)

This is why the order matters so much. Add six books to a sword one at a time and the sword pays 0 + 1 + 3 + 7 + 15 + 31 = 57 levels in penalties alone. Combine books in pairs first and nothing goes through the anvil more than three times.

Why the order matters

Take a god sword: Sharpness V, Looting III, Fire Aspect II, Sweeping Edge III, Unbreaking III and Mending. Adding the books to the sword one by one costs 83 levels, and the last step alone costs more than 30. The best order costs 44 levels and no step is above 11. A pickaxe with Efficiency V, Fortune III, Unbreaking III and Mending drops from 27 to 23 levels.

Two things trade off against each other. Pairing everything keeps the penalties low, but every time an enchantment sits in the right slot you pay for it again, because a combined book carries all its enchantments into the next step. The Minecraft Wiki puts it simply: the most expensive enchantment should be in the sacrifice slot as few times as possible. With 7 books for boots, a neat pairing costs 68 levels, while a slightly uneven order costs 66. This calculator checks every order, so it finds that kind of saving for you.

Tips for cheaper enchanting

  • The item always goes in the left slot. You cannot put a sword in the right slot of a book, so the item is the target in every step it is part of. Its own enchantments are never charged.
  • Put the most expensive book on the item early. Soul Speed, Swift Sneak, Silk Touch, Thorns and Impaling cost a lot per step. Placing them directly on the fresh item means you pay for them once, with no penalty.
  • Combine cheap books with each other. Unbreaking III + Mending costs only 2 levels as a pair, and the pair is still cheap when it goes on the item.
  • Put the pricier book on the left when you combine two books. Only the right one is charged.
  • Do not use one item for everything. If your item already has 4 or 5 anvil uses, starting over with a fresh one is often the only way past Too Expensive.
  • Leave repairs for last. With Mending you never need the anvil for repairs, so the final penalty matters less. Without Mending, use Lowest prior work to keep the item repairable for longer.

XP levels vs XP points

The anvil charges levels, but levels get more expensive the higher you are. Going from level 0 to 10 takes 160 XP points; going from 0 to 30 takes 1,395. That is why the calculator also shows XP points: the experience you need if you earn the levels for each step just before it, starting from level 0. If you save up first shows the points needed to hold all the levels at once, which is much more. The default setting, Fewest XP points, prefers several cheap steps over one big one. Cheapest biggest step keeps the largest step as small as possible, which helps when you are short on levels.

Best enchantments for each item

All combinations below are allowed together in Java Edition 26.3. Items marked "or" have mutually exclusive choices.

ItemBest enchantments
SwordSharpness V, Looting III, Fire Aspect II, Sweeping Edge III, Unbreaking III, Mending (Knockback II optional; Smite V instead of Sharpness for undead)
SpearSharpness V, Lunge III, Looting III, Fire Aspect II, Unbreaking III, Mending (Knockback II optional)
MaceDensity V or Breach IV, Wind Burst III, Fire Aspect II, Unbreaking III, Mending
Pickaxe, shovel, hoeEfficiency V, Fortune III or Silk Touch, Unbreaking III, Mending
AxeEfficiency V, Sharpness V, Fortune III or Silk Touch, Unbreaking III, Mending
HelmetProtection IV, Respiration III, Aqua Affinity, Unbreaking III, Mending
ChestplateProtection IV, Unbreaking III, Mending
LeggingsProtection IV, Swift Sneak III, Unbreaking III, Mending
BootsProtection IV, Feather Falling IV, Depth Strider III or Frost Walker II, Soul Speed III, Unbreaking III, Mending
BowPower V, Punch II, Flame, Unbreaking III, Infinity or Mending
CrossbowQuick Charge III, Multishot or Piercing IV, Unbreaking III, Mending
TridentImpaling V, Loyalty III and Channeling, or Riptide III, Unbreaking III, Mending
Fishing rodLuck of the Sea III, Lure III, Unbreaking III, Mending
Elytra, shield, shears, brushUnbreaking III, Mending (shears can also take Efficiency V)

Thorns III can go on any armor piece but is one of the most expensive books. Mending, Frost Walker, Soul Speed, Swift Sneak and Wind Burst are treasure enchantments: you cannot get them from an enchanting table. Librarians can sell Mending and Frost Walker, but not the other three. Find the cheapest librarian books with the villager trades list.

Bedrock Edition note

This calculator follows Java Edition rules. Bedrock Edition works slightly differently: it charges for the levels an enchantment gains instead of its final level, Impaling has a lower multiplier, and some items accept different enchantments. Bedrock totals can therefore differ from the numbers shown here.

Frequently asked questions

What is the best order to combine enchantments in Minecraft?

There is no single order that works for every item, which is why this calculator tests every possible way to combine your item and books and picks the cheapest. As a rule of thumb, combine books in pairs, put the most expensive book on the item early so it is paid for only once, and avoid putting the same expensive enchantment in the right slot again and again.

How do I avoid "Too Expensive!" on the anvil?

Each anvil step must cost 39 levels or less in Survival. Costs climb because of the prior work penalty, which roughly doubles with every anvil use. Combining books in pairs before they touch the item keeps the number of uses low. If the calculator says no order fits, the item already has too many anvil uses: start with a fresh item or leave out an enchantment. Creative mode has no limit.

What is the prior work penalty?

Every time an item or book goes through an anvil, its next anvil step gets more expensive: 0, 1, 3, 7, 15, 31 levels after 0 to 5 uses. Both items in the anvil add their penalty, and the result keeps the higher use count plus one. Renaming alone does not add a use in Java Edition.

Does it matter which book goes in the left slot?

Yes. You only pay for the enchantments on the item in the right slot (the sacrifice). Thorns III on the left and Mending on the right costs 2 levels; swap them and it costs 12. The calculator always tells you which item goes left and which goes right.

How many levels does a god sword cost?

Sharpness V, Looting III, Fire Aspect II, Sweeping Edge III, Unbreaking III and Mending cost 44 levels in total with the best order, with no step above 11 levels. Adding the six books to the sword one at a time costs 83 levels.

Can I put Mending and Infinity on the same bow?

No. In Java Edition Mending and Infinity are mutually exclusive. The same goes for Sharpness, Smite, Bane of Arthropods, Density and Breach, the four Protection types, Silk Touch and Fortune, Depth Strider and Frost Walker, Multishot and Piercing, and Riptide with Loyalty or Channeling. The calculator greys out enchantments that conflict with one you picked.

Should I minimise XP levels or XP points?

Levels are what the anvil shows, but high levels cost far more experience than low ones: a 30-level step needs 1,395 XP points from level 0, while three 10-level steps need 480 in total. The default setting minimises XP points, which favours several cheap steps over one big one. In most cases both settings give the same order.

Does this calculator work for Bedrock Edition?

It uses Java Edition rules. Bedrock charges for the levels an enchantment gains rather than its final level, uses a lower multiplier for Impaling and allows some different item and enchantment combinations, so Bedrock costs can differ.