Minecraft Enchanting Table Chart

How many bookshelves give which level, exactly where those bookshelves have to stand in Java and in Bedrock, and what a level 30 enchant can and cannot put on each material. Every table below is a fixed reference; the widget works the same numbers for your own setup.

Enchanting table
15
The table counts at most 15. Extra bookshelves change nothing.

Bookshelves to enchantment level: the full chart

The number on each of the three slots is a level requirement, and the range it can land in depends only on how many bookshelves the table can see. This is the complete chart for 0 to 15 bookshelves. Fifteen is the ceiling: with 15 the bottom slot always reads 30, and no amount of extra shelving pushes any slot higher.

Minecraft enchanting table: level requirement shown on each slot, by number of bookshelves (0–15). Values are the wiki's table, transposed so that each bookshelf count is one row.
BookshelvesTop slotMiddle slotBottom slot
01–21–61–8
11–31–72–9
21–32–84–11
31–42–96–12
41–43–108–14
51–53–1110–15
61–53–1212–17
71–63–1314–18
81–64–1416–20
91–74–1518–21
102–75–1620–23
112–85–1722–24
122–85–1824–26
132–95–1926–27
142–96–2028–29
152–106–2130

The three formulas behind the chart, as the wiki gives them, with b the bookshelf count capped at 15 and randInt(n) a whole number from 0 to n inclusive:

b = min(15, bookshelves) xpBase = 1 + randInt(7) + ⌊b / 2⌋ + randInt(b) top = ⌊max(1, xpBase / 3)⌋ middle = ⌊2 × xpBase / 3⌋ + 1 bottom = ⌊max(xpBase, 2 × b)⌋

The cap is applied before all three slot formulas here. The wiki states that the bookshelf count is capped at 15 and writes the cap inside the base formula; its bottom-slot line shows a bare bookshelf count. Read with the cap, the formulas reproduce all 48 cells of the chart above, which is how this page checks them.

The level on a slot is what you must have, not what you pay. The wiki's enchanting table page is explicit that the charge equals the lapis lazuli count: the bottom slot at level 30 takes 3 levels and 3 lapis lazuli.

Where bookshelves count: the 32 valid positions

A bookshelf counts when it stands exactly two blocks from the table along one horizontal axis and no more than two blocks along the other, level with the table or one block higher. That is the outer ring of a 5×5 square centred on the table: 16 positions per layer, two layers, 32 positions in all. Only 15 are ever needed. Each ring holds three kinds of position, and the two editions disagree about which gap block they inspect.

Valid bookshelf positions around an enchanting table and the gap block each edition checks. Offsets are (along, across) in blocks from the table; both layers follow the same pattern.
Position classOffset from tableCount (both layers)Java checksBedrock checks
Straight(2, 0)4 × 2 = 8The block between table and bookshelf, at the bookshelf's heightThe block between table and bookshelf, at table height and the block above it
Offset(2, ±1)8 × 2 = 16The block right next to the table on that side, at the bookshelf's height: offset (1, 0)The column right next to the bookshelf on the table side, at table height and the block above it: offset (1, ±1)
Diagonal (corner)(2, ±2)4 × 2 = 8The block diagonally next to the table, at the bookshelf's height: offset (1, ±1)The column diagonally between them, at table height and the block above it: offset (1, ±1)
What may fill the gap32 positionsAny block in the tag #enchantment_power_transmitter; the wiki names air, snow and short grassAir only

Two practical consequences. In Java a gap block is tested once, at the height of the bookshelf it serves, so an upper-layer bookshelf needs the upper gap block clear and ignores the lower one. In Bedrock both heights are tested for every bookshelf, and the replaceable-block allowance does not exist: snow cover or grass in the gap, harmless in Java, switches a Bedrock bookshelf off. A torch or any other ordinary block in the gap breaks the link in both editions; the wiki singles out torches as an example.

