You can choose carton sizes that reduce shipping volume. This also lowers freight costs. First, design outer box dimensions. Make them divide evenly into usable container or pallet space. Also, eliminate interior void. Aligning master carton grids with clear container allowances maximizes unit payload density. In addition, it minimizes billable volumetric weight across ocean, air, and parcel shipping.
Container loading calculator (cartons per container)
Runs in your browser; nothing you enter is sent anywhere. Carrier figures differ, so confirm the final numbers with your forwarder. Whole shipment: all-in-one freight calculator →
Why master carton dimensions dictate freight costs more than total CBM
Total cubic meters (CBM) measures raw box volume, but ocean, air, and road freight providers charge based on container usage, pallet footprint, or billable dimensional weight. Because cargo holds are loaded with rigid, rectangular boxes, two master cartons with identical total CBM values can yield vastly different total unit counts when loaded into a container. Any leftover space along the container length, width, or height that is narrower than a single box dimension becomes unfillable, wasted volume known as broken stowage.

You can calculate how many cartons fit into an ocean container. First, divide the usable interior dimensions by the outer master carton dimensions. Then, round down to the nearest whole integer. Do this for any given orientation.
- Cartons along length: floor(usable container length ÷ outer carton length)
- Cartons across width: floor(usable container width ÷ outer carton width)
- Tiers along height: floor(usable container height ÷ outer carton height)
- Total carton capacity: cartons along length × cartons across width × tiers
The mathematical function "floor" means round fractional carton fits down. Round them to the nearest whole box. For example, 15 cm of empty space across a container width. This yields the same total box count as 1 cm. However, that missing 14 cm could allow an additional row. This is possible if you adjust master box dimensions by millimeters. To reduce shipping volume, test every orientation allowed by product structural limits. This reveals the layout that maximizes cargo density.
Container interior dimensions and clearance allowances
Standard shipping containers have fixed interior dimensions. Therefore, compare your master box dimensions against standard equipment limits. Also, subtract a safety margin. This accounts for loading tolerances. It also accounts for structural box expansion.

| Container type | Inside length (mm) | Inside width (mm) | Inside height (mm) | Nominal volume (m³) |
|---|---|---|---|---|
| 20ft standard | 5,900 | 2,352 | 2,395 | 33.2 |
| 40ft standard | 12,032 | 2,352 | 2,395 | 67.7 |
| 40ft high cube | 12,032 | 2,350 | 2,700 | 76.3 |
Dimensions in this table reflect standard published specifications from global ocean carriers. However, minor dimensional variances occur across equipment fleets. Because of this, operational clearance margins are essential during carton design. See shipping container dimensions for broader carrier ranges.
Accounting for loading clearance and corrugated box expansion
Corrugated carton walls flex and bulge outward when stacked under weight. This expands outer dimensions by 3 to 8 mm per box. Additionally, structural features restrict usable space. These include door frame headers, corner castings, and interior wall ridges. Forwarder loading guidelines recommend deducting 20 to 30 mm from interior container width. This allows for corrugated box flex. They also suggest deducting 50 to 100 mm from interior height. This ensures clearance past the upper door frame header during manual loading.
Applying an operational allowance of 30 mm off interior width and 100 mm off interior height establishes realistic usable space: 12,032 × 2,320 × 2,600 mm for a 40ft high cube container, and 5,900 × 2,322 × 2,295 mm for a 20ft standard container. Failing to account for this clearance can leave top tiers unable to clear the door header or cause side walls to jam during loading.
Step-by-step process for optimizing master carton dimensions
- Establish primary product dimensions: You should measure the exact width, length, and height of your individual product. This includes any retail package. Also measure primary protective polybags, header cards, or blister packs.
- Model multiple unit pack arrangements: Calculate master box configurations. Vary how you arrange primary units inside. For example, pack 24 retail units as 2 × 2 × 6. You could also pack them as 1 × 4 × 6. Another option is 2 × 3 × 4.
- Add corrugated board thickness: You must include the caliper allowance for box board wall thickness. This is typically 5 to 10 mm per axis. It depends on single-wall or double-wall fluting. This helps you determine total outer master carton dimensions.
- Calculate container grid yield across all orientations: Divide usable container dimensions by master carton dimensions. Do this for every allowable resting orientation. For example, these include upright, side, or end loading.
- Verify payload weight limits: Multiply the total master carton count by the single-carton gross weight. This confirms cargo remains within ocean container payload caps. It also confirms local road weight regulations.
- Test structural stacking strength: Ensure your chosen carton geometry supports the vertical load of full container stacking. This prevents lower-tier carton crushing. It also stops wall bowing.
Worked example 1: testing three carton layouts for 24 retail units
Suppose a retail package measures 20 × 15 × 10 cm (200 × 150 × 100 mm). You pack 24 units per master carton. Add 10 mm to each axis. This accounts for double-wall corrugated board thickness and internal clearance. As a result, three arrangement options produce distinct master carton footprints.

