The number of mattresses that fit into a 40HQ (40-foot high-cube) container is not a fixed figure. Instead, it depends on the precise outer dimensions and gross weight of the packaged mattresses, the specific internal measurements and payload capacity of the container you book, and the loading plan that accounts for stacking, orientation, and securing the cargo. To get an accurate estimate, you'll need to gather specific measurements and apply a systematic calculation, rather than relying on a general number.
What determines the number of mattresses in a 40HQ?
The actual number of mattresses you can load into a 40HQ container is primarily governed by the physical dimensions of the packaged product and the container itself, along with weight limits and practical loading considerations. A 40HQ container offers a larger internal volume compared to a standard 40-foot container, typically around 76 cubic metres (m3), with internal dimensions of approximately 12,032 mm in length, 2,350 mm in width, and 2,695 mm in height. However, the usable space can be less due to door clearances and the need for securing cargo.
Different mattress types and constructions, such as those with foam, springs, or edge support, will influence how they can be compressed and packed. For instance, roll-packed mattresses generally occupy less volume than flat-packed ones, allowing for a higher count per container. However, the exact reduction in volume depends on the specific mattress design and the compression method used.
Packed size matters more than mattress size
When calculating container capacity, the critical measurements are the outer dimensions of the sealed package, not the nominal mattress size. These include the carton's length, width, and height, along with its gross weight. It's also important to know how many mattresses are contained within each individual carton.
For example, a UK King size mattress might have nominal dimensions of 150 x 200 cm, but its packed carton could be significantly smaller if roll-packed, or larger if flat-packed. Different suppliers' packaging for the same nominal mattress size can vary, so always confirm the actual outer carton dimensions and gross weight.

The measurements and loading rules to collect first
Before you can estimate how many mattresses fit into a 40HQ container, you need to gather precise data about both your packaged product and the container itself. This information forms the basis for any reliable calculation.
Here's a checklist of the key measurements and rules to collect:
- Carton External Dimensions: Record the length, width, and height of the outer carton in centimetres (cm).
- Carton Gross Mass: Note the total weight of each packaged mattress, including all packaging materials, in kilograms (kg).
- Units Per Package: Confirm how many mattresses are contained within each individual carton (typically one for most mattress shipments).
- Intended Order Mix: If you're shipping multiple mattress sizes or types, list the quantities for each SKU.
- Allowable Orientations: Determine which ways the cartons can be safely rotated and stacked (e.g., can they be loaded on their side, or only flat?).
- Stacking Constraints: Identify any limits on how many layers of cartons can be stacked without damaging the product or packaging.
- Pallets: If you plan to use pallets, record their dimensions and height, as this will reduce usable container space.
- Usable Clearances: Account for any necessary gaps for handling, securing cargo, or container irregularities.
- Planned Restraint: Consider what dunnage, strapping, or other securing methods will be used, as these take up space.
- Booked Equipment Dimensions: Always use the specific internal dimensions and payload capacity of the container you have booked, as these can vary slightly between shipping lines.
- Loading Mode: Confirm whether the container will be floor-loaded (cartons directly on the container floor) or loaded onto pallets.
AIYI maintains market-specific mattress packaging specifications, covering finished mattress dimensions, carton dimensions, folding methods, and reference weights. For example, our UK mattress specification records include:
- 90 x 190 x 20 cm: 25 x 25 x 98 cm packed size; 13.8 kg reference weight; non-folded roll-pack.
- 150 x 200 x 20 cm: 35 x 35 x 103 cm packed size; 19.68 kg reference weight; folded roll-pack.
- 180 x 200 x 20 cm: 35 x 35 x 103 cm packed size; 22.6 kg reference weight; folded roll-pack.

These dimensions are expressed in centimetres, with one mattress per individual carton assumed for these configurations. These figures come from our internal packaging records and are used for planning. For shipment approval, we verify actual outer-carton L x W x H, gross weight including packaging, dimensional and weight tolerances, units per carton, and permitted loading orientations. Final specifications are documented in an SKU-specific packing specification approved before mass shipment.
Container size, door clearance and payload
While a 40HQ container offers substantial space, it's crucial to distinguish between its overall internal volume and the practical limits imposed by its door opening and payload capacity.
For reference, a 40ft high-cube dry container might have internal dimensions of 12,032 mm x 2,350 mm x 2,695 mm, with a door opening of 2,340 mm x 2,585 mm and a capacity of 76.2 m3. The maximum payload for such a container could be around 28,800 kg. However, these are reference figures and can vary between shipping lines. For example, Maersk publishes a 40ft high-cube steel reference payload of 28,690 kg and a volume of 76.4 m3.

