Container geometry

How many pallets fit in a 40-foot container?

Transparent layout estimates using selected formats and editable clear dimensions.

Published by Maple Web Group · Substantively checked 26 August 2026
Short answer

The 40-foot label is not enough for a count. Use actual clear internal floor dimensions and test both 90-degree pallet orientations.

WORKING LAYOUT ESTIMATOR

Editable rectangular floor fit

Maximum input: 10,000,000 mm per side.

BEST SIMPLE GRID20 pallets

Straight 20 · Rotated 15 · Theoretical floor use 68%

⌊ space length ÷ pallet length ⌋ × ⌊ space width ÷ pallet width ⌋, with both 90° orientations tested.

Geometric estimate only. Replace the editable example with measured clear dimensions. Doors, obstructions, access, clearance, weight, cargo, restraint and operating rules are not modelled.

Key dimensions and facts

Input
Measured clear internal rectangle
Preset
Named pallet footprint
Results
Straight and rotated grids
Status
Estimate, not loading plan

Market, terminology and context

Container names are nominal. Internal length, width and door opening can vary by type, manufacturer and condition.

Method and calculation

Run the simple whole-grid formula twice. Report both results and the assumptions rather than presenting one unexplained capacity.

Worked example

A rotation can improve count where one side leaves a wide remainder. Equal area alone does not reveal grid efficiency.

What remains variable

Confirm cargo, access, clearance, weight, restraint and carrier requirements with appropriate competent parties.