How to Calculate Cubic Yards
REVIEWED NOVEMBER 9, 2026
The 324 rule, worked examples and the depths that actually work.
Rectangles, circles and irregular beds | Inches to cubic yards | Bag counts | Waste allowances
If you are ordering mulch, gravel or topsoil, learning how to calculate cubic yards before you call the supplier saves you from the two expensive mistakes: ordering too little and paying for a second delivery, or ordering far too much and staring at a pile all summer. The good news is that the math is one short formula, and once you have used it once, you can do it on the back of an envelope. This guide shows the formula, explains where the number 324 comes from, works through two real examples, and gives you the depths, bag counts and waste allowances to order with confidence. You can also check any answer in seconds with the Cubic Yard Calculator.

The 324 rule
(Length in ft x Width in ft x Depth in inches) ÷ 324 = cubic yards
Or, in words: square feet x depth in inches ÷ 324 = cubic yards.
How to calculate cubic yards in three steps
That short list is the whole method — how to calculate cubic yards for a rectangle is one multiplication and one division, and every example on this page uses it.
- Measure the length and width in feet. Measure the longest and widest points, and write the numbers down in feet, not inches.
- Measure the depth in inches. Push a ruler or tape through the material you already have, or decide the depth you want from the table below. Measure in two or three spots — beds are rarely perfectly level.
- Multiply length x width x depth, then divide by 324. The answer is cubic yards. Round it to two decimal places, then add your waste allowance before you order.
Why 324?
A cubic yard is a cube 3 feet long, 3 feet wide and 3 feet high, so 1 cubic yard = 3 x 3 x 3 = 27 cubic feet. That is the definition the National Institute of Standards and Technology (NIST) uses in NIST Handbook 44, and it is the starting point for every calculation on this site.
The 324 comes in because you measure depth in inches, not feet. Depth in feet is depth in inches ÷ 12, so the full formula is length (ft) x width (ft) x (depth in inches ÷ 12) ÷ 27. Multiply the two divisors together — 27 x 12 = 324 — and you get the shortcut: square feet x depth in inches ÷ 324. Once you know where 324 comes from, how to calculate cubic yards stops looking like a memorized trick and starts looking like ordinary arithmetic.
It also gives you a handy check. One cubic yard covers 324 square feet at 1 inch deep, 162 at 2 inches, 108 at 3 inches, 81 at 4 inches and 54 at 6 inches. If your answer is far from those numbers, check your depth first — it is the measurement people most often get wrong.
| Depth (inches) | Square feet covered by 1 cubic yard |
|---|---|
| 1 | 324 |
| 2 | 162 |
| 3 | 108 |
| 4 | 81 |
| 6 | 54 |
Worked examples
The worked examples below show how to calculate cubic yards with real numbers, step by step, so you can follow the same steps with your own measurements.
Example 1 — A 10 x 20 ft mulch bed, 3 inches deep
Step 1, area: 10 x 20 = 200 square feet. Step 2, multiply by the depth: 200 x 3 = 600. Step 3, divide by 324: 600 ÷ 324 = 1.85 cubic yards. That is the volume the bed holds. Step 4, add the usual 10% allowance for mulch: 1.85 x 1.10 = 2.04 cubic yards to order. So you need 1.85 cubic yards, and you order 2.04 cubic yards.
Example 2 — A 12 x 40 ft gravel driveway, 4 inches deep
Step 1, area: 12 x 40 = 480 square feet. Step 2, multiply by the depth: 480 x 4 = 1,920. Step 3, divide by 324: 1,920 ÷ 324 = 5.93 cubic yards. Gravel compacts under weight, so add 15% for a driveway or base: 5.93 x 1.15 = 6.81 cubic yards to order. If you are ordering in whole yards, that is 7 cubic yards — a small over-order beats a short load and a second delivery fee.
Quick check — A 10 x 10 ft bed, 3 inches deep
100 square feet x 3 inches ÷ 324 = 0.93 cubic yards. That is about 13 bags of 2 cu ft mulch, or 1 cubic yard if you are buying in bulk.
How deep should it be?
Depth is where most mistakes happen when people work out how to calculate cubic yards, because a single inch changes the answer by a third at these depths. Pick the depth for your project first, then do the math — do not guess the depth and the volume together.
| Project | Depth | Why this depth |
|---|---|---|
| Mulch beds | 3 in | Holds moisture and blocks weeds without smothering plants |
| Gravel driveway | 4 in | Stands up to cars and compaction; thinner layers rut |
| Garden paths | 2 in | Enough cover for foot traffic, and easy to top up |
| Topsoil for lawns and beds | 4–6 in | Gives roots room to establish; use 6 in for a new lawn or poor soil |
Measure the depth you already have before you top up a bed. If an old mulch layer is 1 inch deep and you want 3 inches in total, you only need 2 inches of new mulch — and only that depth goes into the formula.
How many bags are in a cubic yard?
Bag math starts from the same volume you get when you know how to calculate cubic yards: 1 cubic yard is 27 cubic feet, so divide 27 by the size of the bag.
A 2 cu ft bag: 27 ÷ 2 = 13.5 bags per cubic yard, so buy 14 whole bags per yard. An 80 lb bag of concrete mix: about 45 bags per cubic yard, which is the manufacturer’s yield — never work concrete bags out from weight alone, because the weight of a bag and the volume it makes are not the same thing.
| Bag | Bags per cubic yard |
|---|---|
| 2 cu ft mulch or topsoil bag | 13.5 |
| 0.5 cu ft bag (about 40 lb topsoil) | 54 |
| 80 lb concrete mix bag | About 45 |
For the 10 x 20 ft bed above, 1.85 cubic yards x 13.5 = 25 bags of 2 cu ft mulch, or 28 bags once you add the 10% allowance (2.04 x 13.5 = 27.5, rounded up). Always round bag counts up: a part-bag does not cover a part-bed.
How much extra should you order? Waste and compaction
Knowing how to calculate cubic yards is only half the order — the other half is the allowance. Real ground is not flat, material spills, and gravel packs down. The calculator gives you the exact volume; what you order is a little more.
| Situation | Extra to order | Why |
|---|---|---|
| Mulch and topsoil, flat beds | +10% | Uneven ground, spillage, a thin spot you missed |
| Gravel driveways and bases | +15% | Compaction — gravel packs down under weight |
| Garden paths | +10% | Edges spill and settle |
| Sloped or rough ground | +10–15% | Depth varies across the slope |
A second delivery usually costs $50–$150, which is more than the extra half-yard of material on most jobs. Ordering 10% extra is cheap insurance. Ordering 30% extra is just a pile you will be looking at all summer.
Measuring tips that keep the answer honest
- Split irregular shapes into rectangles. Work out each rectangle separately with the 324 rule, then add the results together.
- For a round bed, work out the area first. Area = π x radius², where the radius is half the diameter. Then multiply by the depth in feet and divide by 27. A 10 ft diameter circle at 3 inches deep is 78.5 square feet x 0.25 feet ÷ 27 = 0.73 cubic yards.
- Measure depth in several places and use the average. A bed that is 2 inches deep at one end and 4 at the other is a 3-inch bed on average.
- Keep the units straight. Length and width go in feet, depth goes in inches, and 324 does the converting. If you put the depth in feet by mistake, your answer will be 12 times too small.
Related tools
Now that you know how to calculate cubic yards, run your numbers through the Cubic Yard Calculator to double-check them, use the Mulch Calculator for bag counts and bulk-vs-bagged cost, or the Gravel Calculator for driveways, paths and patios in yards and tons. Start from Home to see every calculator on the site.
How we check our math
Reviewed November 9, 2026 — every worked example on this page was checked by hand against the formula above. Every formula in this guide was worked by hand against the US customary definition (National Institute of Standards and Technology, NIST Handbook 44, 2026: 1 yd³ = 27 ft³ = 0.7646 m³) and checked against the worked examples on our Cubic Yard Calculator. We do not take a supplier’s word for a number. Found a mistake? Tell us — we check every correction report and fix verified errors.
Frequently asked questions
How many cubic feet are in a cubic yard?
27 cubic feet. That is 3 ft x 3 ft x 3 ft. In metric it is 0.7646 cubic meters.
How many feet are in a yard?
3 feet. So a 6 foot bed is 2 yards — handy when a supplier prices by the yard.
How do I convert square feet to square yards?
Divide the square feet by 9. A 90 square foot bed, for example, is 10 square yards (90 ÷ 9 = 10).
How many square feet are in a square yard?
9 square feet. A square yard is a square 3 feet long and 3 feet wide, so 3 × 3 = 9.
How to calculate cubic yards for a round bed?
Work out the area first — π x radius², where the radius is half the diameter — then multiply by the depth in feet and divide by 27. For a 10 ft diameter bed at 3 inches deep, that is 0.73 cubic yards.
How many 2 cu ft bags are in a cubic yard?
13.5 bags of 2 cu ft. That is 27 cubic feet per yard divided by 2. Buy 14 bags if you want a whole-yard amount, and round up on any job — for the 10 x 20 ft bed in the example above, that is 25 bags, or 28 bags with the 10% allowance.
How much extra should I order?
Order 10% extra for mulch, topsoil and garden paths, and 15% for gravel driveways and bases. A second delivery fee costs more than the extra material, and a short load is the most common ordering mistake.
What depth of mulch and gravel should I use?
Use 3 inches for mulch beds, 4 inches for a gravel driveway, 2 inches for garden paths, and 4 to 6 inches for topsoil. Deeper is not always better for mulch — more than 4 inches can smother plants — but a gravel driveway thinner than 4 inches will rut under cars.
Sources and methodology: The 27 cubic feet in a cubic yard is the US customary definition (National Institute of Standards and Technology, NIST Handbook 44, 2026). Depth and allowance guidance follows the same worked examples used on this site’s Cubic Yard, Mulch and Gravel Calculators. Methodology reviewed: November 2026.
Calculation notice: Results are estimates for planning and ordering. Actual volume depends on how the material settles and how level the ground is, so confirm the order with your supplier before delivery.