dailyfigs

Cubic feet calculator

A box 24 × 18 × 18 in is 4.5 cubic feet (33.66 US gallons, or 127.43 litres).

Measure in inches, feet, yards, centimetres or metres. Unit conversions are exact, from NIST Handbook 44. Checked 6 December 2026. Sources

Use the same unit for every measurement.

What shape is it?

The width across the circle.

For a cylinder lying on its side, its length.

Your volume

Box, measured in inches

Cubic inches
7,776
Cubic yards
0.167
US gallons
33.66
Litres
127.43
Cubic metres
0.1274
Cubic feet4.5

Measure inside a box, tank or room for the space it holds, and outside for the space it takes up.

How this is worked out

  1. Volume: 24 × 18 × 18 in = 7,776 cu in.
  2. Cubic feet: 7,776 ÷ 1,728 cubic inches per cubic foot = 4.5 cu ft.
  3. Gallons: 4.5 × 1,728 ÷ 231 cubic inches per gallon = 33.66 US gallons.
  4. Litres: 4.5 × 28.316846592 = 127.43 L. Cubic yards: 4.5 ÷ 27 = 0.167 cu yd.

Cubic feet of common box sizes

Box sizes are length × width × height in inches. Multiply them and divide by 1,728, the cubic inches in a cubic foot.

Box volume
Box, inchesCubic feetLitres
12 × 12 × 12128.3
16 × 12 × 121.3337.8
18 × 14 × 121.7549.6
18 × 18 × 16385
24 × 18 × 184.50127.4
24 × 18 × 246169.9
24 × 24 × 248226.5

Cubic feet to gallons and litres

Cubic feet converted
Cubic feetUS gallonsLitres
17.4828.32
214.9656.63
537.40141.58
1074.81283.17
20149.61566.34
50374.031,415.84
100748.052,831.68

Rooms and tanks

A room 12 × 12 ft with an 8 ft ceiling is 12 × 12 × 8 = 1,152 cubic feet. A round tank 24 inches across and 48 inches high is π × 12² × 48 = 21,715 cubic inches: 12.57 cubic feet, or 94 US gallons.

The conversions

Questions

How do I calculate cubic feet?

Multiply length × width × height in feet. If you measured in inches, multiply the inches and divide by 1,728.

How many cubic feet is a 24 × 18 × 18 inch box?

24 × 18 × 18 = 7,776 cubic inches, and 7,776 ÷ 1,728 = 4.50 cubic feet.

How many gallons are in a cubic foot?

7.48 US gallons. A gallon is 231 cubic inches and a cubic foot is 1,728.

How many cubic feet are in a cubic yard?

27: a cubic yard is 3 feet on each side, and 3 × 3 × 3 = 27.

Sources

Checked on 6 December 2026. If a figure here differs from the official page, the official page is right; please tell us.