Calculate how many ball pit balls you need for a square or round pit from its size and ball depth, using standard 7 cm balls or your own ball size.

Use inside floor measurements and the intended ball depth.

Standard ball pit balls are 7 cm (2.75 in); 6–8 cm sizes are also sold. Change it if yours differ.

Packing and purchase options
Blank uses 0.64 as an illustrative bulk-sphere assumption. Real hollow balls, walls and shallow layers change packing.

Blank omits pack calculations.

Provide balls per pack to calculate cost.

Blank omits total mass. No assumed ball mass is used.

Calculator Functions

FunctionWhat it doesWhat it requires
Balls neededFinds how many balls fill a pit to a chosen depthRequires the pit shape, its inside length and width or its diameter, the ball depth and the ball diameter
Depth from ball countFinds how deep a number of balls sits in a pitRequires the pit shape, its inside length and width or its diameter, the number of balls and the ball diameter
Pit size from ball countFinds the pit length or diameter that a number of balls fills to a chosen depthRequires the pit shape, the number of balls, the ball depth, the ball diameter and, for a rectangle, the inside width

The pit is a rectangle or square, or round. The ball diameter starts at 7 cm (2.75 in) and has presets from 6 cm to 8 cm. The ball depth is entered directly or as a wall height and a fill percentage. Optional settings change the packing fraction from 0.64 and add the balls per pack, the price per pack, the mass per ball and, for balls needed, the balls already owned. They add whole packs to buy, cost and total mass to the result.

Ball Pit Formulas

B = A × D × φ ÷ V
BNumber of balls, rounded up to a whole ball
AInside floor area: length × width, or π × diameter² ÷ 4 for a round pit
DBall depth
φPacking fraction, the share of the space the balls fill: 0.64 unless changed [1]
VVolume of one ball, π × ball diameter³ ÷ 6

All lengths are converted to the same unit first. Equal hard spheres poured at random fill between about 55% and 64% of the space they occupy [1], and no arrangement of equal spheres can pass about 74% [2]. The calculator accepts a packing fraction from 0.30 to 0.74.

Balls needed

The main formula applies directly. With 7 cm balls, a 4 ft × 4 ft pit filled 12 in deep takes 1,615 balls, a 120 in × 72 in pit filled 22 in deep takes 11,101, and a round pit or kiddie pool 5 ft across filled 12 in deep takes 1,982. A 1 m × 1 m pit filled 0.5 m deep with larger 10 cm balls takes 612. With a wall height and fill percentage, the depth is the wall height × the percentage ÷ 100. Packs to buy are the balls still needed, after any already owned, divided by the balls per pack and rounded up.

Depth from ball count

D = B × V ÷ (φ × A)

1,000 balls of 7 cm in a 4 ft × 4 ft pit sit about 7.4 in deep.

Pit size from ball count

A = B × V ÷ (φ × D)

A is the floor area the balls can cover. A rectangle’s length is A ÷ width, and a round pit’s diameter is 2 × √(A ÷ Ï€). 2,000 balls of 7 cm at a depth of 12 in cover 1.84 m², which is a pit 4 ft wide and 4.95 ft long.

Limits of This Estimate

  • These estimates are based on the best available data and estimations. The 0.64 packing fraction comes from studies of ideal hard spheres [1], not of hollow plastic play balls.
  • Balls pack less tightly against walls and in shallow layers, so a small pit or a layer only a few balls deep can need fewer balls than the result.
  • The calculator does not set a safe play depth. Follow the age and use instructions of the pit and ball manufacturers.
  • The cost per added inch of depth is a share of the pack price, not a quote.

Sources

  1. Wang, Song, Jin and Makse, Jamming II: Edwards’ statistical mechanics of random packings of hard spheres (Physica A, 2011): randomly packed equal hard spheres fill about 55% to 64% of the space
  2. Hales, An overview of the Kepler conjecture: no arrangement of equal spheres fills more than about 74% of the space