🏆
🏆 Sports & games

Minecraft Stack Calculator (items to stacks, chests & shulker boxes)

Results update as you type.

Your numbers

Understanding the Minecraft stack calculator — concept and principle

Planning a big build or a storage room in Minecraft means knowing how many stacks, chests or shulker boxes your items need. This calculator converts an item count into full stacks plus leftovers, slots needed, containers needed and free slots, for items that stack to 64, 16 or 1.

Minecraft stacks2,500 items in stacks of 64Items2,500Stack size64Container27 slots2,500 = 39 × 64 + 4Stacks39 + 4 itemsChests needed2 · 14 slots free
40 slots are needed, so the items fill one chest and part of a second.

How it is calculated

Full stacks = ⌊items ÷ stack size⌋; leftover = items mod stack size

Slots needed = ⌈items ÷ stack size⌉

Containers needed = ⌈slots ÷ slots per container⌉

Free slots in the last container = containers × slots per container − slots

Items per container = slots per container × stack size

The principle

Each inventory slot holds one stack, and a stack can hold only up to its item's limit. Dividing the item count by the stack size gives the number of full stacks; any remainder needs one more partly filled slot, which is why slots are rounded up. Containers work the same way, one level higher. Because a full shulker box can itself go into a chest, one chest of full shulker boxes can store 27 × 27 = 729 stacks.

Worked example

Default inputs: 2,500 items stacking to 64, chests or shulker boxes (27 slots).

  1. 2,500 ÷ 64 = 39 remainder 4, so 39 stacks + 4 items (39 full stacks, 4 left over).
  2. Slots needed = ⌈2,500 ÷ 64⌉ = 40.
  3. Containers needed = ⌈40 ÷ 27⌉ = 2.
  4. Free slots in the last container = 2 × 27 − 40 = 14.
  5. Shulker boxes needed = 2; one container holds 27 × 64 = 1,728 items.

How to read the result

Use the container count to plan storage walls or to know how many shulker boxes to bring for a mining trip. The free-slot figure shows how much room you have for other items. For large builds, it helps to compare block counts with the stacks a single chest holds (1,728 for 64-stack items).

Common mistakes

Keep in mind: Stack limits can differ for some items and between game versions. Minecraft is a game by Mojang Studios; this page is not affiliated with Mojang or Microsoft.

Frequently asked questions

How many items fit in a double chest?

54 slots × 64 = 3,456 items for 64-stack items.

Why do ender pearls only stack to 16?

The game sets a lower stack limit for some items.

How much can a chest of shulker boxes hold?

27 shulker boxes × 27 stacks = 729 stacks, or 46,656 items of a 64-stack item.

Do tools stack?

No. Items with durability stack to 1.

Sources: Minecraft Wiki (community reference), "Inventory" (slot counts and stack limits) · minecraft.net, "Block Week: Shulker Box" (27 slots)

Checked 9 Nov 2026. Minecraft Wiki (community reference), “Inventory”: 36 main slots and stack limits of 64, 16 and 1 with item examples; minecraft.net, “Block Week: Shulker Box” (27 stacks per shulker box, the same as a chest); FTB Wiki, “Chest” (27 slots, double chest 54). This page is not affiliated with Mojang or Microsoft.

🏆 All sports & games tools →🌍 Calculators by country →