mcanvil

Version-tracked for Minecraft 26.2

Minecraft Enchantment Calculator

Build your gear, compare Java and Bedrock costs, and get the cheapest survival-safe anvil order as a step-by-step checklist.

  • Exact Pareto optimizer
  • Java & Bedrock
  • Conflict-aware
  • Shareable plans
Popular max-level builds
Weapons
Tools
Ranged
Armor
Other
Enchantments (0 selected)
Jump to a section

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 levels to 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:

  1. Diamond Sword + Book: Sharpness V 5 levels
  2. Book: Looting III + Book: Unbreaking III 3 levels
  3. Diamond Sword (Sharpness V) + Book (Looting III, Unbreaking III) 11 levels
  4. Book: Fire Aspect II + Book: Mending I 2 levels
  5. 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.

Start from a build, then share the exact plan

The presets above are complete, conflict-free starting points for common Sword, Pickaxe, Boots, Bow and Trident builds. They use this version’s live applicability and maximum-level data rather than a hard-coded result. You can remove an enchantment from the selection summary, change any level, and see the exact optimizer recalculate immediately.

What “optimal” means here

The optimizer minimizes the sum of experience levels across the complete sequence while keeping every individual operation below the survival limit. It treats the tool as the retained item and enchanted books as sacrifices, explores every book grouping for normal vanilla-sized loadouts, and keeps only non-dominated cost and prior-work states. The numbered result is therefore a reproducible plan for the selected item, levels and edition, not a generic “combine cheap books first” suggestion.

The model assumes one prepared book for each selected enchantment and no hidden prior work on the starting tool or books. If an input has already been used on an anvil, if one book carries several enchantments, or if a server plugin changes anvil behavior, its observed price can differ. Use the single-operation simulator to inspect existing prior-work penalties before following the sequence.

Copy steps produces a numbered text checklist for use beside the game. The Share build link stores only the item type, edition and enchantment IDs in the URL; opening it reconstructs and validates the selection locally before calculating the plan again.

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. Their available sources vary by enchantment and can include loot, trading, fishing, bartering or vault rewards before anvil application: Curse of Binding, Curse of Vanishing, Frost Walker, Mending, Soul Speed, Swift Sneak, Wind Burst. These books can be time-consuming to replace and are worth combining carefully.

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. Newly added enchantments appear after the release has been synced, verified and published.

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. Want to spawn an already-enchanted item instead? Use the give command generator.