Cubic Feet Calculator
A cubic feet calculator works out the volume of a space or material from its length, width and height. Contractors and gardeners use it to order mulch, soil, gravel and concrete in the right amounts. Enter the measurements and it converts the result into cubic yards, gallons and cubic meters too.
How to use it
- Pick a shape: box for beds, slabs and rooms, or cylinder for post holes, tanks and planters.
- Measure length, width and height in feet, converting any inches by dividing by 12.
- Enter the numbers and press calculate.
- Read the volume in cubic feet, plus cubic yards, gallons and cubic meters.
- For bagged material, divide the cubic feet by the bag size to get the number of bags.
How the math works
For a box or rectangular space, volume is length × width × height, all in feet. A cylinder uses π × r² × h, where r is the radius, half the width across. Keeping every measurement in feet is what makes the answer come out in cubic feet.
Conversions follow fixed ratios: divide cubic feet by 27 for cubic yards, multiply by 7.48052 for US gallons, and by 0.0283168 for cubic meters. If your tape reads inches, divide each measurement by 12 first, or divide the total cubic inches by 1,728.
Worked example
Frequently asked questions
How many cubic feet are in a cubic yard?
Exactly 27. A cubic yard is a cube 3 ft on each side, and 3 × 3 × 3 = 27. Divide any cubic feet figure by 27 to get cubic yards, which is how bulk mulch, soil and concrete are usually sold.
How do I measure a room or garden bed for cubic feet?
Measure the length and width at the widest points, then the depth or height you plan to fill. For a garden bed, depth is how deep the soil or mulch layer will sit, often 0.25 to 0.5 ft. Multiply all three numbers, keeping everything in feet.
How many bags of mulch do I need for a bed?
Divide the total cubic feet by the bag size. Standard mulch bags hold 2 cu ft, so a 160 cu ft bed needs 80 bags. Larger 3 cu ft bags would need 54. Buying in bulk by the cubic yard is usually cheaper once you pass a few dozen bags.
What is the difference between cubic feet and square feet?
Square feet measure flat area, length × width, and cubic feet measure volume, length × width × height. A floor can be 80 square feet while the room above it holds hundreds of cubic feet of air. Material sold by volume, like mulch, always needs the third measurement: depth.
How do I convert inches to cubic feet?
Divide each dimension in inches by 12 to get feet, then multiply. Or multiply the inches together and divide the total by 1,728, the number of cubic inches in a cubic foot. A 24 × 18 × 12 inch box is 5,184 cubic inches, which is 3 cubic feet.