Glyph particles are not proof. The wiki notes that the floating glyphs can travel to the table from a blocked bookshelf, because the particles follow their own rules. Trust the level on the bottom slot, not the particles: if 15 bookshelves are placed and the bottom slot does not read 30, one of them is not counting.

The two 15-bookshelf layouts

What level 30 can actually give you, by material

The level on the slot is not the number the game uses to pick enchantments. It first adds a bonus that depends on the item's enchantability, then nudges the total by up to 15% either way. The wiki calls the result eCost; this page calls it the modified level. Each enchantment level owns a band of modified levels, and a level can only appear if the modified level can land inside its band.

eCost = round( (level + 1 + randInt(⌊E / 4⌋) + randInt(⌊E / 4⌋)) × (1 + randTri(0.15)) ) E = enchantability · randTri(n) = (randFloat() + randFloat() − 1) × n

Only ⌊E / 4⌋ matters, so the eleven enchantability values on the wiki collapse into six tiers:

Minecraft enchantability by material, grouped by ⌊enchantability / 4⌋, with the modified-level window a level 30 slot produces.
TierEnchantability⌊E / 4⌋Materials and itemsModified level at 30
1256Golden armor26–49
2225Golden weapons and tools26–47
315, 14, 13, 123Leather armor, netherite armor, netherite weapons and tools, wooden weapons and tools, mace (15) · iron weapons and tools (14) · copper weapons and tools (13) · chainmail armor (12)26–43
410, 9, 82Diamond armor, diamond weapons and tools (10) · iron armor, turtle shell (9) · copper armor (8)26–40
551Stone weapons and tools26–38
610Book, bow, crossbow, fishing rod, trident26–36

The window arithmetic is short. At level 30 the smallest pre-nudge total is 31 and 31 × 0.85 rounds to 26 for every material. The largest is 31 + 2 × ⌊E/4⌋, times 1.15: 43 × 1.15 gives 49 for golden armor, 35 × 1.15 gives 40 for diamond, and 31 × 1.15 gives 36 for a bow or a book.

Highest level a level 30 enchant can give, by tier

Each cell is the highest level whose band overlaps that tier's window. A dash means no item in that tier takes the enchantment in Java. Tier 6 includes books, which accept every enchantment in the list, so its column doubles as the book ceiling. Bands are the wiki's effective ranges.

Highest enchantment level obtainable from a level 30 slot (15 bookshelves), by enchantability tier. Java item pools; “none” means the enchantment cannot appear at level 30 on that tier.
Enchantment (max)Top bandTier 1 · 26–49Tier 2 · 26–47Tier 3 · 26–43Tier 4 · 26–40Tier 5 · 26–38Tier 6 · 26–36
Protection (IV)34–45IVIVIVIV
Fire Protection (IV)34–42IVIVIVIV
Feather Falling (IV)23–29IVIVIVIV
Blast Protection (IV)29–37IVIVIVIV
Projectile Protection (IV)21–27IVIVIVIV
Respiration (III)30–60IIIIIIIIIIII
Aqua Affinity (I)1–41IIII
Thorns (III)50–100IIIIIIII
Depth Strider (III)30–45IIIIIIIIIIII
Sharpness (V)45–65VIVIVIVIV
Smite (V)37–57VVVVIV
Bane of Arthropods (V)37–57VVVVIV
Knockback (II)25–75IIIIIIIIII
Fire Aspect (II)20–80IIIIIIIIII
Looting (III)33–83IIIIIIIIIIIIIII
Sweeping Edge (III)23–38IIIIIIIIIIIIIII
Lunge (III)21–41IIIIIIIIIIIIIII
Efficiency (V)41–91VVIVIVIV
Silk Touch (I)15–65IIIII
Unbreaking (III)21–71IIIIIIIIIIIIIIIIII
Fortune (III)33–83IIIIIIIIIIIIIII
Power (V)41–56IV
Punch (II)32–57II
Flame (I)20–50I
Infinity (I)20–50I
Luck of the Sea (III)33–83III
Lure (III)33–83III
Loyalty (III)26–50III
Impaling (V)33–53V
Riptide (III)31–50III
Channeling (I)25–50I
Multishot (I)20–50I
Piercing (IV)31–50IV
Quick Charge (III)III: no band listed · II: 32–50II
Density (V)37–57VIV
Breach (IV)42–92IVIII

