A shulker box has 27 slots. With stack-64 items that is 27 x 64 = 1,728 items. With stack-16 items it is 432; with items that do not stack, only 27. The shulker box itself does not stack and cannot be placed inside another shulker box.
Convert items into stacks, chests and shulkers, build a materials list and calculate compacting and hopper time
In Minecraft most items stack to 64, some to 16 (eggs, snowballs, signs, ender pearls and empty buckets) and others do not stack at all (tools, armor, potions, filled buckets and shulker boxes). This calculator turns items into stacks plus a remainder and tells you how many single chests (27 slots), double chests (54), shulker boxes (27), ender chests (27), barrels (27), player inventories (36 slots) or hoppers (5) you need, for any item in the table or for a custom stack size. It also builds a multi-item materials list, adds up the slots and shows the occupancy, works out block compacting (9 iron ingots make 1 block) and estimates how long a hopper takes to fill a chest.
The stack size sets how many units fit in one slot. Most items stack to 64. Snowballs, eggs, signs, ender pearls and empty buckets stack to 16, and so do honey bottles, banners and written books. Anything with durability (weapons, armor and tools), filled buckets, potions, beds, boats, minecarts and shulker boxes do not stack (stack of 1).
A few items differ by edition: the armor stand stacks to 16 in Java and 64 in Bedrock, and the cake does not stack in Java but stacks to 64 in Bedrock. That is why the calculator has a Java and Bedrock switch. Through a component or a command, the game allows stacks up to 99 in Java and 127 in Bedrock.
A container's capacity is its slot count times the stack size. For stack-64 items, a single chest, a barrel, an ender chest and a shulker box each hold 1,728 items; a double chest holds 3,456; the player inventory (27 storage slots plus 9 hotbar slots, not counting armor and off-hand) holds 2,304; a hopper holds 320. With stack-16 items the math is the same but 4 times smaller.
A partial stack takes a whole slot, so 1,000 stack-64 items make 15 full stacks and 40 loose items, taking 16 slots. A double chest full of shulker boxes holds 54 x 1,728 = 93,312 stack-64 items. Shulker boxes cannot be stored inside other shulker boxes.
Storing in blocks saves a lot of slots. Nine iron, gold, copper or netherite ingots, or nine diamonds, emeralds, redstone dust, lapis lazuli, coal or wheat make 1 block (or 1 hay bale), and crafting reverses the swap with no loss. A thousand iron ingots take 16 slots; turned into 111 blocks plus 1 ingot, they take 3.
Not every compacting recipe is reversible. Quartz, amethyst, glowstone, clay, snow and honeycomb use 4 items per block, and melon and nether wart blocks use 9, but none of those blocks turns back into the original item in crafting. Compact those only when you will use the block.
A hopper moves 1 item every 8 game ticks. The game runs 20 ticks per second, so that is 2.5 items per second, or 9,000 per hour, without lag. Filling a single chest with stack-64 items (1,728 items) takes 691.2 seconds: about 11 minutes and 32 seconds. A chest of snowballs (27 x 16 = 432 items) fills in about 2 minutes and 53 seconds.
If your farm produces more than 2.5 items per second on one line, the hopper becomes the bottleneck. Use the Hopper tab to compare the farm's output, in items per hour, with the time the chest needs to fill.
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
<iframe
src="https://jkit.tools/embed/en-US/minecraft-stack-calculator"
width="100%"
height="600"
style="border:0"
loading="lazy"
title="Minecraft Stack Calculator"
></iframe>
<p style="font-size:12px;margin:6px 0 0">Tool by <a href="https://jkit.tools/en/tools/minecraft-stack-calculator">J-Kit</a></p>Using it in a paper, class or post? Copy the link or a ready-made reference. The access date is today's.
<a href="https://jkit.tools/en/tools/minecraft-stack-calculator">Minecraft Stack Calculator</a>
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
A shulker box has 27 slots. With stack-64 items that is 27 x 64 = 1,728 items. With stack-16 items it is 432; with items that do not stack, only 27. The shulker box itself does not stack and cannot be placed inside another shulker box.
| Container | Slots | Holds | Needed |
|---|---|---|---|
| Chests | 27 | 1,728 | 2 (1.33) |
| Double chests | 54 | 3,456 | 1 (0.67) |
| Shulker boxes | 27 | 1,728 | 2 (1.33) |
| Ender chests | 27 | 1,728 | 2 (1.33) |
| Barrels | 27 | 1,728 | 2 (1.33) |
| Player inventories | 36 | 2,304 | 1 (1) |
| Hoppers | 5 | 320 | 8 (7.2) |
"Needed" rounds up; in parentheses, the exact value.
Calculation runs locally in the browser; nothing goes to servers.