MineSpecsLoading world…
Calculator

Enchantment Table Calculator

Choose the item, its material and how many bookshelves surround your table, and this shows what each of the three slots can actually roll — every possible enchantment with its real percentage, simulated 30,000 times using Java Edition's own selection procedure. Pick an enchantment you are chasing and it will also tell you the bookshelf count that gives you the best shot at it.

Calculator
Enchantment Table Calculator
Power
15
Enchantability
10
Max level
30
Possible
4 ench.
Top slot
2–10 levels · 1 lapis · 1.2 avg
EfficiencyI
54.6%
UnbreakingI
43.7%
EfficiencyII
18.8%
UnbreakingII
2.8%
FortuneI
<0.1%
Middle slot
6–21 levels · 2 lapis · 1.4 avg
EfficiencyII
56.8%
UnbreakingII
32.1%
FortuneI
13.4%
EfficiencyIII
10.4%
UnbreakingI
8.3%
UnbreakingIII
7.4%
Silk Touch
7.0%
EfficiencyI
4.3%
Bottom slot
30 levels · 3 lapis · 1.9 avg
EfficiencyIV
68.8%
UnbreakingIII
62.5%
FortuneIII
19.6%
Silk Touch
16.6%
FortuneII
12.8%
EfficiencyIII
11.7%
Chasing one enchantment?

Level costs are exact. Percentages come from 30,000 simulated offers per slot using Java Edition’s own selection procedure, so they are stable to about ±0.3%. They are the odds for a single offer — reroll by enchanting something cheap, and each new offer draws again. Treasure enchantments (Mending, Frost Walker, Soul Speed, Swift Sneak, Wind Burst, the curses) never appear at a table at any bookshelf count.

How the three offers are actually calculated

When you put an item on the table, the game draws one random number and derives all three offers from it. With b bookshelves in range (capped at 15), it rolls a base value of 1 + a random 0–7 + half your bookshelf count + another random 0–b. The top slot shows a third of that base, the middle shows two thirds plus one, and the bottom shows the base or double your bookshelf count, whichever is larger.

That last clause is why 15 bookshelves always shows exactly 30 in the bottom slot: double 15 is 30, and the base can never exceed 30, so the maximum always wins. It is the only slot in the game with a guaranteed value.

The number you see is a requirement, not a price. You must have at least that many levels to click the slot, but enchanting only ever costs you 1, 2 or 3 levels — one for the top slot, two for the middle, three for the bottom — plus the same number of lapis lazuli. Reaching level 30 is the expensive part; spending it is not.

The 15-bookshelf layout

Bookshelves count when they sit in the outer ring of a 5×5 area centred on the table, either at the same height as the table or one block above it. That is 32 valid positions, but the game stops counting at 15.

The block between a shelf and the table must be air. A torch, a slab, a carpet, a sign, even a single button in that gap switches the shelf off. This is the single most common reason a table that looks correct only offers level 24 or 27.

B B B B B
B . . . B
B . T . B     B  bookshelf
B . . . B     T  enchanting table
B B _ B B     .  must stay air
              _  your way in
One-height ring, 15 shelves, viewed from above

Enchantability: why gold rolls better than diamond

Every material carries a hidden enchantability value that feeds into the power roll twice. Higher enchantability means a higher effective power for the same level cost, which means better enchantments and more of them per offer.

Golden gear is the outlier: golden armour has the highest enchantability in the game at 25, more than double diamond. The gap is not cosmetic. At 15 bookshelves and level 30, a golden pickaxe rolls Fortune III about 31% of the time against roughly 19% for diamond, and averages two enchantments per offer instead of 1.9. That is why people enchant golden pickaxes they will never mine with, then move the result onto diamond with an anvil. Stone is the opposite extreme at 5, and books, bows, crossbows, tridents and fishing rods all sit at 1.

MaterialTools & weaponsArmour
Gold2225
Wood15
Leather15
Netherite1515
Iron149
Copper138
Chainmail12
Diamond1010
Turtle Shell9
Stone5
Book, bow, crossbow, trident, fishing rod1
Mace15
Enchantability by material (Java Edition)

