Minecraft Stack Calculator

Convert any item total into Minecraft stacks, full chests, double chests, and shulker boxes.

Everyday Bidirectional Container counts
Rate this calculator · 3.0 (2)

Minecraft items to stacks

Stacks · chests · shulker boxes · 64 / 16 / 1

Instructions — Minecraft Stack Calculator

1

Pick the stack size

64 is the default and covers most blocks, ores, food, and resources. Switch to 16 for eggs, ender pearls, snowballs, signs, and banners. Switch to 1 for tools, armor, potions, and any other non-stackable item.

2

Enter the total

Type the total items you have or plan to gather. The calculator returns full stacks, the remainder, the number of inventory slots used, and how many chests, double chests, and shulker boxes you need to store them.

3

Or flip the direction

Switch to Stacks to items if you know the stack count and want the total. The calculator multiplies by the active stack size. Quick presets jump straight to one stack, one shulker, or one full double chest for fast resource planning.

Stack rule: 1 stack = 64 standard items, 1 single chest = 27 slots, 1 double chest = 54 slots, 1 shulker box = 27 slots.
Storage rule: 1 double chest of standard items holds 3,456 items (54 × 64). 1 shulker box holds 1,728 items.

Formulas

Stack and container math is just ceiling division. Everything in Minecraft storage scales from three numbers: 64 (items per stack), 27 (slots per single chest), and 54 (slots per double chest).

Items to stacks
$$ \text{stacks} = \left\lceil \frac{I}{S} \right\rceil $$
I is total items, S is stack size (64, 16, or 1). 1,500 cobblestone needs ceil(1500/64) = 24 stacks. The last stack holds 1,500 - 23 × 64 = 28 items.
Stacks to items
$$ I = \text{stacks} \times S $$
Reverse direction. 10 stacks of 64 = 640 items. 27 stacks = 1 full shulker box of standard items = 1,728 items. 54 stacks = 1 double chest = 3,456 items.
Single chests needed
$$ C_1 = \lceil \text{stacks} / 27 \rceil $$
Single chest = 27 slots. Each slot holds up to one stack. 100 stacks need ceil(100/27) = 4 chests. The 27 number is hardcoded in the game and has not changed across editions.
Double chests needed
$$ C_2 = \lceil \text{stacks} / 54 \rceil $$
Two single chests placed side by side merge into a double chest of 54 slots. 100 stacks need ceil(100/54) = 2 double chests. This is the densest stationary storage in vanilla.
Shulker boxes needed
$$ SB = \lceil \text{stacks} / 27 \rceil $$
A shulker box also holds 27 stacks but stays full when picked up. Added in Minecraft 1.11 (Exploration Update, November 2016). The portable shulker box turned Nether logistics from punishing to routine.
Player inventory ceiling
$$ \text{max items} = 36 \times S $$
36 slots = 9 hotbar + 27 main grid. For standard items, the cap is 36 × 64 = 2,304 items. Tools and armor are 1 per slot, capping the inventory at 36 unique tools or 32 + 4 armor.

Reference

Stack sizes by item category
Stack sizeExamples
64 itemsCobblestone, dirt, stone, sand, wood, planks, ingots (iron, gold, copper, netherite), diamonds, emeralds, redstone, glowstone, wool, glass, most food
16 itemsEggs, snowballs, ender pearls, signs, banners (all colors), buckets of water, lava, milk (per-bucket limit)
1 itemTools, weapons, armor, potions, buckets (when full), boats, minecarts, enchanted books, filled maps, shulker boxes (in inventory)

Container capacity at a glance

Slots times stack size gives storage capacity. The numbers below assume standard 64-item stacks.

Storage units
ContainerSlotsItems
Single chest271,728
Double chest543,456
Shulker box271,728
Barrel271,728
Ender chest271,728
Player inventory
SectionSlots
Hotbar9
Main grid27
Armor4
Off-hand1
Total41 (36 + 5)

The Minecraft Wiki Inventory and Container pages are the public reference for stack and slot counts. The shulker box was introduced in Minecraft Java 1.11 (Exploration Update, November 2016) and propagated to Bedrock the following year.

Article — Minecraft Stack Calculator

