Things in things

How many ping-pong balls fit in a 40-ft shipping container?

About 1.3 million.

That is a modelled estimate using 40 mm regulation table-tennis balls, a representative 67.7 m³ standard 40-ft container, and a dense-disordered sphere-packing benchmark of about 64%. It is not a literal loading specification.

Approximate modelled estimate

Why this is interesting

Dividing the container volume by the volume of one ball gives an answer of about 2 million balls.

But that answer quietly assumes something impossible: that spheres can fill every bit of space. They can't.

Round objects leave gaps between them. Once those gaps are included, our estimate drops to about 1.3 million balls.

The missing 700,000-or-so ball volumes are a reminder that having enough volume is not the same as being able to pack something into that volume.

How this measurement works

A regulation table-tennis ball has a diameter of 40 mm, so its radius is 20 mm. The volume of a sphere is V = 4/3 × π × r³, which gives one ball a geometric volume of approximately 33.51 cm³.

Our representative container holds 67.7 m³ = 67,700,000 cm³. If spheres could fill space perfectly, that would be 67,700,000 ÷ 33.51 ≈ 2.02 million ball volumes.

But a dense disordered collection of equal spheres occupies only about 64% of the available volume. So 2.02 million × 0.64 ≈ 1.29 million — rounded appropriately, about 1.3 million ping-pong balls.

Packing them neatly changes the answer

The densest possible packing of identical spheres in unbounded space occupies about 74.05% of the available volume rather than about 64%.

Applied as an idealized comparison to the same container volume, that would correspond to roughly 1.50 million balls. That does not mean 1.50 million balls literally fit in this particular rectangular container: walls and finite dimensions matter.

It shows something more interesting: how you arrange objects changes how much fits.

See the math

Ball diameter
40 mmSource value
Ball radius
20 mm = 2 cmCalculated
Volume of one ball
4/3 × π × 2³ ≈ 33.51 cm³Calculated
Reference container volume
67.7 m³ = 67,700,000 cm³Reference value
Representative, not universal
Pure volume ratio
67,700,000 ÷ 33.51 ≈ 2.02 millionCalculated
Dense-disordered packing model
≈0.64Modelling assumption
A modelling benchmark, not a constant
Estimated packed count
2.02 million × 0.64 ≈ 1.29 millionCalculated
Published answer
≈1.3 millionResult

How certain is this?

Modelled / approximate. The ball diameter is standardized. The 67.7 m³ container is a representative real-world specification. The 0.64 packing fraction is a scientific modelling benchmark. A real count would depend on the exact container, ball tolerances, wall effects, friction and how the balls were loaded and settled.

Dense random packing fraction applied to a reference container interior volume.

Sources & further reading

Follow this rabbit hole

Related reading

Keep going