- Layout A (2 × 2 × 6 units): 410 × 310 × 610 mm
- Next, Layout B (1 × 4 × 6 units): 610 × 610 × 210 mm
- Layout C (2 × 3 × 4 units): 410 × 460 × 410 mm
Each layout maintains approximately 0.078 m³ in volume per master carton. However, grid packing efficiency varies significantly. This occurs inside a 40ft high cube container. It has a usable space of 12,032 × 2,320 × 2,600 mm.
- Layout A: 12,032 ÷ 410 = 29; 2,320 ÷ 310 = 7; 2,600 ÷ 610 = 4. Total = 29 × 7 × 4 = 812 cartons.
- Layout B: 12,032 ÷ 610 = 19; 2,320 ÷ 610 = 3; 2,600 ÷ 210 = 12. Total = 19 × 3 × 12 = 684 cartons (or 19 × 11 × 4 = 836 cartons when oriented on edge).
- Layout C: 12,032 ÷ 410 = 29; 2,320 ÷ 460 = 5; 2,600 ÷ 410 = 6. Total = 29 × 5 × 6 = 870 cartons.
| Layout | Outer carton (mm) | Cartons in 40ft HC | Units in 40ft HC | Cartons in 20ft std |
|---|---|---|---|---|
| Layout A | 410 × 310 × 610 | 812 | 19,488 | 315 |
| Layout B | 610 × 610 × 210 | 836 | 20,064 | 297 |
| Layout C | 410 × 460 × 410 | 870 | 20,880 | 350 |
A 20ft container has usable space. This space measures 5,900 x 2,322 x 2,295 mm. Layout C fits 350 cartons in this space. However, Layout B fits only 297 cartons. Switching from Layout A to Layout C increases product yield. It adds 1,392 units per 40ft high cube container. This change does not alter total product packaging volume. Also, it keeps the unit count per box the same.
Always verify cargo weight. You must check it alongside volume calculations. For example, a master box of Layout C weighs 22 kg. Therefore, 870 cartons yield 19,140 kg. This weight stays within the maximum payload capacity. A 40ft high cube container can hold 28,600 kg.
Worked example 2: the financial cost of an oversized carton
A standard outer carton measures 60 x 40 x 30 cm. On paper, it fits 900 units into a 40ft high cube container. This uses nominal dimensions: 12,032 ÷ 600 = 20; 2,350 ÷ 400 = 5; 2,700 ÷ 300 = 9. So, 20 x 5 x 9 = 900 cartons. Adding just 2 cm to each side for void fill changes the size. It becomes a 62 x 42 x 32 cm carton. As a result, container yields dramatically reduce.

- 12,032 ÷ 620 = 19 cartons along length
- 2,350 ÷ 420 = 5 cartons across width
- 2,700 ÷ 320 = 8 tiers along height
- 19 × 5 × 8 = 760 cartons total
Rotating the oversized box on its side (620 × 320 × 420 mm) yields 19 × 7 × 6 = 798 cartons, which still forfeits 102 cartons compared to right-sized packaging.
Eliminating void space and choosing corrugated materials
You must reduce outer carton dimensions. This requires eliminating empty space. Remove it from inside the primary and master packaging. Also, select material profiles carefully. They must maximize strength without adding thickness.

- Measure raw goods directly: Base inner box design on physical measurements of assembled goods rather than historical supplier box sizes. Unused void inside primary retail boxes multiplies across master cartons and shipping containers.
- Select appropriate corrugated fluting: Board fluting significantly impacts outer carton dimensions. B-flute corrugated board (approx. 3.0 mm thickness) offers high crush resistance with thinner walls than C-flute (approx. 4.0 mm). Replacing C-flute with B-flute or micro-flute combinations can trim up to 2 cm off master carton dimensions across bundled rows.
- Right-size interior void fill: Replace loose foam or bulky air pillows. Instead, use custom die-cut cardboard inserts. You can also use tightly folded paper dunnage. This shrinks outer box dimensions. It helps them match exact product contours.
- Assess compression strength and Edge Crush Test (ECT) ratings: Ensure smaller cartons have adequate ECT ratings. This prevents bottom-tier box deformation during ocean transit when stacked in higher vertical tiers. Also, high-humidity container environments reduce cardboard box strength by up to 30%. Therefore, proper paper grade selection is vital.
palletized vs. floor-loaded to reduce shipping volume
Cartons shipped on pallets move quickly through warehouses and container yards. However, they sacrifice freight volume inside containers. For example, standard pallets consume 100 to 150 mm of vertical container clearance per tier. This includes 1,200 × 1,000 mm ISO/GMA pallets or 1,200 × 800 mm Euro pallets. They also create void gaps along container side walls.

