Cubic Yard Calculator
Type the length, width and depth, each in its own unit. The answer is in cubic yards, the way bulk soil, sand and gravel are sold.
https://flxcode.com/cubic-yard-calculator/
Your own number. Nothing is added unless you type one.
Example Box
cubic yards
The formula with your numbers
12 ft = 12 ft, 12 ft = 12 ft, 4 in = 0.333333 ft
cubic feet = length × width × height
12 × 12 × 0.333333 = 48 cu ft
cubic yards = cubic feet / 27
48 / 27 = 1.77778 cu yd
The same volume in other units
| Cubic feet | 48 |
|---|---|
| Cubic meters | 1.35921 |
| Liters | 1,359.21 |
One cubic yard is 27 cubic feet (3 ft × 3 ft × 3 ft). Ask your supplier for the weight per cubic yard of the material, because it changes a lot between gravel, soil and mulch.
No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it. What this tool keeps and sends.
Problem or idea? Email us
Quick start
- Pick Box for a rectangle or Cylinder for a round area.
- Type the sizes. A depth of 4 in goes beside the inches unit, and a length of 12 ft beside feet.
- Read the cubic yards, then add your own waste percent and a price per yard if you want an order amount and a cost.
Worked examples
These come from the same engine as the tool above.
| What | Cubic feet | Cubic yards |
|---|---|---|
| Patio pad, 12 ft x 12 ft, 4 in deep | 48 | 1.778 |
| Raised bed, 8 ft x 4 ft, 12 in deep | 32 | 1.185 |
| Garden border, 40 ft x 2 ft, 3 in deep | 20 | 0.741 |
| Footing trench, 50 ft x 16 in x 12 in | 66.67 | 2.469 |
| Round fire pit base, 5 ft across, 6 in deep | 9.82 | 0.364 |
| Yard bed in meters, 6 m x 3 m, 10 cm deep | 63.57 | 2.354 |
One cubic yard is a cube 3 ft on each side. The tool gives 27 cubic feet for 1 yd x 1 yd x 1 yd.
The formulas
- Box:
cubic yards = length x width x depth / 27, with every size in feet. - Cylinder:
cubic yards = 3.1416 x radius² x depth / 27. With a diameter, halve it first. - With extra:
order = cubic yards x (1 + waste / 100). - Cost:
order x price per cubic yard.
Before you order
The tool gives the volume of the space. It does not know the material. Loose soil, mulch and gravel settle, compact and spread differently, and suppliers load, weigh and round in their own way. Tell them your length, width and depth and ask what they recommend.
For a specific material, our gravel, mulch and soil calculators add bag counts and their own notes. For small things measured in cubic feet, such as boxes and tanks, use the cubic feet calculator.
Common mistakes
- Using inches for the depth and feet for the rest without changing the unit. 12 x 12 x 4 is 576, and that is not cubic feet.
- Ordering the exact figure. Ground is rarely flat, and the volume of the space is a minimum.
- Mixing up cubic yards and square yards. A pile is cubic. A lawn is square.
- Reading a diameter as a radius. A round bed 6 ft across needs the diameter option.
FAQ
How many cubic feet are in a cubic yard?
There are 27. A yard is 3 ft, and 3 x 3 x 3 = 27. To turn cubic feet into cubic yards, divide by 27. A pad of 48 cu ft is 1.778 cu yd.
How do I get cubic yards from feet and inches?
Change the depth to feet first, or let the tool do it. A pad 12 ft by 12 ft and 4 in deep is 12 x 12 x 0.3333 = 48 cu ft, and 48 / 27 = 1.778 cu yd. Pick feet for length and width and inches for the depth.
Is a "yard of soil" a cubic yard?
Yes. When a supplier sells soil, mulch, sand or gravel by the yard, it means a cubic yard, a cube 3 ft on each side. A square yard is a flat area, and nobody sells a pile by it.
How much extra should I add for waste?
There is no one number. It depends on the material, how level the ground is and how you spread it, so the box is empty until you type your own. The 1.778 cu yd pad with 10% extra is 1.956 cu yd to order.
How much does a cubic yard weigh?
It depends on the material and on how wet it is, so the tool does not guess. Ask your supplier for the weight per cubic yard of what you are buying, then multiply it by the yards you need.
Can I use meters and centimeters?
Yes. Every size has its own unit. A bed 6 m by 3 m and 10 cm deep is 63.6 cu ft, which is 2.35 cu yd. A cubic meter is about 1.308 cu yd.
More from FLXCode
- Cubic Feet CalculatorCubic feet of a box or a cylinder from inches, feet, yards, cm or meters. Also cubic yards, gallons and liters.
- Gravel CalculatorCubic yards, tons and bags of gravel for a driveway, path or bed. Pea gravel, crushed stone, river rock.
- Mulch CalculatorHow many cubic yards or 2 and 3 cu ft bags of mulch a bed needs at the depth you choose.
- Concrete CalculatorCubic yards, premix bags and ready-mix for slabs, footings, columns and steps, with waste included.