How to use this calculator
- Choose US customary or metric measurements.
- Enter the length, width, and height or depth of a rectangular section.
- Add sections for separate rectangular volumes.
- Calculate the combined cubic-foot volume and conversions.
How the calculation works
Each section is treated as a rectangular prism. Length, width, and height are converted to feet, multiplied, and then added. The combined cubic-foot result is converted to cubic inches, cubic yards, and cubic meters.
Formula
Section volume = length × width × height Total cubic feet = section 1 + section 2 + … Cubic yards = cubic feet ÷ 27
Worked example
A 10 ft × 5 ft × 2 ft rectangular space contains 100 cubic feet, approximately 3.70 cubic yards or 2.83 cubic meters.
Examples of rectangular volumes
| Space | Cubic feet | Cubic yards |
|---|---|---|
| 10 ft × 10 ft × 6 in | 50.00 | 1.85 |
| 20 ft × 3 ft × 2 ft trench | 120.00 | 4.44 |
| 8 ft × 4 ft × 1 ft bed | 32.00 | 1.19 |
| 4 ft × 4 ft × 4 ft crate | 64.00 | 2.37 |
Second scenario: an excavation made of two pieces
A shed base is dug 12 ft by 10 ft and 6 inches deep, and a 2 ft by 4 ft area is dug 1 foot deep for a drain sump. The first is 12 × 10 × 0.5 = 60 cubic feet, and the second is 2 × 4 × 1 = 8, so the total is 68 cubic feet. That is 2.52 cubic yards, or 1.93 cubic meters. Enter them as two sections rather than one box with an average depth.
Liquids and other units
A US gallon is 231 cubic inches, so one cubic foot of space holds about 7.48 gallons. A tank that measures 4 ft by 2 ft by 2 ft is 16 cubic feet, or about 119.7 gallons. This is useful for water in a form or a basin, but it is not a measure of weight. Water, soil, and concrete all have different densities, so volume alone tells you nothing about the load on a trailer.
Digging and hauling
- Loosened soil takes up more room than it did in the ground, so the amount you haul can exceed the volume of the hole. This page reports the geometric volume only.
- Fill that is compacted ends up in less volume than it had when poured, so the amount to buy is larger than the space.
- Before you dig, contact 811 so buried utilities are marked. It is a free national service.
Common unit mistakes
The most frequent error is mixing units, such as a depth in inches with a length in feet. Divide inches by 12 first, or use the inches field. The second is confusing cubic and square units, which results in an answer off by the depth. The third is reading cubic feet as cubic yards when a supplier quotes a price per yard. Always divide by 27 for yards. If a measurement is not a rectangle, break the space into rectangular sections or use the cylinder-based pages for round shapes.
Project considerations
- This calculator measures rectangular geometric volume only.
- It does not add waste, compaction, settlement, or material-specific purchasing assumptions.
- Use the Cubic Yard Calculator when bulk cubic-yard planning is the primary task.
Frequently asked questions
How many cubic feet are in a cubic yard?
One cubic yard contains exactly 27 cubic feet.
Can separate spaces be combined?
Yes. Add each rectangular section and the calculator will total their volumes.
References
Published sources for context. They are not used in the calculation.