Minecraft Enchantment Calculator
Optimal anvil combine order · Java & Bedrock · updated for 26.2
Combining enchantments on an anvil is one of the most misunderstood mechanics in Minecraft. Do it in the wrong order and a single step demands “Too Expensive!” — locking you out of finishing the gear in survival. This calculator searches every valid combine order for the 43 enchantments in Minecraft 26.2 and returns the cheapest one, step by step, for both Java and Bedrock Edition.
How the anvil cost is calculated
When you combine two items on an anvil, the experience-level cost of that single step is the sum of three things:
- The prior-work penalty of the item you keep (the left slot).
- The prior-work penalty of the item you sacrifice (the right slot).
- The enchantment transfer cost — every enchantment carried by the sacrificed item, each priced by its rarity.
The transfer cost of one enchantment is its level multiplied by a rarity multiplier. From a book the multipliers are 1 for common and uncommon enchantments, 2 for rare ones, and 4 for very rare ones (applying directly from another tool doubles each of those). So a Sharpness V book (common, multiplier 1) costs 5 levelsto move, while a Soul Speed III book (very rare, multiplier 4) costs 12 levels — the exact figure the wiki uses as its reference example.
The rarity multiplier table for 26.2
Of the 43 enchantments in this version, the optimizer groups them into three cost tiers. Knowing which tier an enchantment sits in tells you how badly it hurts to move it repeatedly:
- Multiplier 1 (16 enchantments) — the cheap ones to move (Sharpness, Efficiency, Protection, Power, Feather Falling…). Move these freely.
- Multiplier 2 (19 enchantments) — rare (Fortune, Fire Aspect, Mending, Blast Protection…). Worth a little planning.
- Multiplier 4 (8 enchantments) — very rare: Channeling, Curse of Binding, Curse of Vanishing, Infinity, Silk Touch, Soul Speed, Swift Sneak, Thorns. Every extra anvil pass through one of these quadruples the pain, so a good plan moves them as few times as possible.
Why the order matters: the prior-work penalty
Every time an item passes through an anvil, it gains a hidden prior-work penalty that doubles each time, following the sequence 0, 1, 3, 7, 15, 31, 63… (the formula is 2n − 1 for n previous uses). This penalty is added on top of the transfer cost for both items in every future combine. That is the whole reason order matters: an item that has been hammered five times already drags a 31-level surcharge into the next step before you have transferred a single enchantment.
The winning strategy is to keep the penalty low for as long as possible — fuse books into balanced pairs first (two penalty-0 books make one penalty-1 book), and apply expensive, high-multiplier enchantments to the tool while its penalty is still small. This is exactly what the optimizer above does; it just does it for every possible order at once and keeps the cheapest.
Worked example: a fully kitted Diamond Sword
Take a Diamond Sword with Sharpness V, Looting III, Unbreaking III, Mending and Fire Aspect II. The optimizer finds the cheapest survival-legal order costs 31 levels in total, with the single most expensive step at 11 levels:
- Diamond Sword + Book: Sharpness V — 5 levels
- Book: Looting III + Book: Unbreaking III — 3 levels
- Diamond Sword (Sharpness V) + Book (Looting III, Unbreaking III) — 11 levels
- Book: Fire Aspect II + Book: Mending I — 2 levels
- Diamond Sword (Sharpness V, Looting III, Unbreaking III) + Book (Mending I, Fire Aspect II) — 10 levels
Combine books in pairs first, enchant the sword late: that is what keeps every step under the cap. Combining the same five enchantments naively, one book at a time onto the sword, costs noticeably more and can hit “Too Expensive” on the last step.
Avoiding “Too Expensive!”
In Survival and Adventure mode an anvil will only perform an operation worth 39 experience levels or less. The moment a single step would cost 40 or more, the anvil refuses it with “Too Expensive!” — no matter how much XP you actually have. (Creative mode ignores the cap entirely.) The calculator flags any plan that crosses this line in red and shows you the offending step, so you can drop an enchantment or split the work across two tools.
Java vs Bedrock Edition
For the same set of distinct enchantments the optimal order is identical in both editions — with one exception. Bedrock halves the cost multiplier of Impaling(the trident damage enchantment), so an Impaling V book costs 10 levels to apply in Java but only 5 in Bedrock. Bedrock also skips the small +1 surcharge Java adds for each incompatible enchantment, but since the calculator never lets you select conflicting enchantments, that never applies here. Toggle the edition at the top of the calculator to see the difference on a trident.
Treasure enchantments you can’t get from the table
7 of this version’s enchantments are treasure-only — they never appear at an enchanting table and can only be obtained from loot, trading, or fishing, then applied with an anvil: Curse of Binding, Curse of Vanishing, Frost Walker, Mending, Soul Speed, Swift Sneak, Wind Burst. That is why anvil planning matters even more for these: you often have exactly one book and cannot afford to waste it on a badly-ordered combine.
Tips for the cheapest possible gear
- Enchant the tool last, after building up your books, while its penalty is still low.
- Combine two books of equal prior-work to grow the penalty as slowly as possible.
- Apply very-rare enchantments (multiplier 4) to the tool as early as possible.
- Mutually exclusive enchantments (e.g. Sharpness vs Smite) are disabled automatically.
- If a plan turns red, removing one multiplier-4 enchantment is usually enough.
Frequently asked questions
Does the order of combining enchantments really change the cost?
Yes — significantly. Because the prior-work penalty doubles with every anvil use and is charged on both items in every step, applying books in a balanced order rather than one-by-one can save dozens of levels and is often the difference between a legal combine and “Too Expensive”.
What is the maximum anvil cost in survival?
Any single step costing 40 levels or more is rejected. You can spend more than 39 levels overall across several steps, but no individual combine may reach 40.
Is this calculator up to date with the latest Minecraft version?
Yes. The enchantment list, level caps and rarity multipliers are synced directly from the open-source Minecraft data for 26.2, so newly added enchantments appear here automatically as soon as a version ships.
Want to understand the mechanics in more depth? Read how enchanting works, the full anvil cost breakdown, or our guide to the best enchantments for each item.