Each measurement can use its own unit — feet for length and inches for depth is the most common case. You can also convert a known volume between cubic yards, cubic feet, cubic inches, cubic meters, liters and gallons.
How to use the cubic yard calculator
- Choose a shape: box (slab, bed, room), cylinder, or a known volume to convert.
- Enter each measurement and pick its unit.
- Add more items to sum several spaces; use “How many” for identical ones.
- Read the volume in every unit at once; optionally add extra and a price.
How to calculate cubic yards
Convert all measurements to feet, multiply length × width × depth to get cubic feet, then divide by 27. For example, 10 ft × 10 ft × 4 in is 10 × 10 × 0.333 = 33.3 cu ft, or 1.23 cu yd.
Volume conversions
The calculator shows every unit at once using these exact factors.
| Unit | Cubic feet | Cubic meters |
|---|---|---|
| 1 cubic yard | 27 | 0.7646 |
| 1 cubic foot | 1 | 0.02832 |
| 1 cubic meter | 35.315 | 1 |
| 1 US gallon | 0.1337 | 0.003785 |
| 1 liter | 0.03531 | 0.001 |
| 1 cubic inch | 0.000579 | 0.0000164 |
Common uses
Cubic yards are how concrete, gravel, mulch, topsoil and sand are sold in the US. For a materials list, bag counts and weight, use the concrete, gravel or mulch calculators, which start from the same volume.
Volume formulas
- Box
length × width × height- Cylinder
π × (diameter ÷ 2)² × height- Cubic yards
cubic feet ÷ 27- Cubic meters
cubic feet × 0.0283168- Liters
cubic meters × 1,000- US gallons
cubic feet × 7.48052
Worked example
- A 10 × 10 ft area, 4 in deep: 4 in = 0.333 ft.
- 10 × 10 × 0.333 = 33.33 cu ft.
- 33.33 ÷ 27 = 1.23 cu yd = 0.94 m³.
Assumptions
- All dimensions are converted with exact definitions (1 in = 2.54 cm, 1 ft = 12 in, 1 yd = 3 ft).
- Gallons are US liquid gallons (231 cu in).
- Cost uses the volume including extra.
Frequently asked questions
How do I calculate cubic yards?
Multiply length × width × depth in feet to get cubic feet, then divide by 27.
How many cubic feet are in a cubic yard?
27 cubic feet (3 ft × 3 ft × 3 ft).
How do I convert cubic feet to cubic meters?
Multiply by 0.0283168, or divide by 35.315.
How do I enter depth in inches?
Choose “in” as the unit for that measurement; the calculator converts it for you.
How many cubic yards is a 10 × 10 slab 4 inches thick?
33.3 cubic feet, which is 1.23 cubic yards.
How many gallons are in a cubic foot?
About 7.48 US gallons.