Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Full Stacks
1
+ 36 leftover item(s)
Full stacks 1
Remainder 36
Items per stack 64
Total items 100

What is the Minecraft Stack Calculator?

In Minecraft, items are stored in stacks. Most blocks and items stack up to 64, while a few — like snowballs, eggs, and ender pearls — only stack to 16, and tools, armor, and potions never stack (size 1). This calculator takes a raw item count and tells you how many full stacks it makes plus how many loose items are left over. It is handy for planning chest storage, shulker boxes, trades, and bulk crafting.

Items grouped into a full stack of 64 cubes with a few leftover cubes
A pile of items splits into full stacks of 64 plus a leftover remainder.

How to use it

Enter the total number of items you have, then pick the items-per-stack value that matches the item type (64, 16, or 1). The calculator returns the number of full stacks, the remainder, the stack size used, and the verified total. For example, organizing 1,000 cobblestone into chests is far easier when you know it equals 15 stacks plus 40 blocks.

The formula explained

The math is integer division and a modulo (remainder) operation. $$\text{Stacks} = \left\lfloor \frac{\text{items}}{\text{stackSize}} \right\rfloor$$ gives the count of complete stacks. The leftover is $$\text{remainder} = \text{items} - (\text{stacks} \times \text{stackSize})$$, which is equivalent to \(\text{items} \bmod \text{stackSize}\). Multiplying the stacks back out and adding the remainder always reproduces your original total, confirming nothing is lost.

Three Minecraft stack sizes shown as containers holding 64, 16, and 1 items
Minecraft items stack in sizes of 64, 16, or 1.

Worked example

Suppose you mined 1,000 cobblestone (stack size 64). $$\lfloor 1000 \div 64 \rfloor = \lfloor 15.625 \rfloor = 15 \text{ full stacks}$$ Remainder = \(1000 - (15 \times 64) = 1000 - 960 = 40\). So you have 15 stacks and 40 blocks, filling 15 inventory slots completely with one slot holding 40.

FAQ

How many slots will my items take? Each full stack uses one slot, and any remainder uses one more slot — so \(15 \text{ stacks} + 40 \text{ leftover} = 16 \text{ slots}\).

Which items stack to only 16? Snowballs, eggs, ender pearls, signs, buckets of items, and a handful of others use a 16 stack size.

Does a double chest hold 27 or 54 stacks? A single chest has 27 slots and a double chest has 54 slots, so at stack size 64 a double chest holds up to \(54 \times 64 = 3{,}456\) items.

Last updated: