Skip to content
FiftyCalc Free calculators for all 50 states

Container Loading Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter the inside dimensions of the container and the outside dimensions of one box, both in the same unit.

Result

Sample figures

Boxes that fit (best of the two)—

Boxes fit, lengthwise —

  • Boxes fit, turned 90° on the floor—
  • Share of container volume used—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Container Loading Calculator

Units: switches the fields between the two unit systems.

Container inside length (example), in in: enter 0 or more. Prefilled example: 232.

Container inside width, in in: enter 0 or more. Prefilled example: 92.

Container inside height, in in: enter 0 or more. Prefilled example: 94.

Box length: enter 0 or more. Prefilled example: 24.

Box width: enter 0 or more. Prefilled example: 18.

Box height (kept upright): enter 0 or more. Prefilled example: 18.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Units: switches the fields between the two unit systems.
  2. Container inside length (example), in in: enter 0 or more.
  3. Container inside width, in in: enter 0 or more.
  4. Container inside height, in in: enter 0 or more.
  5. Box length: enter 0 or more.
  6. Box width: enter 0 or more.
  7. Box height (kept upright): enter 0 or more.
  8. Read the result: Boxes that fit (best of the two); the panel also shows Boxes fit, lengthwise, Boxes fit, turned 90° on the floor and Share of container volume used.

How this calculator works

Boxes per row, column and layer = floor(container dimension ÷ box dimension). Total = floor(L/l) × floor(W/w) × floor(H/h), compared with the same count after turning the boxes 90° on the floor (L/w, W/l).

This is a single-orientation stacking estimate: mixed orientations, door clearance, pallets and the container's payload limit can change the real count. Check the inside dimensions and maximum payload on the container's data plate or from the carrier.

The formula

  1. A=floor⁡(CLl)×floor⁡(CWw)×floor⁡(CHh)
  2. B=floor⁡(CLw)×floor⁡(CWl)×floor⁡(CHh)
  3. Be=max⁡(A,B)
Symbols used in the formula
SymbolMeaningUnit
CLContainer inside length (example)in
CWContainer inside widthin
CHContainer inside heightin
lBox length
wBox width
hBox height (kept upright)
ABoxes fit, lengthwise
BBoxes fit, turned 90° on the floor
BeBoxes that fit (best of the two)
floor(x)the largest whole number not above x.
max(a, b, …)the largest of the values.

Worked example

Container inside length (example)232 in
Container inside width92 in
Container inside height94 in
Box length24
Box width18
Box height (kept upright)18
Boxes fit, lengthwise225
Boxes fit, turned 90° on the floor180
Share of container volume used87.2%
  1. A=floor⁡(23224)×floor⁡(9218)×floor⁡(9418)=225
  2. B=floor⁡(23218)×floor⁡(9224)×floor⁡(9418)=180
  3. Be=max⁡(225,180)=225

Boxes that fit (best of the two) 225

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

How many 24 × 18 × 18 in boxes fit in a 232 × 92 × 94 in space?

9 × 5 × 5 = 225 boxes lengthwise, or 12 × 3 × 5 = 180 turned, so 225 at best, using about 87.2% of the volume.

Why is the space never fully used?

Leftover gaps smaller than a box remain along each wall and at the top. Mixing orientations can fill some of them.

Does weight matter?

Yes. Dense cargo can reach the container's payload limit before the space is full.

Related calculators