Cubic Yard Calculator: Yards of Soil, Gravel and Mulch from Length, Width and Depth
By FindMySum · Last reviewed
A cubic yard calculator turns an area and a depth into the volume you order from a landscape or aggregate supplier. Give it the length and width (or the diameter, or a list of areas) in feet, inches, yards, metres or centimetres, the depth in inches or centimetres, and it returns cubic yards, cubic feet and cubic metres, an estimated weight in US tons and tonnes, and how many bags of each common size the same volume would take.
What a cubic yard is
A cubic yard is the volume of a cube one yard (3 feet) on each side. Three times three times three is 27, so one cubic yard is exactly 27 cubic feet. Because the yard is defined as exactly 0.9144 metres, a cubic yard is exactly 0.9144³ = 0.764554857984 cubic metres. Both figures appear in the US customary and metric volume tables of NIST Handbook 44, 2026 edition, Appendix C, and the calculator uses them without rounding.
Going the other way, one cubic metre is about 1.308 cubic yards. That matters when a supplier quotes by the metre and a guide tells you how many yards to order.
How the calculation works
The volume of a flat layer is its area multiplied by its depth. The only traps are the units:
- Work out the area. Rectangle: length × width. Circle: π × diameter² ÷ 4. Triangle: base × height ÷ 2. Ring (a bed around a tree or a pond): π × (outer diameter² − inner diameter²) ÷ 4.
- Put the depth in the same unit as the lengths. Depth is almost always measured in inches, so divide by 12 to get feet.
- Multiply area by depth to get cubic feet, then divide by 27 for cubic yards.
The calculator converts every length to metres first, multiplies, and converts the result back, so you can mix units: a bed measured in feet with a depth in centimetres works just as well.
Worked example with the defaults
The calculator opens on a 10 × 10 ft area, 4 inches deep, as topsoil:
- Area: 10 × 10 = 100 ft².
- Depth: 4 ÷ 12 = 0.3333 ft.
- Volume: 100 × 0.3333 = 33.333 ft³, and 33.333 ÷ 27 = 1.2346 cubic yards (0.9439 m³).
- Weight: 1.2346 yd³ × 2,100 lb = 2,593 lb, or about 1.30 US tons (1.18 tonnes).
- Bags: 33.333 ft³ ÷ 2 ft³ per bag = 16.7, rounded up to 17 bags.
A metric example: a 3 × 4 m patio base 10 cm deep is 3 × 4 × 0.1 = 1.2 m³, which is 1.2 ÷ 0.764554857984 = 1.5695 cubic yards.
Weight: why it is an estimate
Volume is exact; weight is not. A cubic yard of a material weighs whatever that material's bulk density says, and bulk density changes with moisture, particle size and how tightly the pieces pack. The calculator uses planning weights per loose cubic yard kept in a dated data file: mulch about 600 lb, compost about 1,000 lb (the figure Oregon State University Extension gives for screened compost at 50% moisture), topsoil about 2,100 lb, sand about 2,600 lb and gravel about 2,700 lb. Supplier figures for the same materials span hundreds of pounds either way, and wet mulch can weigh twice as much as dry.
So treat the ton figure as a guide for trailer and truck loads and for comparing quotes. When you order by the ton, pick "Other" and enter the weight per yard your supplier publishes; the conversion will then match their invoice.
US tons here are short tons of 2,000 lb; tonnes are metric tonnes of 1,000 kg, using the exact pound of 0.45359237 kg.
Bags or bulk?
Small jobs are often cheaper in bags, big ones in bulk. A cubic yard takes 13.5 bags of 2 ft³, 36 bags of 0.75 ft³ or 54 bags of 0.5 ft³. Bags sold by weight (40, 50 or 60 lb) hold different volumes depending on the material, so the calculator counts them from the weight instead. The table under the result lists every size, each rounded up, because you cannot buy part of a bag.
A rough rule: once a job needs more than about one cubic yard, bulk delivery usually costs less per yard than bags, even with a delivery fee, and it saves dozens of trips to the car. Under half a yard, bags are easier to carry and store.
Getting the measurements right
- Measure depth after compaction where it matters. For a gravel base that will be compacted, the loose volume you order is larger than the finished layer; add the extra in the waste box or order on the supplier's compaction advice.
- Average uneven depths. Take several depth readings across the area and use the average.
- Check units. A depth typed as 4 with the unit set to feet is a 4 ft layer, twelve times what you meant. The worked numbers under the result show exactly what was used.
When to use a different calculator
This page is for a layer of loose material of known depth. For a concrete slab, footing or column, the concrete calculator counts premix bags and ready-mix yards. For mulch, gravel or soil with a cost estimate, use the mulch, gravel and soil calculator. Digging out soil, with swell and truckloads, is the excavation calculator. For boxes, rooms and cylinders in cubic feet, use the cubic feet calculator, and to convert a volume you already have, the volume converter.
More questions
Is a cubic yard the same as a yard of material at the landscape yard?
Yes. When a supplier sells a yard of topsoil, gravel or mulch, they mean one cubic yard, a heap that would fill a box 3 ft on each side. Some suppliers price by the half yard; a front-end loader bucket is often about one yard, but ask how they measure.
Can I fit a cubic yard in a pickup truck?
A full-size pickup bed with an 8 ft box holds roughly 2 to 2.5 cubic yards of light material such as mulch when heaped, but the truck's payload limit usually stops you first with heavy material: a yard of gravel at about 2,700 lb is more than many half-ton trucks are rated to carry. Check the payload on the door sticker before loading.
How deep should I spread mulch, gravel or topsoil?
Common guidance is 2 to 3 inches of mulch on beds (thicker can smother roots), 2 to 4 inches of gravel on a path over a compacted base, and 4 to 6 inches of topsoil for a new lawn. Enter your depth in inches or centimetres and the calculator does the rest.
Why does my delivered yard look smaller than expected?
Loose material settles, and a heap on the driveway looks smaller than a spread layer. Once raked out and watered or rolled, mulch and soil sink by several percent. That is what the extra-for-waste box is for: 5 to 10 percent covers most settling and spills.
How do I measure an irregular area?
Split it into rectangles, triangles and circles, measure each and add them up with the list option: one line per piece, length and width, or a single area if you already know the square footage. For curved beds, a rectangle that covers most of the area plus a half-circle is usually close enough.
Should I use cubic yards or cubic metres?
Use whatever your supplier sells in. Most of the United States sells bulk material by the cubic yard; much of Canada and the rest of the world sells by the cubic metre (about 1.31 cubic yards). The calculator gives both, along with cubic feet.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.