What a table will never give you

Seven enchantments are flagged as treasure, which means the table cannot roll them at any bookshelf count: Mending, Frost Walker, Soul Speed, Swift Sneak, Wind Burst, Curse of Binding and Curse of Vanishing. No amount of rerolling will produce them. They come from villager trades, fishing, chest loot, piglin bartering or ominous vaults, and then go onto your gear through an anvil.

There is one more that no table can produce despite not being treasure: Quick Charge III. Its minimum power requirement is 52, but the enchantment is capped at 50, so the window is empty. A crossbow can only reach Quick Charge III through an anvil.

Rerolling, and why the offers never change

Each player has a hidden enchantment seed. It fixes all three offers, and it only changes when you actually spend an enchantment. Walking away, breaking the table, relogging or swapping the item does nothing — put the same item back and you will see the same three results.

So the way to reroll is to spend the top slot on something disposable. One level and one lapis on a stone shovel or a stack of books rerolls the seed, and your real item gets a fresh set of three offers. Repeat until the bottom slot shows what you want.

Because the offers are fixed per seed, the percentages this calculator shows are per-offer odds across many rerolls, not the odds of the specific three results sitting in front of you right now.

Books, and when they are worth it

A book can roll any non-treasure enchantment in the game, which makes it tempting for fishing after one specific result. But the table deliberately handicaps books: after rolling an offer, if it produced more than one enchantment, the game deletes one at random before showing it to you.

That plus a book with an enchantability of 1 means books give you fewer enchantments per offer than the item itself would. Enchant a book when you want a clean single enchantment to combine later, or when the item is too valuable to gamble on directly. Enchant the item when you just want the best result now.

Frequently asked questions

How many bookshelves do you need for level 30?

Fifteen. At 15 bookshelves the bottom slot always shows exactly 30, because that slot takes the larger of the random base value and double your bookshelf count. Fourteen shelves gets you 28 or 29 and never 30.

What is the exact bookshelf layout for an enchanting table?

Place the table, leave one block of air all around it, then build a ring of bookshelves in the outer edge of a 5×5 square centred on the table. Shelves count at table height or one block above. Sixteen positions fit in the ring, so leave one open as a doorway and you have exactly 15.

Why is my table only offering level 24 when I have 15 bookshelves?

Something is sitting in the gap between a shelf and the table. Torches, slabs, carpets, signs, buttons and item frames all block the line and switch that shelf off. The gap has to be genuine air.

Does adding more lapis lazuli improve the enchantment?

No. Lapis is a fixed cost: one for the top slot, two for the middle, three for the bottom. Extra lapis in the slot changes nothing about the outcome.

Does enchanting at level 30 cost 30 levels?

No. The number shown is the level you must have to use that slot. Clicking the bottom slot only deducts three levels, the middle two, and the top one. Getting to level 30 is the real cost.

Can you get Mending from an enchanting table?

No. Mending is a treasure enchantment, so a table can never roll it regardless of bookshelf count. It comes from librarian villager trades, fishing and chest loot, and goes onto gear with an anvil.

What are the odds of Silk Touch at level 30?

About 16% per offer on a diamond pickaxe with 15 bookshelves, reading the bottom slot. Fortune at some level lands around 32% on the same setup, and Fortune III specifically around 19%. Because Fortune and Silk Touch exclude each other, just under half of all bottom-slot offers give you one or the other.

Can a pickaxe have both Fortune and Silk Touch?

Not in survival. They are mutually exclusive, so the table will never offer both and an anvil will refuse to combine them. Only commands or creative-mode editing can put both on one tool.

Why do I keep getting the same three enchantments?

Your enchantment seed only changes when you actually spend an enchantment. Until then the same item shows the same three offers forever. Burn one level and one lapis on the top slot with a cheap item to reroll.

Is it better to enchant a book or the item?

The item, if you want the strongest result now. Books have an enchantability of 1 and the game removes one enchantment at random from any book offer that rolled more than one. Books are for isolating a single enchantment to combine later.