Will it actually fit?
Find a useful layout for your shelf before buying the boxes.
Your shelf, worked out.
3 containers
3 across × 1 deep, in one layer.
Top view · schematic, not to scale
Additional unused space: 4 cm across and 3 cm deep.
Your measurements stay in this page. They are not saved or sent to a server.
What the result includes
This planner compares two regular grids of identical rectangular containers. All boxes face the same direction. It rotates width and depth on the base; it never tips a container onto its side or stacks containers. The reported result is the better of those two grids, not a maximum-packing solution.
Check the parts a calculator cannot see
Measure the usable opening, including hinges and handles. Check the container’s maximum outside dimensions and test its removal motion. This tool does not check shelf loads, furniture stability, lid swing, tapered sides, or accessibility. Follow the furniture and container manufacturers’ instructions.
The calculation, in plain sight
Usable width = shelf width − twice the edge allowance. Across = round down ((usable width + gap) ÷ (container width + gap)). Calculate depth in the same way, then multiply across by deep. The height must fit below the clear height minus the top allowance. Repeat with container width and depth exchanged.
Example: an 80 × 35 × 30 cm shelf with 24 × 30 × 20 cm boxes, a 1 cm allowance and a 1 cm gap fits three boxes in one layer. Turning them gives two. The best regular grid therefore holds three.