Minecraft stack calculator: items, chests, and shulker boxes

A Minecraft stack calculator turns any item total into full stacks, partial remainders, and the number of chests and shulker boxes needed to store them. The standard stack is 64 items, the single chest holds 27 slots, the double chest holds 54 slots, and the shulker box also holds 27 slots. So 1,500 cobblestone is 23 full stacks plus a 28-item remainder, fitting in a single chest with three slots free. 15,000 items is 235 stacks, taking five double chests or nine shulker boxes.

Not every item stacks to 64. Eggs, snowballs, ender pearls, signs, and banners cap at 16 per stack. Tools, armor, potions, boats, minecarts, enchanted books, and filled maps do not stack at all (1 per slot). Switching the stack-size dropdown on the calculator above adjusts every container count automatically.

The math behind storage planning is the same whether you are stockpiling cobblestone for a mega-build, sorting redstone components into a centralized warehouse, or packing for a Nether expedition. What changes is the stack size and the container choice. Survival players default to double chests for stationary storage and shulker boxes for travel; creative players still benefit from the math when designing automated sorters and chest-monster auditors.

Minecraft stack sizes: 64, 16, and 1

The 64 limit covers blocks, ores, food, ingots, and almost every crafting material in the game. Mojang has held the line on 64 since Alpha, despite community proposals for 99 or 128. The 16 limit applies to a small set of utility and combat items, and the 1 limit covers anything with durability, enchantments, or dynamic state.

The reason 64 became the standard is interface space rather than balance. Three digits fit comfortably in the small overlay on each inventory slot, and 64 leaves headroom for the 1 to 99 stack-count UI to render without truncation. A 99 or 128 cap would have required either two-digit truncation or a wider slot, both of which break the existing 9-wide hotbar layout.

Minecraft stack math at a glance
stacks = ceil(items / 64) standard items
1 chest = 27 slots 1,728 items max
1 double chest = 54 slots 3,456 items max
1 shulker = 27 slots 1,728 items max
inventory = 36 slots 2,304 items max

Minecraft stack math at a glance

The math is ceiling division, repeated for each container size. Divide items by stack size and round up to get the slot count. Divide slots by 27 (single chest, shulker), 54 (double chest), or 36 (player inventory). Round up each time, because you cannot half-fill a container slot with two different item types. A partial stack still occupies one full slot, which is why the remainder column in the calculator output matters more than total items for planning chest grids.

CHEST
1,728
27 slots
DOUBLE CHEST
3,456
54 slots
SHULKER
1,728
27 slots
INVENTORY
2,304
36 slots

Chests and double chests for stack storage

A single chest holds 27 slots, or 27 stacks of standard items (1,728). Two single chests placed flush against each other (with no block between or above them) merge into a double chest of 54 slots. Right-clicking either half opens the merged 54-slot inventory. Above a double chest you cannot place any solid block at full height, or the chest stays as two single chests.

Most large bases use rows of double chests with item frames showing the contents. A 5 by 10 grid of double chests holds 172,800 standard items and is a typical mid-game storage hall. For sorted storage systems with hoppers feeding into chest banks, the math is the same; what changes is the redstone behind the chest.

Did you know

The 27-slot chest dates to Minecraft Indev, the development phase that introduced item storage in early 2010. Mojang founder Markus Persson picked the number to fit the existing 9-wide hotbar visually, which made it three rows of nine. The same 9-wide grid runs through every container in the game, from chests and shulker boxes to villager trading and furnace fuel slots.

Shulker boxes and portable stacks

A shulker box is the only container in vanilla Minecraft that keeps its contents when picked up. Twenty-seven slots, same as a single chest, but the box can sit in your inventory or in another container as a single item. That makes a shulker box effectively a portable backpack with 1,728 standard items of capacity.

  • Capacity = 27 slots = 1,728 standard items
  • Recipe = 2 shulker shells + 1 chest in a vertical pattern
  • Dye colors = 16 colors plus undyed default
  • Nesting = not allowed; outer box breaks if nested
  • Added in = Java 1.11 Exploration Update (November 2016)
  • Drop on break = drops as item with contents intact

Player inventory and stack limits

