CY Calculator
Cubic Yards

How to Calculate Cubic Yards: Complete Guide

Calculate cubic yards from length, width and depth with one formula, a shortcut for inches, metric conversions, worked examples and common mistakes.

By , Co Founder & Developer

Updated 9 min read

On this page

Anyone who has ordered soil, dirt, mulch or gravel knows the moment: the truck tips its load and the pile is either far too small or big enough to block the driveway. Both outcomes trace back to the same thing, a quick guess instead of a proper measurement. The good news is that learning how to calculate cubic yards takes about five minutes, and the math fits on the back of a receipt. The short version: multiply length × width × depth, all in feet, and divide by 27. This guide covers that formula, a faster shortcut, metric conversions, four worked examples and the mistakes that cost people the most money. If you would rather skip the arithmetic, the cubic yard calculator does it for any shape.

What Is a Cubic Yard?

A cubic yard is a unit of volume: a cube that measures 3 feet long, 3 feet wide and 3 feet tall. Picture a box roughly as high as a kitchen counter and just as wide and deep. Because 3 × 3 × 3 = 27, one cubic yard holds exactly 27 cubic feet. In metric terms it is about 0.765 cubic meters. For more on the unit itself, including how it compares with square yards and tons, see our guide to what a cubic yard is.

Landscape yards, quarries and concrete plants use the cubic yard as their standard measurement because it suits loaders and trucks. When a supplier quotes "two yards of mulch," they mean two of those 27 cubic foot cubes.

Cubic yards are not square yards

Carpet and turf are sold by the square yard, which is a flat area. Bulk materials are sold by the cubic yard, which always involves depth. If your working has no depth figure in it, you have calculated area rather than volume. The cubic feet and cubic yards article compares linear, square and cubic yards side by side.

The Cubic Yard Formula

Every cubic yards calculation comes from the same idea: volume equals length times width times depth. The one firm rule is that all three numbers must be in the same unit before you multiply. Working in feet is the most common approach:

Volume (cubic feet) = length (ft) × width (ft) × depth (ft)

Volume (cubic yards) = cubic feet ÷ 27

Why you divide by 27

Multiplying three measurements in feet gives you cubic feet. Since one cubic yard contains 27 cubic feet, dividing by 27 tells you how many of those yard sized cubes your space would fill. Nothing more mysterious than that.

The 324 shortcut for depth in inches

Depth is usually measured in inches, which means converting to feet first. You can skip that step by combining the two divisions: 12 inches per foot × 27 cubic feet per yard = 324. Multiply length (ft) × width (ft) × depth (in), then divide by 324. A bed 18 ft by 5 ft at 3 inches deep gives 18 × 5 × 3 ÷ 324 = 0.83 cubic yards, the same answer the longer route produces.

Cubic yards = length (ft) × width (ft) × depth (in) ÷ 324

Calculating cubic yard volume in metric

If your tape reads in meters, multiply length × width × depth in meters to get cubic meters, then multiply by 1.308 to convert to cubic yards. A 5 m × 3 m area at 0.1 m deep is 1.5 cubic meters, or about 1.96 cubic yards. Keep centimeters out of it until you have converted them to meters.

How to Calculate a Cubic Yard Step by Step

Here is the full process using a flower bed that measures 14 ft long, 6 ft wide and needs a 3 inch layer of mulch.

  1. Sketch the area. A rough drawing with each side labeled stops you from forgetting a corner.
  2. Measure length and width in feet. Here that is 14 ft and 6 ft.
  3. Convert the depth to feet. 3 inches ÷ 12 = 0.25 ft.
  4. Multiply the three numbers. 14 × 6 × 0.25 = 21 cubic feet.
  5. Divide by 27. 21 ÷ 27 = 0.78 cubic yards.
  6. Round up to what you can buy. Many suppliers sell bulk material in whole or half yards and set a minimum order, so ask before you round. Here that means 1 cubic yard, or eleven 2 cubic foot bags.

That is the whole method. If you would rather not do it by hand, the cubic yard calculator runs the same steps for rectangles, circles, triangles and borders in any unit.

Cubic Yards Calculation Examples

The formula never changes between materials. What does change is the typical depth and how the material behaves once it is down.

Example 1: Raising a sunken corner of the yard

A dip in the back corner measures 18 ft × 14 ft and needs raising by 5 inches. Using the shortcut: 18 × 14 × 5 ÷ 324 = 3.89 cubic yards, so an order of 4 yards covers it. The Topsoil Calculator gives the same figure along with an estimated weight.

Example 2: Gravel driveway

