# Minecraft Stack Calculator

URL: https://speedycalculator.com/calculators/other/minecraft-stack/
Last updated: 2026-11-08

> The Minecraft stack calculator converts a number of items into full stacks and leftovers for stack sizes of 64, 16 or 1 (or any custom size), or turns stacks back into items, and shows how many inventory slots, shulker boxes and chests the items fill.

## Inputs

- Convert
- Maximum stack size
- Custom stack size
- Total items
- Full stacks
- Items in a partly filled stack

## Results

- Full stacks
- Items left over (semi-full stack)
- Total items
- Inventory slots used
- Shulker boxes (27 slots)
- Double chests (54 slots)
- Fits in a player inventory (36 slots)?

## Formula

```
Full stacks = ⌊items ÷ stack size⌋ · Leftover = items mod stack size · Items = stacks × stack size + leftover · Shulker box = 27 slots · double chest = 54 slots
```

## Explanation

Building projects in Minecraft are counted in stacks: "I need 12 stacks of stone bricks" is easier to plan with than 768. Most blocks and items stack to 64, but ender pearls, snowballs, eggs, signs, banners, empty buckets and honey bottles stack to 16, and tools, weapons, armour, potions and most buckets do not stack at all.

Choose a direction. Items → stacks divides your total by the stack size and gives the full stacks and the remainder; stacks → items does the reverse when you are reading a chest. Either way the calculator also tells you how many inventory slots that is, how many shulker boxes (27 slots each) and double chests (54 slots) you need to carry or store it, and whether it fits in a player inventory (36 slots plus the off-hand).

A full shulker box of 64-stacks holds 1,728 items, and a double chest 3,456. These are useful numbers when you plan big builds or farm output.

### How to use the Minecraft Stack Calculator

- **Convert**
- **Maximum stack size**
- **Custom stack size**
- **Total items**
- **Full stacks**
- **Items in a partly filled stack**

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

### How it works

Integer division gives the number of full stacks and the remainder gives the partly filled stack. Slots are full stacks plus one if there is a remainder; containers are slots divided by their capacity, rounded up.

### Worked example

2,500 wheat at 64 per stack: 2,500 ÷ 64 = 39 remainder 4, so 39 full stacks and 4 loose items in 40 slots, which is 2 shulker boxes or 1 double chest. In reverse, 12 stacks plus 20 items are 12 × 64 + 20 = 788 items.

### Container capacity (64-stack items)

ContainerSlotsItemsHopper5320Chest / barrel / shulker box271,728Player inventory362,304Double chest543,456

### Inputs explained

FieldWhat to enterConvertChoose one: Items → stacks, Stacks → itemsMaximum stack sizeChoose one: 64 (most blocks and items), 16 (ender pearls, snowballs, eggs, signs, banners), 1 (tools, armour, potions), CustomCustom stack sizeA numberTotal itemsA numberFull stacksA numberItems in a partly filled stackA number

### What each result means

- **Full stacks** = floor([N]÷[S])
- **Items left over (semi-full stack)** = mod([N], [S])
- **Total items** = [N]
- **Inventory slots used** = ceil([N]÷[S])
- **Shulker boxes (27 slots)** = ceil(ceil([N]÷[S])÷27)
- **Double chests (54 slots)** = ceil(ceil([N]÷[S])÷54)

## Worked example

Inputs: Convert: Items → stacks; Maximum stack size: 64 (most blocks and items); Total items: 2,500.

Results: **Full stacks = 39**; Items left over (semi-full stack) = 4; Inventory slots used = 40; Shulker boxes (27 slots) = 2; Double chests (54 slots) = 1; Fits in a player inventory (36 slots)? = No – you need more trips or shulker boxes.

## Key terms

- **Stack**: A single inventory slot holding up to the maximum stack size of one item.
- **Shulker box**: A portable container with 27 slots that keeps its contents when broken.
- **Double chest**: Two chests side by side, 54 slots.

## FAQ

**How many items are in a stack in Minecraft?**
64 for most blocks and items, 16 for items such as ender pearls, snowballs, eggs, signs and banners, and 1 for tools, armour and potions.

**How many stacks is 250 items?**
3 full stacks of 64 (192) plus 58.

**How many items fit in a shulker box?**
27 slots × 64 = 1,728 items.

**How many items fit in a double chest?**
54 × 64 = 3,456 items.

**How many slots does a player inventory have?**
36 main slots (27 + 9 hotbar), plus armour slots and the off-hand.

**How many stacks is 2,500 blocks?**
39 full stacks and 4 blocks. That is 40 slots, so it will not fit in one player inventory.


## Sources

- [Minecraft Wiki: Inventory](https://minecraft.wiki/w/Inventory)
- [Minecraft Wiki: Shulker Box](https://minecraft.wiki/w/Shulker_Box)
- [Minecraft Wiki: Chest](https://minecraft.wiki/w/Chest)
