Introduction
In Minecraft, adding enchantments to your gear with an anvil costs XP levels, and if you combine them in the wrong order, you can hit the dreaded "Too Expensive" cap and waste your hard-earned resources. Every time you use an anvil on an item, a hidden penalty grows, making the next combine cost even more. The order you apply enchantments matters a lot, especially when you're stacking five, six, or seven enchantments onto a single tool or piece of armor.
This Minecraft Enchantment Calculator plans a low-cost way to combine your chosen enchantments. Just pick your item, select the enchantments and levels you want, and hit Calculate. The tool builds a balanced merge tree that pairs books together before applying them to your item, and tells you whether every anvil step stays below the 40-level cap on Java Edition. It works for both Java and Bedrock across versions from 1.8 all the way to 1.21+, and it knows which enchantments conflict with each other so you don't pick two that can't go together.
You'll see the total XP cost, the most expensive single step, a step-by-step combining guide, and a bar chart showing the cost at each anvil use. This calculator saves you levels and keeps your enchanting plan clean and simple, from a max diamond sword to a fully enchanted netherite chestplate.
How to use our Minecraft Enchantment Calculator
This calculator plans an order to combine enchantments on the anvil. Enter your game settings and pick your enchantments, and it will show you its combining order, the total XP cost, and each step, with a check against the "Too Expensive" cap.
Edition: Choose either Java or Bedrock. This matters because Java has a 40-level cap on anvil costs, while Bedrock does not. Some enchantments like Sweeping Edge are also only available in Java.8
Version: Select the Minecraft version you are playing. Newer versions include more enchantments and items, such as the Mace and Wind Burst in 1.21.3 Older versions will hide items and enchantments that did not exist yet. Java 1.21.11 added the Spear, which takes the same enchantments as Swords except Sweeping Edge, plus the new Lunge enchantment.6
Item: Pick the item you want to enchant using either the dropdown menu or the visual item grid below it. You can choose from swords, axes, pickaxes, armor, bows, tridents, and more. Each tool and armor piece comes in different material tiers like Wood, Iron, Diamond, and Netherite.
Enchantments: Once you pick an item, a list of all compatible enchantments appears. Check the box next to each enchantment you want, and use the dropdown beside it to set the level (for example, Sharpness V or Protection IV). Enchantments that conflict with your current choices are automatically grayed out. The item multiplier cost is shown next to each enchantment so you can see how expensive it is.
Calculate: Press the "Calculate" button after you have selected all your enchantments. The calculator pairs the books in a balanced merge tree, putting the most expensive enchantments first, and merges them onto your item.
Results: The output shows your total XP level cost, the highest single-step cost, the number of anvil uses needed, and whether the combination is possible within the Too Expensive limit. A step-by-step list tells you exactly which items to combine at each stage, and a merge tree shows the full combining plan. A bar chart at the bottom displays the XP cost of each anvil step so you can see where the most expensive merges happen.
In Minecraft, enchanting lets you add special powers to your tools, weapons, and armor. You can add enchantments using an enchanting table, anvil, or enchanted books. The tricky part is that every time you use an anvil to combine items, the cost in experience levels (XP) goes up. If you combine things in the wrong order, you can hit the "Too Expensive!" cap in Java Edition, which blocks any anvil operation that costs 40 or more levels.7
This Minecraft Enchantment Calculator plans the order to combine your enchanted books and items on an anvil so you spend less total XP and stay clear of the "Too Expensive!" limit. It uses a balanced binary merge tree strategy. It does not test every possible order, so another order can sometimes cost less. Instead of slapping one book on after another (which makes each step cost more and more), it pairs books together first, then combines those pairs, and finally merges everything onto your item. This keeps the prior work penalty low at each step.
How the Anvil Cost System Works
Every time an item goes through an anvil, it gains a prior work penalty. Each anvil use sets the penalty to twice the old penalty plus 1.7 So the penalty cost grows 0, 1, 3, 7, 15, 31, and so on, which is 2n − 1 after n prior anvil uses. When you combine two items, the anvil adds together the prior work penalty of both items, plus the enchantment cost of the sacrifice item.7 Each enchantment has a multiplier, so rare enchantments like Mending, Soul Speed, or Thorns cost more per level than common ones like Sharpness or Efficiency.1 A book as the sacrifice costs half the item multiplier, rounded down but never below 1.7 That is why books are never more expensive than items as the sacrifice, and cheaper for every enchantment with an item multiplier of 2 or more.
Java Edition vs. Bedrock Edition
In Java Edition, any single anvil step costing 40 or more levels is blocked entirely, and you'll see the red "Too Expensive!" message.7 This makes combining order extremely important. In Bedrock Edition, there is no such cap, so you can always complete the combination, but a good order still saves you XP. The calculator handles both editions automatically.
Key Tips for Efficient Enchanting
- Expensive enchantments first: Apply high-cost enchantments early when the prior work penalty is still low.
- Pre-combine books: Merging books together before applying them to your item keeps penalties balanced and lower overall.
- Watch for conflicts: Some enchantments can't exist on the same item. For example, you can't have both Sharpness and Smite, or both Silk Touch and Fortune.2 The calculator automatically disables conflicting options.
- Use fresh items: Items that have already been through the anvil carry a higher prior work penalty, making future combines more expensive.
- Version matters: Newer versions of Minecraft include enchantments that don't exist in older versions. Those enchantments only appear when you select the right version. Swift Sneak was added in 1.19.4 Soul Speed was added in 1.16.5 Breach was added in 1.21.3 Lunge was added in 1.21.11.6
How to Use This Calculator
Pick your game edition (Java or Bedrock) and Minecraft version. Select the item you want to enchant from the grid or dropdown. Check the enchantments you want and choose the level for each. Then hit Calculate. The calculator will show you every anvil step in order, the XP cost for each step, the total cost, and whether any step exceeds the "Too Expensive" limit. It also shows a merge tree so you can see exactly which books to combine with each other before applying them to your item.