Container Loading Calculator
Estimate how many cartons fit in a shipping container, which orientation works best, and how many containers are needed for a shipment.
Plan carton loading by space, weight, and shipment quantity
A container loading calculator estimates how many boxes, pallets, or cartons fit inside a shipping container. Calculate container load by entering container length, width, height, cargo dimensions, cargo weight, payload limit, and shipment quantity, then compare the practical load by cubic space and by weight.
This calculator is designed for identical rectangular cartons. When rotation is allowed, it tests the six possible carton orientations and selects the one with the highest space capacity before comparing the result with the payload limit.
Real loading can be affected by pallets, dunnage, blocking, bracing, axle limits, door height, uneven weight distribution, fragile goods, and loading rules, so treat the result as a planning estimate.
Maximum cartons per container
--Load this shipment --, containers needed --
Space capacity
--
--
Weight capacity
--
--
Recommended load
--
--
Containers needed
--
--
Volume utilization
--
Payload utilization
--
Floor layout
--
Stack height
--
Orientation comparison
Compares carton rotations and the grid count that fits each orientation.
| Orientation | Counts | Space capacity | Volume utilization |
|---|---|---|---|
| Run the calculator to compare carton orientations. | |||
Loading note: This calculator uses a straight rectangular grid. Pallets, mixed SKUs, carton crush strength, lashing, blocked space, and axle weight distribution can reduce the real load.
How to use the container loading calculator
- Select a container: Choose a preset. Open the container dimensions panel only if you need custom internal dimensions or payload.
- Enter carton details: Use the outside carton length, width, height, and gross carton weight.
- Set loading rules: Choose whether cartons can rotate and whether they can be stacked vertically.
- Add shipment quantity: Enter how many cartons you need to ship so the calculator can estimate containers needed.
- Review limits: Compare space capacity, weight capacity, utilization, and the best orientation before planning the load.
Container loading formula
The calculator fits identical cartons in a simple grid. It divides the container length, width, and height by the selected cargo orientation, rounds each count down, and multiplies the three counts together. As a broad reference, a 20-foot container holds about 28 cubic meters, while a 40-foot container holds about 67 cubic meters, though actual usable space depends on the specific container and load plan.
Space capacity = floor(container length / carton length) x floor(container width / carton width) x floor(container height / carton height)
Weight capacity = floor(payload limit / carton weight)
Loadable cartons = min(space capacity, weight capacity, shipment quantity)
Example: a 40 ft high cube container with 12.03 m x 2.35 m x 2.69 m interior dimensions and 0.60 m x 0.40 m x 0.30 m cartons can fit 840 cartons by space in the best simple-grid orientation before weight limits are applied.
Choosing the right container size
The cheapest container is not always the best container. A shipment can be limited by cubic volume, payload weight, route rules, destination handling, or the number of cartons you need to ship now.
| Container | Best for | Watch out for | Calculator clue |
|---|---|---|---|
| 20 ft standard | Dense cargo, smaller lots, and shipments that hit weight before cube. | May not be cost-effective for light bulky cargo. | Payload utilization is high while volume utilization is modest. |
| 40 ft standard | General boxed goods where height is not the main constraint. | Tall cartons may leave unused vertical space. | Stack height is limited but payload utilization stays low. |
| 40 ft high cube | Light, bulky, or stackable cartons that benefit from extra height. | Route, carrier, or destination availability may vary. | Volume utilization improves when extra layers fit. |
| 45 ft high cube | Very bulky cargo where freight lanes support longer equipment. | Not all lanes, depots, or consignees handle 45 ft containers. | One larger container may replace multiple smaller loads. |
Container size and type reference: Bureau International des Containers - Container Size and Type Code Explained.
Palletized versus floor-loaded cargo
The calculator assumes cartons can be loaded directly in a simple grid. In real logistics, the choice between floor loading and pallet loading affects labor, damage risk, handling speed, and how much space is actually usable.
Floor-loaded cartons
Usually gives the highest carton count because pallets do not consume space. It can require more labor at origin and destination, and cartons need enough strength for stacking.
Palletized freight
Usually loads and unloads faster and can reduce handling damage. It often lowers cube utilization because pallet footprint, deck height, stretch wrap, and forklift clearance take space.
Slip sheets
Can save space compared with pallets while still supporting mechanical handling. They require compatible equipment and may not work for every warehouse.
Mixed method
Some shippers use pallets near the doors and floor-load the rest. This can balance unloading convenience with higher container utilization.
Container packing reference: UNECE - IMO/ILO/UNECE CTU Code.
How to improve container utilization
If the calculator shows low utilization or an extra container for only a small overflow, the next step is not always booking more equipment. These changes can improve loadability before the shipment is finalized.
Redesign carton dimensions
A carton that leaves a narrow leftover strip along the width or height may waste a full lane. Small changes to carton width or height can add an extra column or layer.
Test rotation rules
If the product can safely rotate, compare fixed orientation with rotated orientation. If it cannot rotate, make sure carton markings and loading instructions match the planned direction.
Balance cube and payload
If payload utilization is high but volume utilization is low, the cargo is weight-limited. If volume is high but payload is low, the cargo is cube-limited.
Consolidate compatible SKUs
Mixed carton sizes can fill leftover gaps, but only when weight distribution, handling sequence, and product compatibility are planned.
Reduce non-cargo space
Review dunnage, void fill, pallet choice, and packaging thickness. Removing unnecessary air can reduce total containers needed.
Plan the last container
If the final container carries only a small remainder, consider splitting quantity, changing carton count per order, or combining compatible freight.
What this loading estimate includes and excludes
The result is most useful for early planning, freight quoting, and comparing carton sizes. It does not replace a detailed load plan for mixed cargo, hazardous goods, fragile goods, or palletized shipments.
Included
Container interior size, carton dimensions, carton weight, rotations, stacking choice, payload limit, shipment quantity, and simple-grid utilization.
Not included
Pallets, slip sheets, airbags, lashing, dunnage, uneven loading, mixed carton sizes, door obstruction, axle rules, temperature equipment, and cargo damage limits.
Best for
Identical master cartons, stackable boxed goods, preliminary container count, and deciding whether cargo is volume-limited or weight-limited.
Use caution
Heavy goods, fragile cartons, irregular packaging, cargo with ventilation needs, or shipments where weight distribution must be certified.
Pre-loading checklist
Before booking or stuffing a container, confirm the details that commonly reduce loadable quantity or create safety issues.
Measure actual cartons
Use packed carton dimensions, not catalog dimensions. Tape, bulging, and labels can change the real outside size.
Check gross weight
Use gross carton weight, including product, inner packaging, cartons, and any inserts.
Confirm container limits
Container payload, road limits, port limits, and carrier rules may be lower than the physical space capacity.
Cargo securement reference: Federal Motor Carrier Safety Administration - Cargo Securement Rules.
Interesting Fact
Container loading matters because ocean freight carries a huge share of world trade. UN Trade and Development reports that around 80% of the volume of international trade in goods is carried by sea. That scale is why small improvements in carton size, payload use, and container utilization can have a large impact across supply chains. Source: UNCTAD - Review of Maritime Transport.
Frequently Asked Questions
What is a container loading calculator for shipping freight?
A container loading calculator estimates how many cartons, boxes, or crates can fit in a shipping container using container dimensions, package dimensions, cargo weight, and payload limit. It helps compare space capacity, weight capacity, volume utilization, load layout, and the number of containers needed for a freight shipment, import order, export order, or warehouse delivery plan.
Does this calculator work for pallet and warehouse cargo?
It can estimate pallet-sized cargo if each pallet is treated as one rectangular package with its own length, width, height, and gross weight. However, it does not calculate cartons on a pallet, pallet overhang, pallet stacking strength, forklift access, warehouse pick sequence, or load securement. For palletized inventory, use the finished pallet dimension rather than the individual carton size.
Why is the best layout different from my planned carton direction?
When rotation is allowed, the calculator tests multiple carton orientations and selects the layout that fits the most units in the container. A real shipment may still require a fixed direction because of arrows, fragile cargo, compression limits, label visibility, warehouse handling, truck unloading sequence, or customer delivery requirements. The best mathematical layout is not always the safest logistics layout.
What does volume utilization mean in container loading?
Volume utilization is the loaded carton, box, or crate volume divided by the container interior volume. A high percentage means the cargo uses the available cube efficiently, but it is not always possible because rectangular packages leave leftover strips, blocked corners, aisle space, dunnage, pallet gaps, or unused space near the doors. In logistics, a shipment can have good volume utilization and still be limited by weight capacity.
Can a container load be full by weight before volume?
Yes. Dense products can hit the payload weight limit while there is still empty space inside the container. Light cargo often does the opposite: it cubes out by volume before reaching the maximum allowed payload. This is why a container loading calculator should compare both space capacity and weight capacity before confirming the shipment, truck move, import booking, or export load plan.
Other useful calculators
Disclaimer: This container loading calculator is for general planning, estimating, and informational use only. It calculates a simplified rectangular-grid load from user-entered container dimensions, carton dimensions, carton weight, payload limit, rotation setting, stacking setting, and shipment quantity.
The result does not account for mixed SKUs, pallets, slip sheets, dunnage, void fill, airbags, lashing, blocking, bracing, load bars, door clearance, forklift access, container condition, cargo fragility, compression strength, hazardous materials, ventilation, refrigeration equipment, customs inspection access, uneven weight distribution, axle limits, local road limits, port rules, carrier rules, or legal maximum gross weight.
Do not use this calculator as a certified load plan, engineering plan, cargo securement plan, dangerous-goods plan, customs document, freight contract, or substitute for carrier, freight forwarder, warehouse, packer, engineer, or logistics professional guidance. Verify actual container specifications, cargo measurements, gross weights, loading method, and regulatory limits before booking, stuffing, transporting, or shipping a container.
Last updated: June 6, 2026