Floor-loaded, no overhang
Cases sit inside the pallet footprint and pallets sit on the floor: rows two across the 2,350 mm width, with pinwheeled sections (pallets turned against each other) filling the length. That arrangement gives ten in a 20 ft and twenty in a 40 ft.
Maersk internal dimensions
20 ft: 5,896 × 2,350 × 2,393 mm. 40 ft: 12,032 × 2,350 mm, at 2,393 mm high or 2,697 mm for high cube. Other carriers' boxes differ by a few centimeters.
Weight can bind first
A 40 ft container's max payload is about 28,800 kg. Twenty pallets at 1,500 kg each weigh 30,000 kg, over the limit before the floor space runs out. Check payload alongside count.