Cubic feet calculator

A box 4 ft long, 3 ft wide and 2 ft high holds 24 cubic feet, which is 0.89 cubic yards or 179.5 gallons.

24 cubic feet
0.89 cubic yards
Cubic yards0.89
Cubic inches41,472
Gallons179.5
Liters680
Cubic meters0.68

How it was worked out

4 ft × 3 ft × 2 ft = 24 cu ft

24 cu ft ÷ 27 = 0.89 cu yd

The formula

Cubic feet = length (ft) × width (ft) × height (ft)

With every measurement in inches: length × width × height ÷ 1,728

4 ft × 3 ft × 2 ft = 24 cu ft

24 cu ft ÷ 27 = 0.89 cu yd

A cubic foot is 1,728 cubic inches, about 7.48 US gallons or 28.3 liters, and 27 cubic feet make a cubic yard. For a cylinder such as a tank or a round planter, the volume is π × (diameter ÷ 2)² × height.

Filling raised beds with bagged soil

Bagged soil and mulch are sold in cubic feet, so this is where cubic feet matter most. Bag counts are rounded up.

Soil to fill a raised bed
Raised bedCu ftCu yd1 cu ft bags1.5 cu ft bags2 cu ft bags
2 × 4 ft, 10 in deep6.70.25754
3 × 6 ft, 12 in deep180.6718129
4 × 4 ft, 12 in deep160.5916118
4 × 8 ft, 10 in deep26.70.99271814
4 × 8 ft, 12 in deep321.19322216
4 × 8 ft, 18 in deep481.78483224
4 × 12 ft, 12 in deep481.78483224

New soil settles after watering, so many gardeners fill a little over the top or top up after the first few weeks. Past about a cubic yard (27 cu ft), a bulk delivery usually costs less per yard than bags; the topsoil calculator works in yards.

Cubic feet in concrete and gravel

Concrete mix and bagged gravel are also labeled by cubic feet: an 80 lb bag of concrete mix makes about 0.6 cu ft, and a 50 lb bag of gravel or sand holds about 0.5 cu ft. Divide the cubic feet you need by the bag's yield and round up.