Bin Fit

Bin fit calculator

By the Bin Fit editorial team · Research guide, no hands-on testing · Last checked December 6, 2026

Enter the inside size of your shelf opening and the size of the bin you are considering. The calculator counts how many fit, tries both orientations and shows a top view.

Count the bins

All sizes in inches. To convert from centimeters, divide by 2.54.

Shelf or cubby opening (inside)
Side panel to side panel.
Front edge to back panel.
Shelf surface to the underside of the shelf above.
Bin (outside, widest point)
The front face, side to side.
Front to back.
Including any lid or handle that sticks up.
Gap between bins and walls, in inches.
Space above each bin, in inches.

Enter the shelf opening and the bin size to see how many fit.

How the calculator works

For each direction, it finds the largest whole number of bins n where

n × bin size + (n + 1) × side clearance ≤ opening

That leaves one clearance gap at each wall and one between each pair of bins. It does this across the width and front to back, then multiplies. It repeats the count with the bin turned 90 degrees and shows whichever fits more.

For height, a single layer fits when bin height plus lifting room is no more than the opening height. If you tick the stacking box, it counts how many layers fit under the lifting room instead.

What it does not know

Measuring tips are on how to measure shelves. Inch and centimeter definitions come from the NIST, SI units of length.