# Cubic Yards Calculator

> Cubic yards calculator for rectangles, cylinders, cone-shaped piles and trenches. Converts to cubic feet, cubic meters, liters and gallons, with cost.

Interactive calculator: https://calculatorsplatform.com/c/cubic-yards/
Category: Home, Construction & DIY Calculators
Calculations run in the browser; inputs can be prefilled through URL parameters and shared with the Share button.

## What is a cubic yard?

A cubic yard is the volume of a cube that measures one yard (3 feet) on every side. Because 3 × 3 × 3 = 27, one cubic yard holds **27 cubic feet**, which is about 0.7646 cubic meters or roughly 202 US gallons. In the United States, bulk landscaping materials such as topsoil, mulch and gravel, as well as ready-mix concrete and excavated dirt, are priced and delivered by the cubic yard — often just called a "yard".

In metric countries the same materials are sold by the cubic meter (in Chinese often simply 方). One cubic meter is about 1.308 cubic yards, so a yard is a little smaller than a cubic meter.

## Volume formulas

Convert every measurement to the same unit first — mixing feet and inches is the most common mistake. Then use the formula for your shape:

| Shape | Volume |
|---|---|
| Rectangular area or box | length × width × depth |
| Cylinder (post hole, column) | π × (diameter ÷ 2)^2 × height |
| Cone (pile of material) | π × (diameter ÷ 2)^2 × height ÷ 3 |
| Trapezoid trench | (top width + bottom width) ÷ 2 × depth × length |

Finally convert the result:

> cubic yards = cubic feet ÷ 27 = cubic meters ÷ 0.764555

The calculator uses exact definitions (1 ft = 0.3048 m, 1 US gallon = 231 in³), so conversions are precise.

## Worked example

Suppose you want to fill a 12 ft × 10 ft area to a depth of 4 inches. Convert the depth to feet first: 4 ÷ 12 = 0.333 ft.

> 12 × 10 × 0.333 = 40 ft³ ÷ 27 = 1.48 yd³

That is about 1.13 m³. At $45 per cubic yard the material costs around $66.67. Suppliers usually sell in half- or quarter-yard steps, so you would order 1.5 yd³.

For a cone-shaped pile 10 ft across and 4 ft high, the volume is π × 5² × 4 ÷ 3 = 104.7 ft³, or 3.88 yd³ — useful for estimating how much is left in a delivered pile.

## Practical tips

Measure depth in several places and use the average; ground is rarely perfectly level. Add 5–10% to the theoretical volume for loose materials that settle or compact, and more for gravel bases that are compacted with a plate compactor. For specific jobs, try the [concrete calculator](https://calculatorsplatform.com/c/concrete/) (with bag counts) or the [mulch, soil and gravel calculator](https://calculatorsplatform.com/c/mulch/) (with bags and tons).

## Frequently asked questions

### How many cubic feet are in a cubic yard?

27 cubic feet, because a cubic yard is 3 ft × 3 ft × 3 ft.

### How do I convert cubic meters to cubic yards?

Multiply cubic meters by 1.30795, or divide by 0.764555. For example 2 m³ = 2.62 yd³.

### How much area does one cubic yard cover?

At 1 inch deep a cubic yard covers 324 ft²; at 3 inches, 108 ft²; at 4 inches, 81 ft². Divide 324 by the depth in inches.

### How many gallons are in a cubic yard?

About 201.97 US gallons, or 764.6 liters.

*Disclaimer: Estimates assume typical product coverage and waste allowances. Always check the manufacturer’s specifications and local building codes, and buy a little extra material.*

## Related calculators

- [Concrete Calculator](https://calculatorsplatform.com/c/concrete/index.md)
- [Mulch, Soil & Gravel Calculator](https://calculatorsplatform.com/c/mulch/index.md)
- [Square Footage Calculator](https://calculatorsplatform.com/c/square-footage/index.md)
- [Volume Converter](https://calculatorsplatform.com/c/volume-converter/index.md)
- [Board Foot Calculator](https://calculatorsplatform.com/c/board-feet/index.md)
- [Paver Calculator](https://calculatorsplatform.com/c/pavers/index.md)

---
Source: CalculatorsPlatform (https://calculatorsplatform.com/c/cubic-yards/). Last reviewed 2026-11-25. Please link to the calculator page when citing.