The rows people ask about most:

One source discrepancy, stated plainly. The Protection row in the wiki's receivable-enchantments table reads 5–12, 13–20, 21–28, 29–37, which is character for character the Blast Protection row. The wiki's own Protection page defines the cost as a minimum of 1 plus 11 per level and a maximum of 12 plus 11 per level, and its Blast Protection page gives 5 plus 8 and 13 plus 8, which is what produces that row. This page uses the definition: Protection I 1–11, II 12–22, III 23–33, IV 34–45. Both pages were read again on 20 September 2026 and the row had not been corrected.

Why can't I get it at the enchanting table?

There are three different reasons, and they have different fixes.

1. It is a treasure enchantment

Seven enchantments are never offered by a table in either edition, whatever the level or material: Mending, Frost Walker, Curse of Binding, Curse of Vanishing, Soul Speed, Swift Sneak and Wind Burst. The wiki's selection rule is that only non-treasure enchantments are candidates. Channeling is not on this list: it is an ordinary trident enchantment with a weight of 1, which makes it uncommon, not unavailable (17.0% on a trident at level 30 in Java).

2. The material cannot reach the band

That is the ceiling table above: Sharpness V off gold, Efficiency V on diamond, Power V and Thorns III anywhere.

3. Level 30 is too high for it

This is the one that surprises people. Bands have a top as well as a bottom. A level 30 slot never produces a modified level below 26, so an enchantment whose highest band ends in the twenties is squeezed out, and when the modified level overshoots the band the enchantment is not a candidate at any level.

Enchantments that a level 30 slot mostly removes. Exact Java odds on diamond boots (enchantability 10) that the finished item carries the enchantment.
EnchantmentTop bandWindow at level 30Chance at level 30Best slot levelChance at best level
Feather Falling IV23–2926–402.7%2334.3%
Projectile Protection IV21–2726–400.1%2116.9%

So boots meant for Feather Falling IV are better enchanted from a slot reading 23 than from one reading 30, and a slot reading 21 is the best shot at Projectile Protection IV. Those figures are the maximum over every slot level from 1 to 30, not a hand-picked example.

Whatever the table will not give you has to come from books instead, and once you have the books the Minecraft Enchantment Calculator works out the cheapest anvil order to combine them without hitting “Too Expensive”.

Java vs Bedrock at the enchanting table

Differences between Java Edition and Bedrock Edition at the enchanting table, as documented on the Minecraft Wiki.
TopicJava EditionBedrock Edition
Gap blocks tested per bookshelfOne, at the bookshelf's heightTwo: at table height and the block above
Gap tested for an offset bookshelfThe block right next to the tableThe column right next to the bookshelf
What may fill the gapAnything in #enchantment_power_transmitter (air, snow, short grass named)Air only
Blocks that can stand in for bookshelvesAnything added to the tag #enchantment_power_providerNot described
Thorns from the tableChestplate onlyHelmet, chestplate, leggings and boots
Axe poolEfficiency, Unbreaking, Fortune, Silk TouchThe same, plus Sharpness, Smite and Bane of Arthropods
Mace poolDensity, Breach, UnbreakingThe same, plus Fire Aspect, Smite and Bane of Arthropods
Sweeping EdgeIn the sword poolNot offered (the wiki marks it Java only)
Percentages on this pageExact, labelled JavaNone given

The last row is deliberate. The wiki describes one selection algorithm and does not split it by edition, but it never states that Bedrock's numbers are identical either, so this page gives Bedrock its pools, ceilings and placement rules and keeps every percentage under a Java label.

How the table chooses enchantments

