Skip to content
Toolzent

Minecraft Stack Calculator

Free Minecraft stack calculator: turn any item count into full stacks, leftover, inventory slots, chests and shulker boxes. Supports 64, 16 and 1 stack sizes.

Updated 2026-06-14 · Free · No sign-up · Runs privately in your browser

Full stacks + leftover
Inventory slots used
Single chests (27 slots)
Shulker boxes (27 slots)
Show the formula & steps

How the Minecraft Stack Calculator Works

This calculator turns a raw item count into the numbers that actually matter when you are storing and hauling loot: how many full stacks you have, the leftover, how many inventory slots those items occupy, and how many chests and shulker boxes they fill. Enter the total item count, pick the stack size (64, 16 or 1), and the result updates instantly.

The Formula

Three simple integer operations describe everything:

Full stacks = floor(items ÷ stack size) Leftover = items mod stack size Slots used = ceil(items ÷ stack size)

The floor (round down) gives the number of completely filled stacks, the mod (remainder) gives the partial stack left over, and the ceil (round up) counts slots — because even a single leftover item still claims an entire inventory slot.

Storage containers then follow from the slot count: a single chest and a shulker box each have 27 slots, and a double chest has 54 slots.

Worked Example

For 1,000 cobblestone at a stack size of 64:

  • Full stacks = floor(1000 ÷ 64) = 15 stacks (15 × 64 = 960 items)
  • Leftover = 1000 mod 64 = 40 items
  • Slots used = ceil(1000 ÷ 64) = 16 slots
  • Chests = 16 ÷ 27 = ≈ 0.59 of a single chest

So 1,000 cobblestone is 15 full stacks plus a partial stack of 40, occupying 16 inventory slots — comfortably inside one chest or one shulker box.

Stack Sizes in Minecraft

Not everything stacks to 64. Use the right stack size for an accurate count:

Stack sizeExample items
64Cobblestone, dirt, planks, ingots, food, most blocks
16Eggs, snowballs, ender pearls, signs, buckets, honey bottles
1Tools, weapons, armor, potions, boats, minecarts, saddles

Why Stack Math Matters

Knowing your stack and slot counts lets you:

  • Plan storage — decide whether your haul fits in a chest, a double chest, or needs several shulker boxes.
  • Trade and craft efficiently — many recipes and trades are priced per stack, so converting between items and stacks avoids over- or under-collecting.
  • Move loot safely — a shulker box keeps its 27 slots when broken, so counting slots tells you exactly how many boxes to bring on a mining or raiding trip.
ContainerSlotsMax normal items (×64)
Single chest271,728
Double chest543,456
Shulker box271,728

Frequently asked questions

How many items are in a Minecraft stack?+

Most blocks and items stack to 64. Some items stack to only 16 — eggs, snowballs, ender pearls, signs, buckets of fish and similar — while tools, weapons, armor, potions and boats do not stack at all and take one slot each (a stack size of 1).

How do I convert items to stacks in Minecraft?+

Divide the total item count by the stack size and take the whole-number part for full stacks; the remainder is the leftover. For 1000 items at 64 per stack, that is 15 full stacks (960 items) with 40 left over, using 16 inventory slots in total.

How many inventory slots will my items use?+

Round the item count divided by the stack size up to the next whole number, because a partial stack still occupies a full slot. So 1000 items at 64 each need ceil(1000 ÷ 64) = 16 slots, even though the 16th slot only holds 40 items.

How many items fit in a Minecraft chest?+

A single (large) chest has 27 slots, so it holds up to 27 × 64 = 1,728 of a normal stackable item. A double chest has 54 slots and holds up to 3,456 items. Items that stack to 16 or 1 fill far fewer per chest.

How many items fit in a shulker box?+

A shulker box has 27 slots, the same as a single chest, so it holds up to 1,728 normal items (27 × 64). Because shulker boxes keep their contents when broken, they are the standard way to move 27 stacks at once through an Ender Chest or inventory.