Bin fit calculator
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.
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
- Tapered sides. If a bin is narrower at the base, two bins may nest closer at the bottom than at the rim. The calculator uses the widest size you enter, which is the safe choice.
- Face frames and lips. Some cabinets have a front frame narrower than the inside. Measure the narrowest point a bin must pass through.
- Weight. It counts space, not load. Check what the shelf is rated to carry.
Measuring tips are on how to measure shelves. Inch and centimeter definitions come from the NIST, SI units of length.