
Calculator
Enchanting Table Calculator
The exact chance of every enchantment and level from each enchanting table button, for every item and number of bookshelves.
Diamond Sword
Counted as the game does: bookshelves two blocks from the table with air in between, at most 15.
| Enchantment | Chance | By level |
|---|---|---|
| Sharpness | 38.7% | III 22.3%IV 16.4% |
| Knockback | 35.5% | II 35.5% |
| Unbreaking | 35.5% | III 35.5% |
| Bane of Arthropods | 19.3% | III 0.4%IV 17.5%V 1.5% |
| Smite | 19.3% | III 0.4%IV 17.5%V 1.5% |
| Fire Aspect | 16.0% | I 0.9%II 15.1% |
| Looting | 16.0% | II 6.4%III 9.6% |
| Sweeping Edge | 15.8% | III 15.8% |
Number of enchantments you get: 1: 32.0%2: 44.4%3: 19.3%4: 3.8%5: 0.4%6: <0.1%
Worked out from the game's own rule and data, not by trying it many times.
| Aqua Affinity | 2 | 1-41 |
| Bane of Arthropods | 5 | I 5-25, II 13-33, III 21-41, IV 29-49, V 37-57 |
| Blast Protection | 2 | I 5-13, II 13-21, III 21-29, IV 29-37 |
| Breach | 2 | I 15-65, II 24-74, III 33-83, IV 42-92 |
| Channeling | 1 | 25-50 |
| Density | 5 | I 5-25, II 13-33, III 21-41, IV 29-49, V 37-57 |
| Depth Strider | 2 | I 10-25, II 20-35, III 30-45 |
| Efficiency | 10 | I 1-51, II 11-61, III 21-71, IV 31-81, V 41-91 |
| Feather Falling | 5 | I 5-11, II 11-17, III 17-23, IV 23-29 |
| Fire Aspect | 2 | I 10-60, II 30-80 |
| Fire Protection | 5 | I 10-18, II 18-26, III 26-34, IV 34-42 |
| Flame | 2 | 20-50 |
| Fortune | 2 | I 15-65, II 24-74, III 33-83 |
| Impaling | 2 | I 1-21, II 9-29, III 17-37, IV 25-45, V 33-53 |
| Infinity | 1 | 20-50 |
| Knockback | 5 | I 5-55, II 25-75 |
| Looting | 2 | I 15-65, II 24-74, III 33-83 |
| Loyalty | 5 | I 12-50, II 19-50, III 26-50 |
| Luck of the Sea | 2 | I 15-65, II 24-74, III 33-83 |
| Lunge | 5 | I 5-25, II 13-33, III 21-41 |
| Lure | 2 | I 15-65, II 24-74, III 33-83 |
| Multishot | 2 | 20-50 |
| Piercing | 10 | I 1-50, II 11-50, III 21-50, IV 31-50 |
| Power | 10 | I 1-16, II 11-26, III 21-36, IV 31-46, V 41-56 |
| Projectile Protection | 5 | I 3-9, II 9-15, III 15-21, IV 21-27 |
| Protection | 10 | I 1-12, II 12-23, III 23-34, IV 34-45 |
| Punch | 2 | I 12-37, II 32-57 |
| Quick Charge | 5 | I 12-50, II 32-50, III 52-50 |
| Respiration | 2 | I 10-40, II 20-50, III 30-60 |
| Riptide | 2 | I 17-50, II 24-50, III 31-50 |
| Sharpness | 10 | I 1-21, II 12-32, III 23-43, IV 34-54, V 45-65 |
| Silk Touch | 1 | 15-65 |
| Smite | 5 | I 5-25, II 13-33, III 21-41, IV 29-49, V 37-57 |
| Sweeping Edge | 2 | I 5-20, II 14-29, III 23-38 |
| Thorns | 1 | I 10-60, II 30-80, III 50-100 |
| Unbreaking | 5 | I 5-55, II 13-63, III 21-71 |
| Golden Boots | 25 |
| Golden Chestplate | 25 |
| Golden Helmet | 25 |
| Golden Leggings | 25 |
| Golden Axe | 22 |
| Golden Hoe | 22 |
| Golden Pickaxe | 22 |
| Golden Shovel | 22 |
| Golden Spear | 22 |
| Golden Sword | 22 |
| Leather Boots | 15 |
| Leather Cap | 15 |
| Leather Pants | 15 |
| Leather Tunic | 15 |
| Mace | 15 |
| Netherite Axe | 15 |
| Netherite Boots | 15 |
| Netherite Chestplate | 15 |
| Netherite Helmet | 15 |
| Netherite Hoe | 15 |
| Netherite Leggings | 15 |
| Netherite Pickaxe | 15 |
| Netherite Shovel | 15 |
| Netherite Spear | 15 |
| Netherite Sword | 15 |
| Wooden Axe | 15 |
| Wooden Hoe | 15 |
| Wooden Pickaxe | 15 |
| Wooden Shovel | 15 |
| Wooden Spear | 15 |
| Wooden Sword | 15 |
| Iron Axe | 14 |
| Iron Hoe | 14 |
| Iron Pickaxe | 14 |
| Iron Shovel | 14 |
| Iron Spear | 14 |
| Iron Sword | 14 |
| Copper Axe | 13 |
| Copper Hoe | 13 |
| Copper Pickaxe | 13 |
| Copper Shovel | 13 |
| Copper Spear | 13 |
| Copper Sword | 13 |
| Chainmail Boots | 12 |
| Chainmail Chestplate | 12 |
| Chainmail Helmet | 12 |
| Chainmail Leggings | 12 |
| Diamond Axe | 10 |
| Diamond Boots | 10 |
| Diamond Chestplate | 10 |
| Diamond Helmet | 10 |
| Diamond Hoe | 10 |
| Diamond Leggings | 10 |
| Diamond Pickaxe | 10 |
| Diamond Shovel | 10 |
| Diamond Spear | 10 |
| Diamond Sword | 10 |
| Iron Boots | 9 |
| Iron Chestplate | 9 |
| Iron Helmet | 9 |
| Iron Leggings | 9 |
| Turtle Shell | 9 |
| Copper Boots | 8 |
| Copper Chestplate | 8 |
| Copper Helmet | 8 |
| Copper Leggings | 8 |
| Stone Axe | 5 |
| Stone Hoe | 5 |
| Stone Pickaxe | 5 |
| Stone Shovel | 5 |
| Stone Spear | 5 |
| Stone Sword | 5 |
| Book | 1 |
| Bow | 1 |
| Crossbow | 1 |
| Fishing Rod | 1 |
| Trident | 1 |
| Button levels | A base of 1 to 8, plus half the bookshelves, plus 0 to the number of bookshelves; the top button shows a third of it (at least 1), the middle two thirds plus 1, the bottom the base or twice the bookshelves, whichever is higher |
| Bookshelves | At most 15 count, so the bottom button shows level 30 with 15 bookshelves |
| What you pay | You need at least the level the button shows, but a click takes only 1, 2 or 3 levels and as much Lapis Lazuli, for the top, middle and bottom button |
| Random change | The level gets a bonus from the item's enchantability, then changes by up to 15% up or down at random, and decides which enchantment levels can appear |
| More than one enchantment | After the first enchantment, another comes with a chance of (level + 1) in 50; the level halves after each one, and enchantments that cannot be together are left out |
| Books | A book that rolls two or more enchantments loses one of them at random |