Always check the door opening dimensions separately from the internal height. A carton might fit inside the container, but if it's too tall or wide to pass through the door, it cannot be loaded in that orientation. Furthermore, the carrier and route weight requirements must be confirmed, as the actual allowable cargo mass can be less than the container's maximum payload due to road or vessel weight restrictions.
Calculate a first-pass loading scenario
Once you have your measurements, you can perform a first-pass calculation to estimate the maximum number of mattresses that could geometrically fit into a 40HQ container. This provides a baseline, but it's important to remember that it's a theoretical maximum and doesn't account for all real-world loading complexities.
Here's a step-by-step approach for a uniform-grid calculation:
- Convert all dimensions to a common unit: Ensure both container and carton dimensions are in the same unit, e.g., centimetres.
-
Determine cartons per dimension: For each possible carton orientation (e.g., length-wise, width-wise, height-wise), calculate how many cartons fit along each internal container dimension. Use the
floor()function to round down to the nearest whole number, as you can't load partial cartons.
Cartons_Length = floor(Container_Length / Carton_Length)Cartons_Width = floor(Container_Width / Carton_Width)Cartons_Height = floor(Container_Height / Carton_Height)
- Calculate geometric capacity for each orientation: Multiply the number of cartons that fit along each dimension to find the total geometric capacity for that specific orientation.
Geometric_Capacity = Cartons_Length x Cartons_Width x Cartons_Height
- Identify the best uniform-grid case: Repeat steps 2 and 3 for all permitted carton orientations and select the orientation that yields the highest geometric capacity. This is your geometric baseline.
- Calculate weight capacity: Determine the maximum number of cartons based on the container's payload limit and the gross weight of each carton.
Weight_Capacity = floor(Allowed_Cargo_Mass / Carton_Gross_Mass)
- Find the minimum count: The first-pass estimated count is the minimum of the geometric capacity, the weight capacity, and the total number of units available in your order.
Estimated_Count = min(Geometric_Capacity, Weight_Capacity, Units_Available)
-
Account for units per carton: If each carton contains more than one mattress, multiply the
Estimated_Countby theUnits_Per_Cartonto get the total number of mattresses.

This method assumes a uniform grid, meaning all cartons are loaded in the same orientation. It provides a useful starting point but doesn't guarantee a feasible load plan.
A worked example using hypothetical carton data
Let's illustrate this with a hypothetical scenario:
- Container Internal Dimensions: 1203.2 cm (length) x 235 cm (width) x 269.5 cm (height)
- Carton Dimensions: 100 cm (length) x 30 cm (width) x 30 cm (height)
- Carton Gross Mass: 18 kg
- Units Per Carton: 1 mattress
- Allowed Cargo Mass (Payload): 28,800 kg
Step 1: Calculate cartons per dimension for one orientation (100L x 30W x 30H)
- Along length:
floor(1203.2 / 100) = 12cartons - Along width:
floor(235 / 30) = 7cartons - Along height:
floor(269.5 / 30) = 8cartons
Step 2: Calculate geometric capacity for this orientation
-
12 x 7 x 8 = 672cartons
Step 3: Calculate total weight for this orientation
672 cartons x 18 kg/carton = 12,096 kg
Step 4: Check against weight capacity
- Since 12,096 kg is less than the 28,800 kg payload limit, the geometric fit is the limiting factor in this specific orientation.
In this illustrative example, loading cartons in a 100 cm (length) x 30 cm (width) x 30 cm (height) orientation could yield 672 cartons. However, other allowed orientations (e.g., 30L x 100W x 30H) must be tested to determine the truly optimal geometric fit. This calculation also does not verify stacking strength or carton integrity under load.

Why a CBM-only estimate can mislead
It's tempting to simply divide the container's total cubic volume (CBM) by the volume of a single carton to estimate capacity. For example, if a 40HQ is 76 m3 and a carton is 0.1 m3, a simple division would suggest 760 cartons. However, this approach can be highly misleading.
A pure volume estimate, based solely on cubic metres, does not account for the physical reality of fitting rectangular objects into a container. Dimensions must fit in whole counts, which often leaves unusable gaps. These gaps occur because cartons cannot be cut or reshaped to perfectly fill every void. Therefore, a CBM-only estimate often results in a higher number than what is practically achievable with a uniform-grid loading plan. The actual number of cartons that can be loaded is limited by how many whole units fit along each dimension, creating a more realistic, albeit often lower, count.

