How This Minecraft Enchantment Calculator Works
It lists anvil steps (what goes on the left and right, in order) and shows an XP-level cost per step using standard book merge costs plus prior-work penalties. Use it before you combine books on expensive gear—especially swords, armor, shields (vanilla upkeep only), maces, bows, tools, crossbows, and tridents.
Step 1 — Select Your Item and Edition
Pick Java or Bedrock, then choose sword, armor, pickaxe, or any supported item. Bedrock mode hides Java-only enchantments automatically.
Step 2 — Choose Your Enchantments
Tap each enchantment at the tier you want. Incompatible options grey out so you cannot pick Sharpness and Smite together.
Step 3 — Get the Optimal Anvil Order Instantly
Press Calculate and follow the numbered merge list at your anvil. Totals include prior-work penalties so you can spot Too Expensive before you spend levels.
What Is the Minecraft Anvil Prior Work Penalty?
Prior Work Penalty Formula: 2ⁿ − 1
Each time an item or book is used on an anvil, the next merge adds extra levels from that side. After several steps, even a cheap book becomes expensive.
| Use # | Formula | Penalty added | Running penalty | Status |
|---|---|---|---|---|
| 0 (new item) | 2⁰ − 1 | 0 | 0 | ✓ OK |
| 1st use | 2¹ − 1 | 1 | 1 | ✓ OK |
| 2nd use | 2² − 1 | 3 | 3 | ✓ OK |
| 3rd use | 2³ − 1 | 7 | 7 | ✓ OK |
| 4th use | 2⁴ − 1 | 15 | 15 | ✓ OK |
| 5th use | 2⁵ − 1 | 31 | 31 | ✓ OK |
| 6th use | 2⁶ − 1 | 63 | 63 | ❌ Too Expensive risk |
Why Enchantment Order Changes Your Total XP Cost
Cheap books first keep penalties low while expensive books land last. The table below shows the same six enchantments on a Netherite sword — order alone saves 37 levels.
Wrong order (expensive → cheap)
| Step 1 | Sword + Sharpness V book | 16 lvl |
| Step 2 | Result + Looting III book | 24 lvl |
| Step 3 | Result + Sweeping Edge III book | 28 lvl |
| Step 4 | Result + Fire Aspect II book | 16 lvl |
| Step 5 | Result + Unbreaking III book | 16 lvl |
| Step 6 | Result + Mending book | 18 lvl |
Total: 118 levels
Optimal order (cheap → expensive)
| Step 1 | Sword + Mending I book | 2 lvl |
| Step 2 | Result + Fire Aspect II book | 6 lvl |
| Step 3 | Result + Sweeping Edge III book | 12 lvl |
| Step 4 | Result + Unbreaking III book | 13 lvl |
| Step 5 | Result + Looting III book | 20 lvl |
| Step 6 | Result + Sharpness V book | 28 lvl |
Total: 81 levels — saves 37 levels
Example: full Netherite sword (Java) with Sharpness V, Looting III, Sweeping Edge III, Fire Aspect II, Unbreaking III, and Mending. Use the calculator above for your exact list.
Minecraft Anvil Enchantment Cost & Prior Work
The enchanting table spends levels and lapis for random enchantments when you stand near enough bookshelves. The
anvil is where you control the result: merge books onto items (or combine books first). Each anvil touch adds prior work; the penalty shown in calculators is tied to 2ⁿ − 1
levels added from that side. If any single Survival operation passes 39 levels shown, Minecraft shows Too Expensive.
How to use this planner
- 1.Choose Java or Bedrock — Bedrock hides Sweeping Edge so the list matches your game.
- 2.Pick a version marker — useful if you bookmark the page later; mechanics here follow recent 1.21.x behaviour.
- 3.Choose the item type — only enchantments valid for that item appear.
- 4.Tick what you want at max tier — conflicts grey out automatically (for example Sharpness vs Smite).
- 5.Calculate — follow the numbered steps in order at your anvil.
Minecraft 1.21 New Enchantments — Density, Breach, Wind Burst
Density V
Mace-only. Scales fall damage — higher fall = harder hits. Pairs with Wind Burst for mobility builds.
Breach IV
Mace-only. Ignores part of armor on each strike. Incompatible with Density — pick one line.
Wind Burst III
Launches you upward on hit for chain aerial combos. Stacks with Density on PvE mace loadouts.
Java Edition vs Bedrock Edition Enchanting — Key Differences
| Topic | Java | Bedrock |
|---|---|---|
| Sweeping Edge | Yes | No |
| Mace (Density/Breach/Wind Burst) | 1.21+ | 1.21+ |
| Impaling (details) | Bonuses tied to wet targets (Java wording) | Stronger vs aquatic mobs broadly |
| Too Expensive cap | 39 levels shown per Survival step | Same idea |
More detail: Bedrock vs Java guide.
Best enchantments & exclusivity (1.21)
- Sword / axe damage: Sharpness vs Smite vs Bane — one line only.
- Armor protection: vanilla Protection families — one branch per armor piece.
- Bow ammo: Infinity and Mending do not coexist on the same bow.
- Crossbow: Multishot or Piercing — not both.
- Tools: Silk Touch or Fortune — not both.
- Boots: Depth Strider or Frost Walker — not both.
- Trident: Riptide does not combine with Loyalty or Channeling (Loyalty + Channeling is fine).
- Mace (1.21+): Density or Breach — not both.
- Shield (off-hand): vanilla only allows Unbreaking, Mending (and optional Curse of Vanishing)—no weapon or armor perk stacks.
How to avoid "Too Expensive" in Minecraft
Survival blocks any single anvil step above 39 levels shown. Cheap books first, fewer item touches, and Mending instead of hammer repairs keep you under the cap. Read the full playbook: Too Expensive guide.
Where enchantments usually come from
| Source | Best when… | Reality check |
|---|---|---|
| Librarian trading | You want repeatable max tiers (Prot IV, Fortune III, Mending, Feather Falling IV…). | Breeder + curing loop beats burning levels on RNG tables alone. |
| Enchantment table | Early ladders, disposable books you later merge cleanly. | Shelve layout decides max level—never skim bookshelf math. |
| Raid / chest loot | Burst gear during pillager hunts or archaeology-adjacent grinds. | Swift Sneak only ever leaves Ancient Cities—plan Deep Dark raids. |
| Trial Chambers (1.21) | Mace Density / Breach / Wind Burst bundles that rarely appear on librarians early. | Still budget XP like any other sixteen-point merges—loot ≠ free levels. |
| Fishing AFK loops | Rod luck & lure books while you offload smeltables overnight. | Throughput is RNG-heavy versus locked halls—pairs with XP smeltery top-offs. |
Best Minecraft Enchantments by Item (1.21 Updated)
Mechanic deep dives
When sliders alone are not enough—merge penalties, librarian economies, Survival caps, Fortune pathways, edition forks—bookmark the article hub and read between grinding sessions:
Frequently Asked Questions About Minecraft Enchanting
What is the best enchantment order in Minecraft? ▾
Apply the cheapest enchantment books first and the most expensive books last. Prior work penalties compound on the item, so putting Sharpness V or Efficiency V early wastes dozens of levels. Use the calculator above for your exact enchant list.
How do I avoid Too Expensive on my anvil? ▾
Start with a fresh item, apply cheapest enchantments first, avoid unnecessary renames and repairs on the anvil, and combine books when that reduces item touches. See our Too Expensive guide for six fixes that work in Survival.
What enchantments are in Minecraft 1.21? ▾
Three new mace enchantments: Density V, Breach IV, and Wind Burst III. Java still has Sweeping Edge; Bedrock does not. All other vanilla enchantments behave as in 1.20 with edition-specific damage formulas.
Does enchantment order matter in Minecraft? ▾
Yes. Wrong order can cost 30+ extra XP levels on a single item. A Netherite sword with six books can jump from 81 to 118 total levels if you merge expensive books before cheap ones.
What is the maximum level for Minecraft enchantments? ▾
Most enchantments cap at III or IV. Level V (5) exists for Sharpness, Efficiency, Power, Smite, Bane of Arthropods, Density, Impaling, and a few others. You cannot exceed vanilla caps in Survival.
Can I use this calculator for Bedrock Edition? ▾
Yes. Switch to Bedrock mode to hide Java-only enchants like Sweeping Edge. Anvil math and Too Expensive limits match Bedrock 1.21 on Xbox, PlayStation, Switch, and mobile.
How many bookshelves do I need for level 30 enchanting? ▾
Fifteen bookshelves within two blocks of the enchanting table (one block of air between shelf and table). That unlocks level-30 options on the table.
What does the prior work penalty mean? ▾
Each anvil operation on an item or book adds penalty levels via 2ⁿ − 1 from that side. After five uses the penalty alone is 31 levels before book cost — one more step often hits Too Expensive.
Is Mending or Infinity better for a bow? ▾
Mending for endgame XP farms and long-term bows. Infinity for early and mid game when you do not want to burn arrows. They cannot coexist on the same bow.
What enchantments are incompatible in Minecraft? ▾
Fortune and Silk Touch, Infinity and Mending, Loyalty and Riptide, Sharpness with Smite or Bane of Arthropods (pick one), Protection branches on the same piece, Depth Strider and Frost Walker, Multishot and Piercing, Density and Breach on maces.