Stack sizes in Minecraft
Most blocks and items stack to 64. A smaller group stacks to 16, and anything with durability, contents or special data doesn’t stack at all.
| Stack size | Examples |
|---|---|
| 64 | Most blocks, ingots, food, arrows, redstone dust, seeds |
| 16 | Ender pearls, snowballs, eggs, signs, empty buckets, banners, honey bottles, armor stands |
| 1 | Tools, weapons, armor, potions, beds, boats, minecarts, totems, filled buckets, enchanted books, shulker boxes |
How much each container holds
| Container | Slots | Items at 64 | Items at 16 |
|---|---|---|---|
| Player inventory (not counting armor/offhand) | 36 | 2,304 | 576 |
| Chest, barrel or shulker box | 27 | 1,728 | 432 |
| Double chest | 54 | 3,456 | 864 |
| Double chest full of full shulker boxes | 54 × 27 | 93,312 | 23,328 |
How the calculator works
left over = items mod stack size
slots = ceil(items ÷ stack size)
chests or shulker boxes = ceil(slots ÷ 27)
double chests = ceil(slots ÷ 54)
A partly-filled stack still takes up a whole slot, which is why slots are rounded up. Example: 10,000 cobblestone is 156 stacks + 16, which needs 157 slots: 6 shulker boxes or 3 double chests.
FAQ
How many items are in a shulker box?
27 stacks. That’s 1,728 items for 64-stackables or 432 for 16-stackables.
Can I put a shulker box inside a shulker box?
No. Shulker boxes can’t hold other shulker boxes, but chests, barrels and your ender chest can.
Is this the same on Bedrock?
Yes. Stack sizes and container sizes match between Java and Bedrock for the items listed here.