HOW THE MINECRAFT STACK CALCULATOR WORKS
Minecraft storage is based on inventory slots. Most items stack to 64, some stack to 16, and tools, armor pieces, and many other items use one slot each. Use Single Item when every item has the same stack size.
Use Mixed Items when your storage contains different item types. The calculator works out how many slots each group occupies separately, then adds those slots together before calculating chests, barrels, and shulker boxes.
A single chest, barrel, and shulker box each have 27 storage slots. A double chest has 54 slots. Container totals round up because even one partial stack still occupies a full slot.