Once the modified level is fixed, the game builds a candidate list: every non-treasure enchantment the item takes, each at the highest level whose band contains the modified level. Then it runs a four-step loop.

  1. Draw one candidate at random, weighted: the chance is its weight divided by the total weight of the list. Common enchantments weigh 10, rare ones 1 or 2.
  2. Remove that candidate and everything incompatible with it, such as the other three protections after Protection. If nothing is left, stop.
  3. Roll for another: the chance of continuing is (modified level + 1) / 50. If it fails, stop.
  4. Halve the modified level, rounding down, and go back to step 1.

At level 30 on diamond the first continuation succeeds between 54% and 82% of the time depending on the modified level, which is why a diamond pickaxe leaves the table with one enchantment 32.0% of the time, two 44.4% and three 23.6%. A book that ends the loop with several enchantments loses one of them at random.

All of that randomness runs from a seed stored with the player, not with the table or the world. The seed only changes when that player enchants something, so taking the item out and putting it back shows the same three offers, and so does walking to a different table with the same bookshelf count. Spending one level on the top slot of a spare book or tool is the usual way to get a fresh set.

The percentages on this page are computed by walking every branch of that loop and every possible modified level with its exact probability. Nothing is simulated or sampled.

Frequently asked questions

How many bookshelves do you need for level 30?
Fifteen, all in valid positions with a clear gap. With 15 the bottom slot always reads 30. With 14 it reads 28 or 29, and with 13 it reads 26 or 27. More than 15 has no effect.
Why is my enchanting table not reaching level 30 with 15 bookshelves?
At least one bookshelf is not counting. Check that each one is exactly two blocks out on the 5×5 outline and level with the table or one block higher, and that the gap block is clear. In Bedrock the gap must be air at both table height and the block above; in Java snow or short grass in the gap is tolerated, a torch is not. Glyph particles can still fly from a blocked bookshelf, so they are no guide.
Does a level 30 enchant cost 30 levels?
No. You need 30 levels to use the slot, but the bottom slot charges 3 levels and 3 lapis lazuli, the middle 2 and 2, the top 1 and 1.
Can you get Mending from an enchanting table?
No. Mending is a treasure enchantment, along with Frost Walker, Curse of Binding, Curse of Vanishing, Soul Speed, Swift Sneak and Wind Burst. None of the seven is ever a candidate at a table.
Can you get Sharpness V, Efficiency V or Power V from an enchanting table?
Sharpness V only on golden weapons, because only their window reaches a modified level of 45. Efficiency V on any tool material except diamond and stone. Power V never: a bow tops out at a modified level of 36 and Power V begins at 41.
Is gold better than diamond for enchanting?
Gold has the highest enchantability, 25 for armor and 22 for tools against 10 for diamond, so its window at level 30 runs to 49 or 47 instead of 40. That makes top levels more likely: a golden helmet shows Protection IV 46.9% of the time at level 30 in Java, a diamond chestplate 22.5%. Whether gold's durability is worth it is a separate question.
Can this chart tell me which enchantment my table will offer next?
No. The offers come from a seed that is stored per player and hidden from the game screen, and no chart can read it. What a chart can give you is the range of possible outcomes and how likely each one is.
Are the odds the same in Bedrock?
Unknown, so none are claimed. The wiki documents a single algorithm without an edition split and does not affirm that Bedrock's numbers match. The level chart, placement rules, pools and ceilings on this page cover Bedrock; the percentages are Java only.

Related tools

Sources. Minecraft Wiki (minecraft.wiki), retrieved 20 September 2026: “Enchanting table mechanics” — sections Bookshelf placement (Java Edition, Bedrock Edition, 15 bookshelf arrangements), Experience cost, Enchantment selection (Enchantment cost, Candidates, Selection), Enchanting seed, Receivable enchantments; “Protection”, “Blast Protection” and “Thorns” — section Enchantment definition, and Thorns primary items; “Enchanting” — Treasure enchantments; “Enchanting Table” — Usage. Formulas, constants and table values are reproduced as data; the wording and all percentages are this page's own. Last verified: September 2026.

Built by Done In Browseruse full version