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.
Related tools
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.