Convert a number of Minecraft items into stacks — or a number of stacks back into items — and see how many inventory slots and chests you need to store them. Pick the item's stack size (64 for most items, 16 for things like snowballs and ender pearls, 1 for tools and armor).
The Minecraft stack calculator takes the mental math out of managing your inventory. Enter a number of items and it tells you exactly how many full stacks and leftover items you have; enter a number of stacks and it tells you the total item count. It also works out how many inventory slots, chests, and double chests you need to store everything — so you can plan your storage room, mob farm output, or trading haul before you ever place a block. Whether you are counting cobblestone, snowballs, or diamond pickaxes, this tool handles every stack size in the game.
In Minecraft, items are grouped into stacks to save inventory space, and knowing how many stacks a pile of items makes — or how many items are in a set of stacks — is one of the most common calculations players do. This calculator does it instantly, in both directions, and adds the storage math that the game itself never shows you.
A stack is a group of identical items occupying a single inventory slot. Stacking lets you carry far more than the 36 slots of your inventory would otherwise allow. The maximum stack size depends on the item:
Because these three sizes cover every item in the game, the calculator lets you pick the right one from a dropdown so your results always match what you will actually see in your inventory.
The math behind stacking is simple integer division, but the calculator saves you from doing it by hand and getting the remainder wrong.
Given a total number of items and the stack size, the calculator finds:
full stacks = floor(items ÷ stack size)
leftover items = items mod stack size
The "floor" means you round down to the nearest whole stack, and the leftover (the remainder, or modulo) is whatever is left over that does not fill a complete stack.
Running it the other way, if you know how many stacks and leftover items you have, the total is:
total items = (stacks × stack size) + leftover items
Say you have harvested 250 wheat. Wheat stacks to 64, so:
So 250 wheat is 3 full stacks plus 58 wheat — and because the 58 leftover still needs a slot of its own, that is 4 inventory slots in total. Running it in reverse, 3 stacks and 58 leftover wheat gives (3 × 64) + 58 = 250 items, confirming the conversion both ways.
Beyond stacks, the calculator tells you how much storage you need — the number that really matters when you are building a storage system. The key capacities in Minecraft are:
The number of slots you need is the total items divided by the stack size, rounded up: slots = ceil(items ÷ stack size). From there, the calculator divides by 27 and 54 (again rounding up) to tell you how many single and double chests it would take. For example, 2,500 wheat needs ceil(2,500 ÷ 64) = 40 slots — more than a single chest (27 slots) but comfortably inside a double chest (54 slots).
Knowing your stack and storage numbers is surprisingly useful across almost every part of the game:
A few reference points are worth committing to memory for the standard 64-item stack:
For 16-stack items these figures are divided by four, and for non-stacking items each item simply takes one slot.
For the purposes of this calculator, the core stack sizes are the same across both major editions of the game. In both Minecraft: Java Edition and Bedrock Edition, ordinary items stack to 64, the small-stack group stacks to 16, and durability or data-bearing items do not stack at all. There are a few minor historical and edition-specific quirks — for instance, some items that once had smaller stack limits have been raised to 64 in modern updates, and modded or data-pack setups can override stack sizes entirely — but for vanilla survival play on current versions, the 64 / 16 / 1 rule this calculator uses applies to both editions. If you play with mods, always double-check the modded stack size, since a data pack can, for example, make normally non-stackable items stack, which would change every result here.
Knowing an item's stack size at a glance saves a lot of counting errors, so here is a practical guide to the three groups.
Stack to 64 — this is the default and covers the overwhelming majority of items: all building blocks (stone, dirt, wood, wool), ores and ingots, most food (bread, carrots, cooked meat), redstone components, dyes, seeds, arrows, and crafting materials like sticks and string. If you are not sure and the item is an ordinary block or resource, it almost certainly stacks to 64.
Stack to 16 — a deliberately smaller group, mostly items that are thrown, placed as entities, or otherwise balanced to limit how many you carry: ender pearls, snowballs, eggs, signs and hanging signs, buckets of powder snow, honey bottles, and (in some versions) items such as written books when stacked. These fill inventory space four times faster than 64-stack items, so a "stack" of ender pearls is only 16.
Stack to 1 — items that never stack because each carries unique data: all tools, weapons, and armor (which track durability and enchantments), boats and minecarts, saddles, horse armor, water and lava buckets, milk buckets, potions, and enchanted books. Because each one needs its own slot, 64 diamond swords take 64 slots — more than two full chests' worth of rows.
One of the most practical uses of this calculator is designing a storage room. Suppose an automatic cobblestone generator produces cobblestone all day and you want to know how long a double chest will last before it overflows. A double chest holds 54 slots × 64 = 3,456 cobblestone. If the generator makes roughly one stack (64) every two minutes, that is about 32 items a minute, so the double chest fills in a little under two hours — useful to know before you leave it running unattended. Scaling up, a wall of, say, ten double chests holds 34,560 blocks, enough for most large builds. By converting your target item count into slots and then into chests, you can size a storage room precisely rather than guessing, avoiding both wasted walls of empty chests and the frustration of a system that overflows and spills drops onto the floor.
When it comes to moving large quantities, the shulker box changes the math entirely, and stack thinking is what unlocks it. A shulker box has 27 slots, so it holds up to 27 stacks — 1,728 of a 64-stack item — and, crucially, it keeps its contents when you break and pick it up. That means a single inventory slot carrying a shulker box effectively holds 1,728 items. Fill your whole 27-slot inventory main area with shulker boxes and you can haul 27 × 1,728 = 46,656 items in one trip, plus more in your hotbar. For players moving base or stocking a new build site, converting the total items they need into stacks, then stacks into shulker boxes, is the difference between one careful trip and a dozen. This calculator gives you the stack and slot counts that make that planning straightforward, whether you are packing for a short haul or a full base relocation.
Most items stack to 64. Some special items — such as snowballs, eggs, ender pearls, and signs — stack to 16, and items with durability or unique data (tools, armor, boats, potions) do not stack at all, taking one slot each.
Divide the number of items by the stack size and take the whole number for full stacks; the remainder is the leftover. For 250 items at a stack size of 64, that is 3 full stacks and 58 leftover.
A single chest has 27 slots, so it holds up to 27 stacks — 1,728 items for 64-stack items. A double chest has 54 slots and holds up to 3,456 items.
A double chest has 54 slots. Filled with 64-stack items, that is 54 × 64 = 3,456 items. For 16-stack items it holds 864, and for non-stacking items just 54.
A shulker box has 27 slots, the same as a single chest, so it holds up to 1,728 items of a 64-stack item. Its advantage is that it keeps its contents when broken, so you can carry all 27 stacks in one inventory slot.
Items that stack to 16 are generally throwable or special-use items where a smaller stack is a balance choice. Items that do not stack (stack size 1) carry individual information — durability, enchantments, or contents — that cannot be merged, so each one needs its own slot.
This Minecraft Stack Calculator is an unofficial fan-made tool for educational and entertainment purposes and is not affiliated with or endorsed by Mojang or Microsoft. Stack sizes reflect standard Minecraft: Java and Bedrock behavior and may vary with mods, data packs, or future game updates.