A driveway 50 ft long and 12 ft wide with a 6 inch gravel base: 50 × 12 × 0.5 = 300 cubic feet, and 300 ÷ 27 = 11.11 cubic yards. At around 1.4 tons per yard, that is roughly 15.6 tons. Crushed stone compacts, so check with your supplier on how much extra to allow. The Gravel Calculator lets you enter their exact density.

Example 3: Concrete shed base

A shed pad 12 ft by 10 ft poured 5 inches thick: 12 × 10 × 5 ÷ 324 = 1.85 cubic yards. Concrete is the one material you cannot top up next week, so contractors commonly add 5 to 10 percent, bringing this to about 2 yards. Our concrete slab guide shows how that converts into bags, and how much concrete you need covers footings, steps and post holes.

Example 4: A round gravel patio

For a circle, the area is π × radius². A patio 12 ft across has a 6 ft radius, so the area is 3.1416 × 36 = 113.1 square feet. At 4 inches deep: 113.1 × 0.333 = 37.7 cubic feet, or 1.40 cubic yards. Odd shapes work the same way once you know the area, and the Square Feet Calculator can find that for you.

Cubic Yard Conversions

Bags list cubic feet, product sheets sometimes list liters and delivery tickets show cubic yards. These multipliers turn any of them into cubic yards:

Converting other volume units to cubic yards
You haveTo get cubic yards
Cubic feetDivide by 27
Cubic inchesDivide by 46,656
Cubic metersMultiply by 1.308
LitersDivide by 764.6
US gallonsDivide by 202

From cubic yards to tons

Weight is a different question from volume, because it depends on the material and how wet it is. Once you have your cubic yards, multiply by the tons per yard figure your supplier quotes. Typical densities for mulch, soil, sand, gravel and concrete are listed in our cubic yards to tons guide.

Common Mistakes When You Calculate Cubic Yards

  • Mixing inches and feet. Entering 4 for a 4 inch depth while the length is in feet makes the answer twelve times too large.
  • Forgetting the depth entirely. Without depth you have square footage, not volume.
  • Measuring only one spot. Ground rarely sits level. Measure depth in three or four places and average them.
  • Ordering the exact figure. Uneven edges and spills eat into the total. A small surplus is usually cheaper than a second delivery fee.
  • Measuring the wrong edge. On a bed with edging or a path with a curb, measure the inside edge, where material will actually go.

How Much Extra Should You Order?

Many people add 5 to 10 percent for mulch, topsoil and concrete. Gravel that will be compacted needs a different approach, explained in our gravel guide. There is no fixed rule, and your supplier knows how their material behaves better than any chart. Our calculators include an optional waste field so you can add whatever allowance makes sense.

Frequently Asked Questions

How do I calculate cubic yards from square feet?

Multiply the square footage by the depth in feet, then divide by 27. For 200 square feet at 3 inches (0.25 ft), that is 200 × 0.25 ÷ 27 = 1.85 cubic yards. Our square feet to cubic yards guide covers acres, square meters and uneven depths too.

How much area does one cubic yard cover?

Divide 324 by the depth in inches. One cubic yard covers about 162 square feet at 2 inches, 108 square feet at 3 inches and 81 square feet at 4 inches. Our guide to cubic yard coverage has the full table by depth and material.

Is a yard of material the same as a cubic yard?

Yes. When soil, mulch, gravel or concrete is sold by the yard, it always means a cubic yard of volume.

How accurate is a cubic yard calculation?

The formula is simple and standard, but the result is only as good as your measurements. Treat it as a reliable estimate and confirm the final quantity with your supplier before you order.

Final Thoughts

Once you have done it twice, the routine sticks: measure in one unit, multiply length by width by depth, divide by 27 and adjust for the material. If you want to skip the arithmetic, the CY Calculator handles any shape and unit, and the mulch, gravel, topsoil, sand and concrete calculators cover the most common jobs. For project by project walkthroughs, read how much mulch, topsoil or gravel you need.

Put it into practice

Use the calculator to get your exact numbers in seconds.

Cite this page

APA style

Khan, M. A. (2026, October 7). How to Calculate Cubic Yards: Complete Guide. CY Calculator. https://cycalculator.com/blog/how-to-calculate-cubic-yards

Keep reading

All guides →
  • Cubic Yards

    What Is a Cubic Yard?

    A cubic yard is a cube 3 feet on each side, or 27 cubic feet. See how big it really is, how it converts, and why soil, gravel and concrete are sold this way.

    10 min read

  • Conversions

    How Many Cubic Feet Are in a Cubic Yard?

    A cubic yard holds exactly 27 cubic feet. See why, how to convert either way, and how many bags of each common size make up one yard.

    9 min read