Adjust the scenario for actual loading
A first-pass geometric calculation provides a useful starting point, but it's crucial to adjust this theoretical maximum for the practical realities of loading a container. Treating uniform-grid or CBM results as provisional planning cases, not a confirmed bookable load, is the default position when budgeting. This applies when packaging data are measured and a basic costing scenario is needed.
The situation changes when mixed cartons, pallets, stacking limits, door clearance, or route restrictions apply.
Before finalising your order and booking freight, consider these additional factors:
- Stacking and Crush Limits: Review the maximum number of layers your cartons can be stacked without damaging the mattresses inside. Roll-packed mattresses, in particular, need careful consideration of their recovery properties after compression.
- Pallet Footprint: If using pallets, their dimensions and height will reduce the usable internal volume and height of the container.
- Door Sequence and Handling Space: Plan the loading sequence to ensure cartons can be moved into position. You'll need space for loaders to manoeuvre, and the last items loaded must fit through the door opening.
- Restraining Space: Allocate space for dunnage, airbags, or strapping to secure the cargo and prevent shifting during transit. The IMO/ILO/UNECE CTU Code provides non-mandatory global guidance on safe packing, handling, and securing of cargo transport units.
- Gross Weight Distribution: Ensure the total weight of the cargo is evenly distributed across the container floor and does not exceed axle load limits for road transport.
- Road and Sea Constraints: Confirm any specific weight or dimension restrictions imposed by the shipping line, port authorities, or road transport regulations for your destination.
Verification is needed through an actual loading drawing and test, a safe stacking and restraint method, and confirmation of booked equipment and route payload.
Mixed sizes need a loading plan, not just a sum
When shipping a mix of different mattress sizes or types, simply adding up the individual maximums for each SKU will not give you an accurate container count. Mixed loads require a dedicated loading plan.
For each SKU in your mixed order, you'll need to collect:
- Per-SKU dimensions: Outer carton length, width, and height.
- Gross masses: Weight of each packaged SKU.
- Quantities: The number of units for each SKU.
- Rotation permissions: Which orientations are allowed for each SKU.
Combining different carton sizes efficiently is a complex task that often requires specialised load planning software or manual layout diagrams. The goal is to minimise void space while ensuring stability and preventing damage. This process requires layout and sequence validation for mixed cartons, rather than just a simple sum of individual capacities.

Turn the result into an order and freight scenario
After performing your calculations and considering practical loading adjustments, you'll have a more realistic estimate of how many mattresses can fit into a 40HQ container. This allows you to develop a robust order and freight scenario.
Use a clearly labelled conservative, supplier-checkable scenario when budgeting; finalise the unit count only after load-plan validation. This applies when a supplier provides measured pack data and commercial freight assumptions. The situation changes if the order mix, pack format, cargo restrictions, or freight pricing changes.
Your scenario outputs should clearly show:
- Assumed pieces: The estimated number of mattresses that can be loaded.
- Utilisation: The percentage of container volume or weight capacity used.
- Gross mass: The total weight of the loaded cargo.
- Remaining order pieces: If your order exceeds one container's capacity.
- Containers required: The total number of 40HQ containers needed for your order.
This allows you to calculate an illustrative freight cost per mattress. For example, if the total quoted freight cost for a 40HQ container is USD 3,000, and you can confirm loading 500 mattresses, the illustrative freight allocation would be USD 6.00 per mattress. This helps in understanding your landed costs, but remember that this is a cost-allocation example and not a guarantee of the actual loading arrangement.
AIYI can structure a 40HQ loading case around the actual mattress mix, packing specifications, loading forecast, and approved shipping quantity, subject to customer permission and verification of historical shipment records.
For instance, a hypothetical UK-market order of 500 mattresses (200 units of 90 x 190 x 20 cm, 200 units of 150 x 200 x 20 cm, and 100 units of 180 x 200 x 20 cm) might have an estimated packed carton volume of approximately 47.2 m3.
If all 500 mattresses are confirmed loadable and shipped in one 40HQ container with an assumed total freight cost of USD 3,000, the illustrative freight allocation would be USD 6.00 per mattress. This is an example of how we can help allocate costs, but physical loading must account for carton orientation, usable container dimensions, stacking strength, weight distribution, loading access, and securing requirements.

Before committing to an order, always request final carton specifications and a written stuffing plan from your supplier. This ensures that the estimated count is validated against a feasible and safe loading arrangement. Verification is needed through approved pack dimensions by SKU, a supplier load plan and actual loading trial, carrier and forwarder allowances, and a written freight quotation.
In short, while a preliminary estimate of mattresses per 40HQ container is useful for budgeting, the final, confirmed number depends on a detailed loading plan that accounts for all physical and practical constraints. Always verify packaging specifications and request a comprehensive loading plan from your supplier before finalising your order and freight arrangements.
0 comments