Introduction
This container loading calculator helps you figure out how many items fit inside a shipping container. Enter the size and weight of your cargo, pick a container type, and the tool calculates the results. It shows how much space and weight you use, how many items fit in the space, and which ones do not, and it warns you when the cargo is heavier than the container's payload. You also get a 3D view of how your cargo sits inside the container so you can see the layout before you ship.
The calculator supports all common container sizes, including 20-foot, 40-foot, and 45-foot options in both standard and high-cube heights. You can also add a custom container with your own dimensions. Boxes, big bags, and sacks are all packed as rectangular blocks of the size you enter, and you can set rules like no stacking or fragile handling. This tool gives you a clear plan to maximize space, stay within weight limits, and avoid costly mistakes.
How to Use Our Container Loading Calculator
Enter details about your cargo and shipping container below. The calculator will show you how many items fit, how much space and weight you use, and give you 3D and 2D views of how your cargo is packed inside the container.
Length Unit: Pick the unit of measurement for all sizes. Choose from millimeters, centimeters, meters, inches, or feet.
Weight Unit: Pick the unit for all weights. Choose kilograms or pounds.
Calculation Name: Give your calculation a name so you can find it later. This is optional.
Number of Containers: Enter how many containers you plan to use for this shipment.
Product Name: Type a short name for each cargo item, such as "Carton A" or "Pallet B."
Color: Pick a color for each product. This color is used in the 3D view and charts so you can tell items apart.
Cargo Type: Label each product as a Box, Big Bag, or Sack. Every type is packed as a rectangular block of the length, width, and height you enter.
Quantity: Enter the total number of pieces for that product you want to load.
Length, Width, and Height: Enter the outer size of one piece of your cargo in the unit you chose above.
Weight per Item: Enter how much one single piece weighs in the unit you chose above.
Allowed Rotation Axes: Check which directions the item is allowed to turn during packing. This helps the calculator find the best fit. If an item must stay upright, uncheck the axes that would tip it over.
Max Layers: Check the box and set a number to limit how many layers high this product can be stacked. Leave it unchecked if there is no limit.
No Stacking / Fragile: Check "No stacking" if nothing should be placed on top of this product. Check "Fragile" to flag the item as breakable, which also stops stacking on top of it.
Add Product: Click this button to add more cargo types. You can add as many different products as you need.
Container Selection: Click on a container card to choose your container size. Options include standard and high-cube sizes from 20 to 45 feet, plus refrigerated containers. In a refrigerated container, cargo is stacked only up to the load line shown on its card. Pick "Custom Container" if your container is not on the list, then fill in its inside dimensions, max payload, and tare weight.
Best Container Recommendation: Click this button and the calculator will look at all your cargo, suggest the smallest dry container that fits all of it, and run the calculation in that container. Refrigerated containers are left out of the suggestion. If no single container fits, it suggests how many of the largest container you need, allowing for 85% packing efficiency and the payload.
Stacking Algorithm: Choose "Simple" for a fast calculation that uses one orientation per product. Choose "Complex" for a more detailed packing method that tries multiple orientations and places the heaviest items first.
Gap Between Items: Enter the space you want between each item inside the container. Use this if your cargo needs breathing room or protective padding. Set it to zero if items can touch.
Weight Distribution Priority: Check this box to place the heaviest items first, so they go on the floor before lighter items are stacked on them. It does not spread the weight along the length of the container, so check the 3D view to see whether the heavy cargo ends up at one end.
Calculate: Click this button to run the calculation. You will see how many items fit, space and weight usage percentages, warnings, step-by-step math, 3D and 2D views, charts, and a per-product breakdown table.
Reset: Click this button to go back to the starting example cargo and default settings, and recalculate.
What Is Container Loading?
Container loading is the process of fitting cargo (boxes, crates, sacks, or other goods) into a shipping container. Shipping containers are large metal boxes used to move products by truck, train, or ship. They come in standard sizes like 20-foot, 40-foot, and 45-foot lengths.1 Each container has a set amount of space inside and a maximum weight it can carry, called the payload.1
The goal of container loading is simple: fit as much cargo as possible without going over the weight limit or wasting space. When you pack a container well, you ship fewer containers, spend less money, and reduce the chance of damage during transport. To estimate your shipping costs for cargo that does not fill a whole container, you will need both its volume and its weight, because the carrier charges on whichever of the actual weight and the volumetric weight is greater. A full container load is charged per container instead.4
Why Container Loading Calculations Matter
Guessing how many items fit in a container often leads to problems. You might book too many containers and pay for empty space. Or you might book too few and leave cargo behind. A container loading calculation solves this by using the exact dimensions and weight of your products to figure out how they fit inside a specific container type.
Two key numbers to watch are space utilization and weight utilization. Space utilization tells you what percentage of the container's volume your cargo fills. Weight utilization tells you how close you are to the container's weight limit. A good load plan keeps both numbers high without exceeding the maximum payload. Once you know your load plan, you can get rate quotes from carriers. For a less-than-truckload (LTL) shipment you will also need your freight class, which for many goods depends on the density of each handling unit, such as a pallet.2
Key Container Loading Terms
- CBM (Cubic Meter): The total volume of your cargo measured in cubic meters. This is the standard unit used in global shipping. Container capacity is also listed in cubic meters, so the two compare directly.1
- Tare Weight: The weight of the empty container itself. It does not count toward your cargo weight, but it is part of the gross weight that road and rail weight limits apply to.3
- Payload: The maximum weight of cargo a container is allowed to hold.
- Volumetric Weight: Carriers sometimes charge by volumetric weight instead of actual weight, especially for light but bulky cargo. This is calculated from the dimensions of your shipment.4
- Stacking: Placing items on top of each other inside the container. Fragile goods often cannot be stacked. Heavy items should not be stacked on top of fragile goods.3
- High-Cube Container: A container that is about one foot taller than a standard container, giving extra vertical space for lightweight but bulky cargo.1
- Refrigerated Container (Reefer): A container with built-in cooling, used for food, medicine, and other temperature-sensitive goods. Reefers have noticeably less inside space than a standard container of the same length. One 20-foot reefer series holds 28.2 cubic meters, against 33.2 cubic meters for a standard 20-foot container.1
- Freight Density: The weight of cargo per unit of volume, often expressed in pounds per cubic foot.2 For LTL freight with no special handling, stowability or liability concerns, density sets the freight class.2
Tips for Efficient Container Loading
Place heavy items on the bottom and lighter items on top. This keeps the load stable and protects fragile goods.3 Spread weight evenly from front to back and side to side, so the center of gravity of the load sits near the middle of the container. A load that is heavy at one end is harder to lift level and can overload the truck that carries it.3 Keep heavy items spread along the floor as well: a 20-foot container floor should carry no more than 4.8 tons per running meter of length, and a 40-foot floor no more than 3 tons.1 If your products come in different sizes, mix orientations to fill gaps and use more of the available space. Even a small gap between every item adds up, so keep spacing tight when your cargo allows it.
Before finalizing your load plan, compare the cost of different container sizes. For heavy cargo, two 20-foot containers can carry about twice the weight of one 40-foot container, because both sizes share the same maximum gross weight of up to 32,500 kg.1 Road and rail weight limits along the route can be considerably lower than that, so check them before you plan a full load.3