Book order decides whether the item comes out or says "Too Expensive".
Each anvil combination costs the sum of both pieces' prior work penalties plus the cost of every enchantment on the sacrifice: final level times a multiplier that depends on the enchantment and on whether the sacrifice is a book or an item. The penalty doubles with each use (0, 1, 3, 7, 15, 31) and the result inherits the higher use count plus one. That is why adding books one at a time blows up the cost: the item gains penalty at every step. The tool tests every combination tree (up to 8 sacrifices) and shows the plan that keeps every step under the 39-level limit, next to the cost of the naive order. Rules follow Java Edition as documented on minecraft.wiki (Anvil mechanics and Enchantment). Cost is summed in levels, not XP points.
How to use
Pick the item, set the enchantments and add the books.
Pick the base item and set the level of each enchantment you want. By default each one becomes its own book.
Tap Add. The sacrifice list gets one book per enchantment; adjust the prior work of each piece if it has been used already.
Follow the numbered plan (each step shows the pieces and the cost), check that no step passes 39 and copy the text.
Embed
Use this tool on your site
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
<iframesrc="https://jkit.tools/embed/en-US/minecraft-enchantment-anvil-calculator"width="100%"height="600"style="border:0"loading="lazy"referrerpolicy="no-referrer-when-downgrade"title="Minecraft Enchantment and Anvil Calculator"></iframe><p style="font-size:12px;margin:6px 0 0">Tool by <a href="https://jkit.tools/en/tools/minecraft-enchantment-anvil-calculator">J-Kit</a></p>
Cite
Cite or link to this tool
Using it in a paper, class or post? Copy the link or a ready-made reference. The access date is today's.
<a href="https://jkit.tools/en/tools/minecraft-enchantment-anvil-calculator">Minecraft Enchantment and Anvil Calculator</a>
References
Sources and references for this tool
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
The step cost is the target prior work penalty, plus the sacrifice one, plus the enchantment costs (and 1 level if renaming). Each sacrifice enchantment costs its final level on the result times the table multiplier, with separate columns for book and item. Enchantments the target cannot take are ignored.