CalculatorSquare

Container Loading Calculator

Estimate how many identical cartons fit in a 20ft Standard, 40ft Standard or 40ft High Cube container by dimensions and payload.

Calculate cartons per container

Compare how many identical cartons can fit in 20ft, 40ft and 40ft High Cube containers using carton dimensions, weight and rotation rules.

Optional. Used to estimate how many containers are required.

Carton volume
0.096 m³
96,000 cm³ per carton

Container comparison

20ft Standard

225 cartons

Pattern: 9 × 5 × 5

Fit by space: 225

Fit by weight: 2,350

Limited by: Space

Volume used: 21.6 m³

Volume utilization: 65.1%

Cargo weight: 2,700 kg

Payload utilization: 9.6%

Containers needed for 1,000: 5

40ft Standard

500 cartons

Pattern: 20 × 5 × 5

Fit by space: 500

Fit by weight: 2,225

Limited by: Space

Volume used: 48 m³

Volume utilization: 70.9%

Cargo weight: 6,000 kg

Payload utilization: 22.5%

Containers needed for 1,000: 2

40ft High Cube

600 cartons

Pattern: 20 × 5 × 6

Fit by space: 600

Fit by weight: 2,208

Limited by: Space

Volume used: 57.6 m³

Volume utilization: 75.4%

Cargo weight: 7,200 kg

Payload utilization: 27.2%

Containers needed for 1,000: 2

How the container loading calculator works

The calculator converts the carton dimensions to meters, tests the permitted carton orientations and counts how many whole cartons fit along the internal length, width and height of each container.

Cartons by space = floor(L ÷ l) × floor(W ÷ w) × floor(H ÷ h)

When rotation is allowed, the calculation tests the permitted length, width and height arrangements and uses the orientation with the highest whole-carton count.

Space limit vs. payload limit

A shipment can run out of physical space before reaching the container payload limit, or it can reach its weight limit while unused volume remains.

Cartons by weight = floor(Container payload ÷ Carton gross weight)

When carton weight is entered, the final planning quantity is the smaller of the space-limited and weight-limited carton counts.

Container presets used

The calculator uses typical planning dimensions for three common dry-container types: 20ft Standard, 40ft Standard and 40ft High Cube.

The 20ft preset uses approximately 5.898 × 2.352 × 2.393 m internally. The 40ft Standard preset uses about 12.032 × 2.352 × 2.393 m, while the 40ft High Cube preset uses about 12.032 × 2.352 × 2.698 m.

Actual internal dimensions, tare weight and maximum payload can vary by container manufacturer, owner, equipment series and transport restrictions. Confirm the specification of the actual container before loading.

Carton rotation options

Allow all orientations tests all six rectangular-box orientations. This is useful when cartons can safely be placed on any side.

Keep height upright only allows the carton to rotate on the floor while preserving the entered height.

Fixed orientation uses the dimensions exactly as entered.

Carton CBM

Each carton's cubic volume is calculated from its length, width and height.

Carton CBM = Length × Width × Height

If your main goal is simply to calculate shipment volume rather than physical loading, use the CBM Calculator.

Why CBM alone does not tell you how many cartons fit

Dividing container cubic capacity by carton CBM gives only a theoretical volume ratio. Rectangular cartons must fit as whole units along the container dimensions, so empty strips and gaps can remain even when total cubic volume appears sufficient.

This calculator therefore uses a dimensional grid calculation instead of only dividing one volume by another.

How many containers are needed?

When a shipment quantity is entered, the calculator divides the requested number of cartons by the estimated cartons per container and rounds upward.

Containers required = ceil(Shipment quantity ÷ Cartons per container)

Volume utilization

Volume utilization compares the cubic volume represented by the estimated loaded cartons with the nominal internal cubic capacity of the selected container.

It should be treated as a planning indicator rather than proof that every cubic meter can be physically used.

Payload utilization

If carton gross weight is provided, the calculator estimates total cargo weight and compares it with the planning payload preset.

Road, rail, port, axle and carrier restrictions can impose lower usable weights than a container's structural payload rating.

Important loading limitations

This is a uniform-box planning model. Real container loading can lose usable space because of door clearance, carton bulging, dunnage, pallets, bracing, uneven stacking, load-distribution requirements and operational safety margins.

A specialized loading plan may sometimes fit more cartons by mixing orientations in leftover spaces, while fragile or non-stackable cargo may fit substantially fewer.

Related shipping calculations

For shipment cubic volume, use the CBM Calculator.

For pallet planning, use the Pallet Calculator.

For dimensional shipping weight, use the Dimensional Weight Calculator.

Planning estimate

Container dimensions and payloads shown here are typical planning presets, not guaranteed specifications. Confirm the actual container's CSC plate, operator specifications, loading method and applicable transport weight limits before shipment.

Frequently asked questions

How many boxes fit in a 20ft container?

It depends on carton dimensions, allowed orientation and gross weight. Enter those values to calculate a planning estimate.

Is a 40ft container exactly twice the capacity of a 20ft container?

No. Internal dimensions, payload limits and how the carton dimensions divide into the available space all affect the result.

What is the difference between 40ft and 40ft High Cube?

A High Cube container is taller, providing additional cubic capacity and often allowing an extra layer of suitable cartons.

Why can weight limit a container before space?

Dense cargo can reach the permitted payload before the container's internal volume is fully occupied.

Is this a professional 3D load plan?

No. It is a planning calculator for identical rectangular cartons using uniform orientation patterns.

Using this calculator effectively

The Container Loading Calculator estimates how many identical rectangular cartons fit in common 20ft, 40ft and 40ft High Cube dry containers. It compares geometric capacity with payload capacity and can estimate the number of containers required for a shipment.

Common uses

  • Comparing carton capacity across common dry-container sizes before requesting ocean freight space.
  • Checking whether a shipment is more likely to be limited by carton geometry or cargo weight.
  • Estimating how many containers are required for a known quantity of identical cartons.

Tips for a better estimate

  • Use finished outer-carton dimensions and gross carton weight rather than product-only measurements.
  • Choose an appropriate rotation rule when cartons must remain upright or cannot safely be turned.
  • Confirm actual container internal dimensions, payload, door clearance and transport weight restrictions before loading.

Related calculations

Pallet Calculator · CBM Calculator · Dimensional Weight Calculator