Minecraft Stack Calculator

Work out how many full stacks, leftover items, inventory slots, and chests or shulker boxes a quantity of Minecraft items needs, using the game's stack-size rules.

Quick Facts

Standard stack
64 items per stack for most blocks and items
Eggs, snowballs, ender pearls, and signs cap at 16; tools, weapons, armor, and buckets don't stack at all (1 per slot).
Chest capacity
27 slots (single chest), 54 slots (double chest)
A full single chest of stack-64 items holds 1,728 items; a full double chest holds 3,456.

Your Results

Calculated
Full stacks
-
Complete stacks of items
Leftover items
-
Items in a partial stack
Inventory slots needed
-
Slots to hold every item
Containers needed
-
Chests or boxes required

Ready

Enter an item count, stack size, and container to calculate.

About the Minecraft Stack Calculator

In Minecraft, inventory and storage space is measured in stacks and slots, not a single running total. This calculator applies the game's own stacking rules to any item count: how many complete stacks it forms, how many items are left over in a partial stack, how many inventory slots those stacks occupy, and how many chests, shulker boxes, or other containers are needed to hold everything.

The stacking formula

Every item type in Minecraft has a maximum stack size - the number of copies that can share a single inventory slot. Given a total item count N and a stack size S, the calculator applies simple integer division:

  • Full stacks = floor(N / S) - the number of completely full stacks.
  • Leftover items = N − (full stacks × S) - what remains in a partial stack.
  • Slots needed = ceil(N / S) - full stacks plus one more slot for the leftover, if any.
  • Containers needed = ceil(slots needed / slots per container) - how many chests, shulker boxes, or other storage blocks are required.

Standard stack sizes

Minecraft uses three stack sizes. Most blocks and items - cobblestone, wood, ores, food, and most crafting materials - stack to 64. A smaller set of items stack to only 16: eggs, snowballs, ender pearls, signs, and honey bottles among them. A third group does not stack at all, capped at 1 per slot: tools, weapons, armor, buckets (once filled), potions, and other items that carry durability or unique data that can't be merged.

Standard container capacities

A single chest, shulker box, or ender chest has 27 slots. A double chest (two single chests placed side by side) has 54 slots. The player's own inventory has 36 slots (9 hotbar + 27 main). Utility blocks are smaller: a hopper has 5 slots, and a dispenser or dropper has 9. Multiplying slot count by stack size gives total capacity - for example, a full single chest of stack-64 items holds 27 × 64 = 1,728 items.

Frequently Asked Questions

How many items fit in a Minecraft stack?
Most blocks and items stack to 64 per inventory slot. A smaller group of items - eggs, snowballs, ender pearls, and signs - stack to only 16. Tools, weapons, armor, buckets, and other items that carry durability or unique data do not stack at all, meaning each one occupies its own slot (a stack size of 1).
How many items fit in a chest or shulker box?
A single chest, shulker box, or ender chest has 27 slots, so it can hold up to 27 x 64 = 1,728 stack-64 items, 27 x 16 = 432 stack-16 items, or 27 non-stacking items. A double chest has 54 slots, doubling every one of those totals.
How is the number of slots needed calculated?
Divide your item count by the stack size and round up: slots needed = ceiling(item count / stack size). The number of full stacks is the floor of that same division, and the leftover items are the remainder - the item count minus (full stacks times stack size).
Why do some items not stack at all?
Items that track individual state - durability on tools and armor, contents in buckets and potions, or unique text in written books - cannot merge with another copy without losing that data, so the game limits them to a stack size of 1. Items with no per-item state, like cobblestone or dirt, can freely combine up to 64.