Maximize your enchantments and minimize XP costs with our Minecraft enchantment calculator. This tool calculates the most efficient order to combine your enchanted books and items, helping you avoid the frustrating "Too Expensive!" error.
The sequence you use when combining items at an anvil directly impacts the final cost. Each anvil operation adds a hidden penalty that grows exponentially. Our calculator analyzes all possible combinations to find the path that keeps costs low and lets you apply more enchantments.
Works with all enchantable items across Java Edition and Bedrock Edition - from diamond swords and netherite armor to fishing rods and shields. Simply select your item, pick your enchantments, and get instant step-by-step instructions.
If you are asking what the prior work penalty is, it is the hidden anvil value that turns repeated combining into extra cost: 0, 1, 3, 7, 15, then 31 levels before enchantment costs are added. For a full formula walkthrough, read our Minecraft anvil mechanics guide.
Free โข No Registration โข Works Offline
Optimize for:
Our Minecraft enchantment calculator finds the absolute cheapest way to apply all your enchantments. The algorithm tests thousands of combinations to find the optimal order that uses the least experience levels, saving you hours of grinding.
The anvil work penalty increases each time you use an item. Without proper planning with a Minecraft enchantment calculator, you'll hit the 39-level cap and be unable to add more enchantments. Our tool prevents this frustrating situation.
Learn the best way to combine enchanted books before applying them to your gear. Check our complete enchantment guide to understand which enchantments work together, or browse our best builds for proven combinations. The order matters significantly - combining books incorrectly can waste dozens of levels and limit your final enchantments.
Stop wasting valuable enchanted books and XP on trial and error. Get the perfect enchanting strategy in seconds with our Minecraft enchantment calculator, not hours of experimentation. Focus on playing, not calculating.
The Minecraft anvil system uses a hidden "work penalty" (also called "prior work penalty") that doubles each time you work on an item. Starting at 0, it becomes 1, then 2, 4, 8, 16, and finally 32. When combined with the enchantment cost, this penalty can quickly make further enchanting impossible. The maximum cost for any anvil operation is 39 levels - anything higher shows "Too Expensive!" and cannot be done.
This Minecraft enchantment calculator solves this problem by finding the optimal tree structure for combining your books and items. By carefully ordering operations to minimize accumulated penalties with our Minecraft enchantment calculator, you can apply many more enchantments than random combining would allow. This is especially critical for maximizing gear with 8-10 enchantments, where the difference between optimal and suboptimal ordering can be 50+ levels or the difference between success and failure.
Choose the item you want to enchant from the dropdown menu. Our Minecraft enchantment calculator supports all enchantable items in Minecraft including weapons, tools, armor pieces, and special items like shields, elytra, and fishing rods.
Select all the enchantments you want to apply and set their levels. The Minecraft enchantment calculator will automatically show only compatible enchantments for your chosen item. For example, swords show Sharpness, Looting, and Sweeping Edge, while pickaxes show Efficiency, Fortune, and Silk Touch.
Choose whether to optimize for Least XP/Levels (minimizes total experience cost - recommended for most players) or Least Prior Work Penalty (minimizes the final work penalty on your item - useful if you plan to repair or modify later).
Click the "Calculate" button and wait a moment while the Minecraft enchantment calculator algorithm finds the optimal solution. For items with many enchantments, this may take a few seconds as it evaluates thousands of possible combinations to find the absolute best order.
The Minecraft enchantment calculator will show you exactly which books to combine first, then how to apply them to your item. Follow the steps in order, and you'll achieve the lowest possible cost. Each step shows the XP cost and the items involved.
Suppose you want a sword with Sharpness V, Looting III, Unbreaking III, Mending, Fire Aspect II, and Sweeping Edge III. Adding those books one at a time can push the sword's prior work penalty too high. The calculator instead groups books in pairs, then applies larger combined books near the end.
| Step | What to Combine | Why It Helps |
|---|---|---|
| 1 | Sharpness V book + Looting III book | Keeps both books at a low penalty before touching the sword. |
| 2 | Unbreaking III book + Mending book | Builds a second low-penalty book branch. |
| 3 | Fire Aspect II book + Sweeping Edge III book | Prepares the final utility enchants together. |
| 4+ | Apply combined books to the sword in the calculated order | Reduces repeated work on the sword and helps avoid "Too Expensive". |
Exact costs depend on edition, enchantment levels, and previous anvil use. For the full formula behind this example, see the Minecraft anvil cost guide.
Players use "enchantment calculator" for two different jobs. This page is an anvil order calculator: it tells you how to combine books and gear after you already have the enchantments. If you are still setting up an enchanting table, use the Minecraft enchantment table bookshelf calculator instead.
| Player question | Best page | Why |
|---|---|---|
| What order should I combine enchanted books? | This calculator | Optimizes anvil order, total XP levels, and prior work penalty. |
| How do I avoid "Too Expensive"? | This calculator + anvil mechanics guide | Plans a lower-penalty path and explains the 39-level limit. |
| How many bookshelves are needed for level 30? | Bookshelf calculator | Checks enchanting table power, shelf count, placement, and materials. |
| What are the max enchantments for my sword or pickaxe? | Best builds guide | Shows compatible end-game gear sets before you calculate the order. |
This Minecraft enchantment order calculator needs the item you are building, every enchantment you want on the finished item, and the optimization goal. It then returns a step-by-step anvil order instead of only estimating a single combine cost.
| Input or output | What it means | Planning tip |
|---|---|---|
| Item | The sword, pickaxe, armor piece, book, or other compatible item you want to finish. | Start with a fresh item when possible because previous anvil work changes the real cost. |
| Enchantments | The complete set of compatible enchantments and levels for the final build. | Enter the full build before calculating so a late book does not break the planned order. |
| Optimization mode | Choose the lowest immediate XP cost or the lowest remaining prior work penalty. | Use the penalty mode if you expect to modify the item again later. |
| Calculated result | An ordered list of book-to-book and book-to-item anvil operations with total level cost. | Follow the left and right slot order exactly because swapping inputs can change the cost. |
If your item has already been repaired, renamed, or combined several times, read the prior work penalty guide before trusting a fresh-item estimate. For a ready-made build list, choose enchantments from the best Minecraft enchantment setups first.
Fresh gear and fresh villager books have zero prior work penalty. That gives the calculator the most room to keep every anvil operation under the 39-level cap.
Plan the finished item before you start combining. Adding one more book after the calculator's order can fail if the item already reached a high work penalty.
Use "Least XP/Levels" for the cheapest immediate build. Use "Least Prior Work Penalty" when you care more about keeping the item easier to modify later.
Older releases and modpacks may allow unusual combinations. Use the incompatible enchantments option only when your version really supports those rules.
Every anvil operation has a cost calculated from three factors:
Each enchantment has a base cost that depends on its rarity and level. For example:
When combining books, you pay the cost of all enchantments being added. When combining two items, you pay for enchantments that increase in level or are newly added.
This is the hidden cost that increases exponentially:
The penalty is calculated for BOTH items being combined, then added together. This is why the order matters so much! Learn more about what prior work penalty means in Minecraft and why it causes "Too Expensive" results.
Maximum prior work penalty warning: once a target item reaches 5 previous anvil uses, the penalty alone adds 31 levels. That leaves almost no room under the 39-level limit for real enchantment cost, so most meaningful operations will fail.
If you rename an item in the anvil, it adds 1 level to the cost. This doesn't affect the work penalty.
Combining a sword (penalty 2) with a book (penalty 1):
The resulting sword will have a penalty of 3 (one more than the left item).
The key to minimizing costs with a Minecraft enchantment calculator is to build a balanced tree structure. Think of it like a tournament bracket - you want to combine items with similar penalties together, and save your main item for last. This keeps penalties low throughout the process.
Bad approach: Adding books one by one to your sword (penalty grows on the sword each time)
Good approach: Combine books into groups first, then apply groups to the sword in a balanced way
The Minecraft enchantment calculator automatically finds this optimal tree structure for you, ensuring you never waste levels on poor combining order.
Some enchantments cannot be combined on the same item because they conflict with each other. Here are the main incompatibility groups:
โ Choose only ONE damage enchantment
โ You can only have ONE of these on each armor piece
โ These are mutually exclusive
โ Cannot combine (in most versions)
โ Riptide cannot combine with either
In certain Minecraft versions (1.14 to 1.14.3pre-1), protection-type enchantments could be combined. Similarly, Mending and Infinity could coexist in versions 1.9 to 1.11.1. Use the "Allow incompatible enchantments" checkbox if you're playing these versions.
| Item Type | Max Enchantments | Most Popular Combo |
|---|---|---|
| Sword | 7 | Sharpness V, Looting III, Unbreaking III, Mending, Sweeping Edge III, Fire Aspect II, Knockback II |
| Pickaxe | 6 | Efficiency V, Fortune III, Unbreaking III, Mending |
| Helmet | 8 | Protection IV, Unbreaking III, Mending, Respiration III, Aqua Affinity, Thorns III |
| Boots | 8 | Protection IV, Unbreaking III, Mending, Feather Falling IV, Depth Strider III, Soul Speed III |
Got questions about enchanting in Minecraft? We've compiled the most common questions players ask about the Minecraft enchantment calculator, anvil mechanics, and optimal enchanting strategies.
A Minecraft enchantment calculator is a tool that helps you find the optimal order to combine enchantments on your items. It calculates the cheapest sequence to apply multiple enchantments while avoiding the "Too Expensive!" error. Our Minecraft enchantment calculator uses advanced algorithms to test thousands of possible combinations and find the most efficient path.
The anvil has a maximum cost limit of 39 levels for any single operation. When the combined cost (base enchantment cost + prior work penalties from both items) exceeds 39 levels, the operation is blocked. This happens when items have been worked too many times or when enchantments are combined in the wrong order. Use our calculator to find an order that stays under this limit, or read the detailed Too Expensive explanation.
Yes! The enchantment and anvil mechanics are nearly identical between Java and Bedrock editions. The Minecraft enchantment calculator works for both versions. The main differences are in enchantment availability (like Sweeping Edge being Java-only) and some minor cost variations, but the optimization principles remain the same.
Usually yes! Combining books into groups first, then applying those groups to your item in a balanced tree structure, results in much lower costs than applying books one at a time. The Minecraft enchantment calculator shows you exactly which books to combine and in what order for optimal results.
The Minecraft enchantment calculator evaluates all possible ways to combine your selected enchantments. It considers the work penalty system, base enchantment costs, and compatibility rules. The calculator then identifies the combination order that results in the lowest total XP cost or lowest final work penalty, depending on your optimization preference.
Prior work penalty (also called work penalty or repair cost) is a hidden value that increases each time you use an item or book in an anvil. It starts at 0 and increases exponentially: 0โ1โ3โ7โ15โ31. This penalty is added to every future anvil operation cost. The calculator minimizes this penalty accumulation, and the full formula is explained in our prior work penalty guide.
The practical maximum is 5 previous anvil uses on a target item, because that adds 31 levels before enchantment costs. A sixth use raises the hidden counter again and usually pushes the next operation over the 39-level anvil limit. For heavily enchanted gear, start with fresh books and let the calculator combine them in a balanced order.
For most players using the Minecraft enchantment calculator, optimize for "Least XP/Levels" to get the cheapest immediate cost. Choose "Least Prior Work Penalty" only if you plan to modify the item further after completing these enchantments (like adding more enchantments later or repairing frequently). The XP difference is usually minimal between modes.
It depends on the final prior work penalty. If your item ends with a high penalty (4-5), adding more enchantments will likely hit "Too Expensive". For maximum enchantments (8-10), you typically cannot add more afterward. Plan all your desired enchantments before using the Minecraft enchantment calculator.
No. This page calculates the cheapest anvil order after you already have books or enchanted gear. If you need to know how many bookshelves are required for level 30 enchanting, use the separate Minecraft bookshelf calculator.
Yes. Choose the item, select every final enchantment you want, and calculate before using the anvil. For maxed swords, pickaxes, armor, bows, tridents, and maces, start from fresh books so the calculator has enough room to keep each step under the 39-level limit.
An enchant calculator usually means an anvil order tool: it optimizes book and item combining. An enchantment table calculator estimates bookshelf placement and level 30 setup. Use the bookshelf calculator first to prepare the table, then use this page for the anvil order.
Villager books normally start with zero prior work penalty. Merged books already carry an anvil history, so using them later costs more. For high-enchantment swords, armor, bows, and tools, starting from max-level villager books gives the calculator more valid low-cost routes.
Minecraft prevents combining conflicting enchantments that serve similar purposes. Protection-type enchantments (Protection, Fire Protection, Blast Protection, Projectile Protection) are mutually exclusive on each armor piece. However, you can have different protection types on different armor pieces (e.g., Protection on helmet, Fire Protection on chestplate). Learn more about enchantment compatibility rules.
For achieving maximum enchantments (8-10 on an item), yes. Combining lower-level books (like two Sharpness III to make Sharpness IV) adds work penalty to the resulting book, which increases costs later. Starting with max-level books from villager trading keeps penalties at zero, allowing more enchantments to fit under the 39-level limit. See our best builds guide for optimal combinations.