Minecraft Enchantment Calculator

See your odds at the table. Find a better order at the anvil.

JAVA EDITION 26.3

This Minecraft enchantment calculator compares enchanting-table odds and plans anvil orders for vanilla Java Edition 26.3. Choose equipment, material and effective bookshelves to explore all three slots, or select fresh, single-enchantment books to find the lowest total level cost on a fresh item. Probabilities are estimates from 60,000 sampled XP seeds, not predictions of your next roll. Default results appear below; changing inputs requires JavaScript and runs in your browser. Bedrock Edition and used-gear anvil plans are not supported.

Choose your item

Diamond Sword

Count only shelves with a clear connection to the table.

Match an in-game level requirement

Filters XP seeds for all three slots. Clear the number to remove this clue. It does not reveal your exact roll.

Enchant

An enchanted book
Diamond Sword
Lapis lazuli3

The number on the right is the required player level. The list shows possibilities, not a predicted roll.

Requires 30 levelsSpends 3 levels + 3 lapis

Enchanting Table Probabilities

SLOT 3

Diamond Sword · 15 bookshelves · Java 26.3

Knockback II35.5%
Unbreaking III35.4%
Sharpness III22.2%
Bane of Arthropods IV17.5%
Smite IV17.3%
Sharpness IV16.5%
Sweeping Edge III15.8%
7 of 15

Estimates from 60,000 XP seeds. Multiple enchants can occur together, so single probabilities can add up to more than 100%. About these numbers ↗

Vanilla Java 26.3 · Survival enchanting60,000 XP seeds sampled

How Minecraft Enchanting Works

At the enchanting table

Choose an item, material and effective bookshelf count. Select one of the three offers to explore its probability distribution. The table uses weighted draws, modified enchanting levels and compatibility rules. A high chance is still a chance, not a guaranteed result.

At the anvil

Combining books first can save levels, but every anvil operation also adds a prior work penalty. The planner compares valid combining orders and finds the lowest total level cost for your selected books. See exactly what the planner supports.

Minecraft Enchanting FAQ

Small details make a big difference when you are spending levels.

How many bookshelves do I need for level 30?

15 effective bookshelves unlock the level-30 offer in the third slot. Shelves must connect to the table correctly; simply having 15 nearby does not guarantee they are all counted.

Does a level-30 enchantment spend 30 levels?

No. The third slot requires at least 30 player levels at the maximum bookshelf setup, but spends 3 levels and 3 lapis lazuli. The first and second slots spend 1 and 2 levels respectively.

Can I get Mending from the enchanting table?

No. Mending is not in the vanilla Java 26.3 enchanting-table pool. It can be applied with an enchanted book at an anvil. Other treasure enchants also have different acquisition rules.

Why is my actual result different?

These are estimates over many possible player XP seeds. Your current seed determines one actual result. Bookshelves alone do not reveal that seed. Servers, mods, datapacks and other game versions may also change the rules.

Does this work for Bedrock Edition?

This version is specifically for vanilla Java Edition 26.3. Bedrock probabilities and costs have not been validated here, so they are not advertised as supported.

What does “Too Expensive” mean?

For the operations supported by this survival planner, an individual anvil step costing 40 or more levels is not allowed. The optimizer rejects those steps rather than suggesting an unusable plan.

Know your enchantments

All 43 enchants, their levels, conflicts and how to get them.

Open the enchantment library