Cubic Feet Calculator

Free cubic feet calculator

As an Amazon Associate I earn from qualifying purchases.

Cubic feet of a box or a cylinder measured in inches, feet, yards, centimeters or meters, with cubic yards, gallons, liters and bag counts.

Worked example

With these inputs:

ResultValue
Cubic feet32 cu ft
Cubic yards1.19 yd³
U.S. gallons239.4 gal
Bags of 2 cu ft16 bags
Cubic inches55,296 cu in
Liters906.1 L
Cubic meters0.906 m³

NIST Handbook 44, Appendix C: 1 cubic foot = 1,728 cubic inches = 28.317 liters = 7.4805 U.S. gallons, and 27 cubic feet = 1 cubic yard.

How it works

Bagged soil, mulch, gravel and sand are sold in cubic feet, and so are planters, raised beds and storage bins. Enter the three dimensions in any unit — inches, feet, yards, centimeters or meters — for a box, or the diameter and height for a round planter or tube, and the calculator returns cubic feet, cubic inches, cubic yards, gallons, liters and the number of bags to fill it. Conversions use the exact NIST Handbook 44 values.

Frequently asked questions

How do I calculate cubic feet?

Multiply length × width × height with all three in feet. An 8 × 4 ft raised bed 1 ft deep is 8 × 4 × 1 = 32 cubic feet. If you measured in inches, multiply the three numbers and divide by 1,728.

How many cubic feet are in a cubic yard?

27 cubic feet (3 ft × 3 ft × 3 ft). So 32 cubic feet is 32 ÷ 27 = 1.19 cubic yards.

How do I convert inches to cubic feet?

Multiply the three dimensions in inches and divide by 1,728, the number of cubic inches in a cubic foot. A 24 × 18 × 12 in planter holds 5,184 ÷ 1,728 = 3 cubic feet.

How many gallons are in a cubic foot?

7.48 U.S. gallons (NIST: 7.480 519). A 4 × 2 × 1 ft box holds 8 cu ft, or about 59.8 gallons; 1 cu ft is also 28.3 liters.

How many bags of soil do I need for 32 cubic feet?

16 bags of 2 cu ft, 11 bags of 3 cu ft or 32 bags of 1 cu ft. Divide the cubic feet by the bag size printed on the bag and round up.

Need the whole roof at once? The free roofing calculator works out roof area, squares, shingle bundles, underlayment, drip edge, ridge cap and installed cost from one set of measurements.