Skip to content
Omnikalc

Minecraft stack calculator: how many stacks, chests or shulker boxes do you need?

Enter a number of items and the stack size to get the full stacks, the leftover items, the inventory slots, the double chests and the shulker boxes needed.

Updated on
Your inputs

Value out of range

Results

Inventory slots needed

79

Full stacks
78
Items left over
8
Double chests needed
2
Shulker boxes needed
3
Player inventories needed
3

Storage in a block-building game is counted in stacks and slots. The Minecraft stack calculator takes the total number of items and the stack size and gives the full stacks, the items left over, the inventory slots needed, the double chests, the shulker boxes and the player inventories needed to hold them.

How the calculation works

  • Full stacks = items ÷ stack size, rounded down. Items left over = the remainder of that division.
  • Inventory slots needed = items ÷ stack size, rounded up, since a partial stack still takes a whole slot.
  • Double chests hold 54 slots, shulker boxes hold 27 and a player inventory has 36 slots (27 main and 9 in the hotbar). Each result is the slot count divided by that capacity, rounded up.
  • Items that stack to 64 use one slot per 64, and items that stack to 16 use one slot per 16. Tools and armor do not stack, so each takes a slot.

Example

You have 5 000 blocks that stack to 64. That is 5 000 ÷ 64 = 78 full stacks with 8 left over, so you need 79 slots. That fills 2 double chests (54 slots each, with 29 spare) or 3 shulker boxes (27 slots each), and it is more than 2 player inventories (36 slots each).

Why it matters

Planning a build, a farm or a storage room goes better when you know how much room the materials take. The calculator tells you how many chests to place for a mining haul, how many shulker boxes to bring on a trip, and how many trips a stack of blocks needs to carry.

Good to know

Stack sizes and chest sizes follow the Java and Bedrock editions of the game as they stand at the time of writing, and later updates may change them. Some items have different stack sizes between editions. Mods and server plugins can change the size of stacks and chests, so adjust the stack size if you play with them.

The game backlog calculator estimates how long your unplayed games will take and the video game cost per hour calculator shows the value of what you play.

Frequently asked questions

How many items fit in a stack?

Most blocks and items stack to 64. Some items stack only to 16, such as ender pearls, snowballs, eggs, signs, buckets and banners, and some do not stack at all, such as tools, weapons, armor and potions. Check the stack size of the item to get the right slot count.

How many slots does a chest have?

A single chest has 27 slots and a double chest, made of two chests side by side, has 54. A shulker box also has 27, and it can be carried with its contents, which makes it the best way to move a large load. A shulker box cannot be put inside another shulker box.

How many stacks is a full inventory?

The player inventory has 36 slots, 27 in the main grid and 9 in the hotbar. With four armor slots and one off-hand slot, the full set is 41. A full inventory of 64-stackable items holds 2 304 items.

Why does the leftover matter?

A partial stack still takes a full slot, so 65 items need 2 slots. The leftover is a hint to round the amount you gather or craft up to a full stack. For the 5 000 blocks above, 5 056 would fill 79 stacks exactly.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.