Minecraft Enchanting Table Calculator
By the ChunkScan Team · Updated October 2026
Quick answer: To get level 30 enchantments, open /enchanting-calculator?b=15: with 15 bookshelves the bottom slot always offers level 30, the top slot 2 to 10 and the middle slot 6 to 21.
Pick how many bookshelves surround your enchanting table and see the level range and exact odds of all three slots.
How are the enchanting table levels worked out?
Each slot rolls a base number: a random 1 to 8, plus half the bookshelf count rounded down, plus a random 0 to the bookshelf count. The top slot offers a third of that (at least 1), the middle slot two thirds plus 1, and the bottom slot the base itself or twice the bookshelf count, whichever is higher. That is why 15 bookshelves always put 30 in the bottom slot. The item doesn’t change the levels, only which enchantments you get for them.
What does each slot cost?
The top slot takes 1 lapis lazuli and 1 experience level, the middle slot 2 and 2, the bottom slot 3 and 3. You need at least as many levels as the slot shows, but you only pay 1 to 3 of them. A level 30 enchant therefore costs 3 levels, and the higher the level the more enchantments and the stronger ones you tend to get.
How do I get new offers?
The offers come from your own enchanting seed, which only changes when you enchant something. Taking the item out and putting it back shows the same offers. To roll new ones, enchant something cheap, such as a book in the top slot. Changing the bookshelf count, for example by placing a torch in front of some bookshelves, gives different levels from the same seed: handy for picking a level below 30.
Is this Java or Bedrock?
The numbers here follow Java Edition and were checked against the game’s own code: the level formula, the empty-slot rule and which bookshelves count. Bedrock Edition isn’t covered: its slot levels haven’t been checked against its code, so don’t rely on these odds there. Nothing here needs your seed, the odds are the same in every Java world.
How many bookshelves do you need for level 30?
15. With 15 bookshelves the bottom slot always offers level 30, while the top slot shows 2 to 10 and the middle slot 6 to 21. With 14 or fewer no slot can reach 30, and a 16th bookshelf changes nothing.
Why is a slot of the enchanting table empty?
The game hides a slot whose level is lower than its number, so the middle slot needs at least level 2 and the bottom slot level 3. Without bookshelves that happens a lot; with 2 or more bookshelves around the table every slot is always filled.
Why don't my bookshelves count?
Each bookshelf must sit two blocks away from the table, at the table's height or one block higher, with air or a replaceable block such as tall grass in between. A torch, carpet or full block in that gap cancels it. Look for the glyphs flying from each bookshelf to the table: no glyphs means it doesn't count.