The player inventory has 36 slots: 9 hotbar and 27 main grid. Plus 4 armor slots and 1 off-hand slot. With standard 64-item stacks the cap is 2,304 items. Carrying a full shulker box in one inventory slot effectively raises the cap to about 4,032 items when you load shulkers with standard stacks and tuck them into the main grid.

Tip

For long mining trips, carry 2 to 4 empty shulker boxes in your hotbar. When inventory fills, deposit cobblestone, dirt, and gravel into shulkers while keeping ores and rare drops in the main grid. A single shulker holds 1,728 cobblestone, replacing what would otherwise be 27 individual stack slots.

Special items with smaller stack sizes

Sixteen-item stacks apply to eggs, snowballs, ender pearls, signs, and banners (each color counts as a separate item in Java Edition). Empty buckets stack to 16; filled buckets do not stack at all. Honey bottles stack to 16. The 16 limit is a deliberate game-balance choice, mostly to cap ranged-ammunition carrying capacity in PvP.

Single-slot items include all tools, weapons, armor, potions, splash and lingering potions, milk buckets, lava and water buckets, boats, minecarts, item frames with content, and any item with damage or enchantment. Two pickaxes with different enchantments cannot share a slot even if both are unused.

Common Minecraft stack planning mistakes

The most common mistake is planning storage in stacks while forgetting that some items stack to 16 or 1. A double chest holds 3,456 standard items but only 864 eggs or 54 enchanted swords. The calculator above adjusts every container count automatically when you switch stack size. Another common slip-up is forgetting that hoppers feed only one slot at a time, so a sorter feeding a 27-slot chest needs at least 27 hoppers if you want each item type pre-sorted into its own slot.

Damaged tools do not stack with full-durability ones

A used pickaxe with 90 percent durability cannot stack with a fresh pickaxe in the same inventory slot, even though both are non-stackable. The same rule applies to two identical enchanted items if the enchantment levels differ by even one point. Always plan one slot per unique tool, weapon, or armor piece when storing gear.

FAQ

64 items for most blocks, ores, food, and crafting materials. Eggs, snowballs, ender pearls, signs, and banners stack to 16. Tools, armor, potions, boats, minecarts, enchanted books, and filled maps cannot stack and take 1 slot each. The stack sizes have stayed the same across Java and Bedrock editions since the early days.
27 stacks, the same as a single chest. With standard 64-item stacks, that comes out to 1,728 items per shulker box. Shulker boxes keep their contents when picked up and placed in your inventory or another container, which makes them the densest portable storage in vanilla Minecraft. They were added in 1.11.
54 slots, equal to 3,456 standard items at 64 per stack. For 16-per-stack items the limit drops to 864; for non-stackable items it falls to 54. A double chest is just two single chests placed flush against each other; right-clicking either side opens the merged 54-slot inventory.
Stack-of-16: eggs, snowballs, ender pearls, signs, banners. Stack-of-1 (non-stackable): tools, weapons, armor, potions, splash and lingering potions, buckets when full, boats, minecarts, enchanted books, filled maps, and shulker boxes. Empty buckets stack to 16. Stacking rules carry across Java and Bedrock with rare edition-specific differences.
Divide the total items by 3,456 (double chest, 64-per-stack) and round up. 15,000 cobblestone needs ceil(15000 / 3456) = 5 double chests. For 16-per-stack items use 864 per chest; for non-stackable use 54. The calculator above does the math for any item count and stack size.
2,304 standard items, plus a single armor set in the four armor slots. The player inventory has 36 slots (9 hotbar plus 27 main grid). At 64 items per stack, the cap is 36 × 64 = 2,304. Off-hand adds one more slot but cannot hold a second armor set or duplicate hotbar item.
No, shulker boxes cannot nest. Trying to insert one into another breaks the inner one and drops its contents on the ground. Shulker boxes can be placed in single and double chests, barrels, ender chests, and the player inventory. The no-nest rule is a deliberate balance choice from Mojang.
Shulker boxes, llamas, woodland mansions, vex, evokers, vindicators, and the curse enchantments (Curse of Binding, Curse of Vanishing). The update shipped on November 14, 2016 for Java Edition. Shulker boxes alone reshaped late-game storage logistics because their contents survive being picked up and dropped into an inventory.