# Cubic Yards Calculator

> Convert length, width, and depth measurements directly into cubic yards, for any bulk material.

Page: https://craftquantities.com/calculators/measurements-conversions/cubic-yards-from-dimensions-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.0.1, sources checked 2026-09-05, 2 published test vectors.

Volume (cubic yards): 3.13 yd³ for Length 19.5 ft, Width 13 ft and Depth 4 in, the page's opening figures; on the metric page, 6 m, 4 m and 10 cm give 3.14 yd³. Sources are cited below.

## Inputs

A length, area or volume is entered with its unit. The page opens on the values below: a metric reader sees the metric column, a US customary reader the other.

| Input | id | Opens at (metric) | Opens at (US customary) | Accepts |
|---|---|---|---|---|
| Length | `length` | 6 m | 19.5 ft | mm, cm, m, in, ft, yd; range 0.01–200 m |
| Width | `width` | 4 m | 13 ft | mm, cm, m, in, ft, yd; range 0.01–200 m |
| Depth | `depth` | 10 cm | 4 in | mm, cm, m, in, ft, yd; range 0.01–3 m |

- **Length**: The length of the area.
- **Width**: The width of the area.
- **Depth**: The depth or thickness of the material layer.

## The answer on the opening values

Worked exactly as the page works it, on the values each system opens on.

### Metric

| Result | Value |
|---|---|
| **Volume (cubic yards)** | 3.14 yd³ |
| Volume in cubic feet | 84.76 ft³ |
| Same volume in m³ | 2.4 m³ |

### US customary

| Result | Value |
|---|---|
| **Volume (cubic yards)** | 3.13 yd³ |
| Volume in cubic feet | 84.5 ft³ |
| Same volume in m³ | 2.39 m³ |

## How it is worked out

The working the page shows, in order: Volume in cubic feet; Same volume in m³; then volume (cubic yards).

The method, derived in full:

- [Volume from Geometry, and the Order That Follows](https://craftquantities.com/methodology/volume-from-geometry/): Why the depth carries almost all the risk in a volume, why an excavation holds far more than its plan area suggests, and why a bag's yield is not its weight divided by a density.

The equations it runs, in the open formula library:

- Formula: [V = L × W × D](https://craftquantities.com/formulas/volume-from-geometry/#rectangular-prism-volume)

What this calculation does not cover:

- Length, width and depth are multiplied straight through, so the figure describes a single box with square corners and one depth held across the whole of it. Ground that shelves, a trench that steps down, a circular or tapered outline, and anything standing inside the footprint — a post base, a plinth, an existing pad — sit outside the arithmetic and have to be measured as separate pieces and added or taken off by hand.
- Dividing by 27 is pure geometry and drags no material behaviour along with it. Nothing is compacted, nothing settles over a season, and nothing bulks up the way dug earth does once it is loosened, so the in-place yardage here and the loose yardage riding on a truck are two different numbers.
- There is no waste percentage anywhere in the working and no rounding up to a whole load. What comes back is the space you measured rather than the amount to buy, so spillage, spread beyond the edges, what stays in the barrow and the supplier's own rounding all land on top of the figure.
- Volume is as far as it goes: cubic yards, with the cubic-foot figure shown behind it. No density is asked for or applied, so the result will not turn into tons, tonnes, bag counts or a delivery weight, and it carries no price — heavy wet gravel and light bark chip of the same yardage come back identical.
- Depth is entered in inches on the imperial view and centimetres on the metric one, while length and width are read in feet and metres, and the three numbers are multiplied exactly as typed with no check that they belong together. A depth meant as inches but entered as feet returns a tidy, badly wrong yardage; the depth field's range also runs only to about ten feet, and a side to roughly 650, so a deep excavation or a long haul road has to be split into sections.

## Sources

As the calculator cites them (sources checked 2026-09-05):

- Volume (cubic yards) = length x width x depth (all in feet) / 27

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments; check what is in force with the authority where you build.

## Questions answered on the page

**Why is this different from the material-specific calculators like Mulch or Topsoil?**

This is a pure geometry conversion with no material-specific waste factors or pricing built in — useful as a quick, generic cubic yardage check, while the material-specific calculators add waste allowances and cost estimates tailored to that material.

**Why divide by 27 to get cubic yards?**

1 cubic yard equals 3 ft x 3 ft x 3 ft = 27 cubic feet, so dividing a cubic-foot volume by 27 converts it to cubic yards.

**Can this be used for excavation or fill dirt volumes too?**

Yes — this works for any rectangular volume, including excavation cuts, fill volumes, or footings, not just surface material layers.

## Related calculators

- [Mulch & Gravel Calculator](https://craftquantities.com/calculators/landscaping-outdoor/mulch-gravel-calculator/)
- [Topsoil Calculator](https://craftquantities.com/calculators/landscaping-outdoor/topsoil-calculator/)
- [Concrete Calculator](https://craftquantities.com/calculators/materials-quantities/concrete-calculator/)

## Run it from a program

- REST: `GET https://api.craftquantities.com/v1/calculate/cubic-yards-from-dimensions-calculator` with each input as a query parameter, a length, area or volume with its unit; `https://api.craftquantities.com/v1/describe/cubic-yards-from-dimensions-calculator` lists the inputs.
- MCP: the `calculate` tool at https://api.craftquantities.com/mcp with `slug` `cubic-yards-from-dimensions-calculator`.
- Definition and test vectors: https://craftquantities.com/api/v1/calculators/cubic-yards-from-dimensions-calculator.json

---
Source: https://craftquantities.com/calculators/measurements-conversions/cubic-yards-from-dimensions-calculator/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