Additionally, master cartons create overhang or underhang. This happens when you design them without pallet footprint dimensions in mind. Underhang leaves open perimeter gaps. These gaps reduce pallet utilization. They also allow cargo movement during transit. Floor-loaded cartons eliminate pallet volume penalties entirely. This maximizes cargo volume. However, they incur higher manual labor costs. They also require longer loading times at destination ports. You can evaluate labor trade-offs against freight savings. Analyze how floor loading impacts handling speed using a Dimensional Weight Calculator: FedEx, UPS, Usps and DHL Rules Compared.
Express parcel courier shipments and dimensional weight
Parcel carriers like FedEx, UPS, and DHL compute freight costs. They use dimensional weight (DIM weight). This happens whenever volumetric weight exceeds actual gross weight. Courier billing formulas divide cubic box volume by a standard volumetric divisor. For instance, use 5,000 for metric international shipments. Use 139 for imperial domestic US shipments.

- 40 × 30 × 30 cm box: 36,000 cm³ ÷ 5,000 = 7.2 kg billable weight
- 36 × 28 × 25 cm box: 25,200 cm³ ÷ 5,000 = 5.04 kg billable weight
Actual product weight is 3.0 kg. Trim box dimensions by a few centimeters. This cuts billable weight by 2.16 kg per parcel. Major parcel carriers round up each box dimension. They round to the nearest whole inch or centimeter. This happens before applying volumetric divisors. For example, 20.1 cm rounds up to 21 cm. Precise trim adjustments are highly effective. Tight carton folding also helps. These actions reduce e-commerce parcel shipping charges. They also help to reduce shipping volume. For detailed parcel packing strategies, see How to Calculate Landed Cost (Freight, Duty, VAT and Fees).
When carton size reduction does not lower freight costs
Optimizing master carton geometry delivers the greatest financial return for lightweight, bulky products (high volume-to-weight ratio). Shrinking master cartons may not generate net savings under the following conditions:

- Heavy or dense cargo: If cargo weight hits the maximum container payload limit, you have a weight-out condition. In this case, reducing carton volume does not lower ocean or road freight costs. Always calculate gross shipment weight. Do this before re-engineering carton dimensions for heavy goods.
- High packaging minimum order quantities (MOQs): Ordering custom-sized cartons in small production runs can result in higher fees. For example, packaging supplier tooling fees and per-unit box costs may increase. As a result, these costs can outweigh freight savings.
- Increased product damage risk: Removing protective cushioning around fragile goods increases transit damage claims. This applies to glass or precision electronics. Such claims easily offset transport savings.
- Fixed retail display or pallet standards: Distribution centers often enforce strict master carton footprint limits. They also have standard shelf-ready packaging dimensions. These restrictions limit custom box sizes.
Frequently asked questions
What carton size fits a 40ft container best?
No single outer dimension best fits every cargo type. Optimal box size depends on product geometry and stacking limits. You can divide usable container length, width, and height by outer box dimensions. For example, a 40ft high cube offers 12,032 × 2,320 × 2,600 mm. This reveals the maximum grid yield. A 60 × 40 × 30 cm outer carton fits up to 900 units. It fits in a 40ft high cube container when properly floor-loaded.
How much shipping volume can optimized carton design save?
You can align box dimensions with container or pallet footprint constraints. As a result, shippers fit hundreds of additional product units into every ocean container. This does not increase freight fees.
Does reducing carton size always lower freight cost?
Not always. You may reach maximum container payload weight limits. This can happen before cargo fills the total volume. Then, weight governs freight costs. It does not depend on cubic space. Also, freight savings are negated. This occurs if custom carton tooling costs exceed transport reductions. Savings are also lost if reduced cushioning damages products.
Should I leave space inside the container on purpose?
Yes, you should deduct an operational clearance margin. Deduct 20 to 30 mm off container width. Also, deduct 50 to 100 mm off door height. This accounts for wall flex, corner castings, and manual loading tolerances. Leaving zero clearance often leads to stuck cartons. Also, top tiers may fail to clear the door header.
Related guides
- How Many CBM in a 20ft Container? Inside vs Usable Volume
- 45ft High Cube Container: Dimensions, Capacity and Uses
- Broken Stowage: Why You Cannot Use a Container’s Full Volume
- Carton CBM Calculator: CBM for Multiple Carton Sizes
Sources and further reading
- Hapag-Lloyd: 40′ High Cube Container: Standard container dimensions, payload limits, and volume specs.
- Mighty Shipping: Container Sizes and Load Calculation: Freight forwarder guidelines for container floor loading calculations.
- FedEx: What Is Dimensional Weight?: Courier volumetric calculation standards and rounding rules.
