ThisCalculator

Conversions

Cubic Yard Calculator for Excavation

Updated · Standard formula, shown below

Cubic yards 1.85 yd³
Cubic feet
50.0 ft³
Result
Length
10 ft
You entered
Width
5 ft
You entered

Cubic Yard Calculator for Excavation

A cubic yard calculator for excavation tells you the volume of dirt, gravel, or other material you need to remove or fill in a rectangular space. You enter the length, width, and depth of the excavation—in feet or yards—and it returns the volume in cubic yards, which is the standard unit for ordering fill dirt, topsoil, and concrete. This article explains the math behind the calculator, how to use it correctly, and common mistakes that lead to under- or over-ordering.

Formula

The volume of a rectangular excavation is length × width × depth. To get cubic yards, you must convert all measurements to yards or use the common shortcut: multiply length (ft) × width (ft) × depth (ft) and divide by 27, because there are 27 cubic feet in one cubic yard.

In symbols: V (yd³) = (L × W × D) / 27, where L is length in feet, W is width in feet, and D is depth in feet. If you measure depth in inches, convert first: D (ft) = depth (in) / 12.

Worked Example

Using the calculator defaults: length = 10 ft, width = 5 ft, depth = 12 in.

  1. Convert depth to feet: 12 in ÷ 12 = 1 ft.
  2. Calculate volume in cubic feet: 10 × 5 × 1 = 50 ft³.
  3. Convert to cubic yards: 50 ÷ 27 = 1.8519 yd³.

The calculator rounds to two decimals, so it shows 1.85 cubic yards. This is the amount you would order for a small trench or footing.

Why Cubic Yards Matter in Excavation

Excavation contractors, landscapers, and DIY homeowners use cubic yards because it is the standard unit for selling bulk materials like soil, sand, gravel, and concrete. A cubic yard is a cube 3 feet on each side—about the size of a small washing machine. When you order fill dirt, you are typically charged per cubic yard, and delivery trucks carry 10 to 15 cubic yards per load. Knowing your volume in cubic yards lets you compare quotes, plan hauling, and avoid paying for material you don’t need.

How to Measure Your Excavation Site

Accurate measurements are the foundation of a correct volume calculation. Use a tape measure or laser distance measurer for length and width, and a measuring rod or string level for depth. For an irregular shape, break the area into rectangles, calculate each one’s volume, and sum them. If the sides slope, measure the depth at several points and use the average. Always measure in feet or inches—if you measure in meters, convert to feet (1 m = 3.28084 ft) before using the formula.

Common Mistakes and How to Avoid Them

  • Mixing units: The classic error is entering depth in inches while length and width are in feet, then forgetting to divide by 12. Always convert everything to feet first.
  • Forgetting to divide by 27: Some people stop at cubic feet. Remember: 27 ft³ = 1 yd³.
  • Ignoring soil swell or compaction: Excavated soil “fluffs upâ€� when removed (swell factor), and fill dirt compacts when tamped. Order 10–20% extra for fill to account for compaction, or expect to haul away more than the calculated volume for removal.
  • Measuring only the top opening: If your hole has sloped sides (like a pond), the actual volume is less than a straight-sided rectangle. Use the average of top and bottom dimensions.

Real-World Applications

  • Footings and foundations: A 10 ft × 10 ft footing at 1 ft deep needs 3.70 yd³ of concrete (10×10×1÷27).
  • Garden beds: A 4 ft × 8 ft bed at 6 inches deep needs 0.59 yd³ of topsoil (4×8×0.5÷27).
  • Utility trenches: A 50 ft long, 2 ft wide, 4 ft deep trench is 14.81 yd³ of spoil to remove.
  • Pools and ponds: A 20 ft × 10 ft pool at 5 ft deep (straight sides) is 37.04 yd³ of excavation.

How to Read the Result and Order Material

The calculator gives you the theoretical volume. When ordering fill, round up to the next half or full yard—suppliers don’t sell fractions of a yard, and you need extra for settling. For removal, the volume tells you how many truckloads you’ll need; a standard dump truck carries 10–15 yd³. If you’re ordering concrete, add 10% for waste and spillage. Always confirm with your supplier whether their price includes delivery and compaction.

Limitations of the Formula

The formula assumes a perfect rectangular prism with vertical sides and a flat bottom. Real excavations have sloped walls (batters) for safety, irregular surfaces, and varying depths. For such shapes, use the average depth and the average of top and bottom dimensions, or break the site into smaller rectangles. Also, the calculator does not account for soil type, moisture content, or rock—these affect the actual weight and volume during excavation. For large projects, a professional survey is recommended.

Frequently Asked Questions

How many cubic feet are in a cubic yard?

There are 27 cubic feet in one cubic yard (3 ft × 3 ft × 3 ft). To convert cubic feet to cubic yards, divide by 27.

What if my excavation is not rectangular?

Break the area into rectangles, calculate each volume, and add them together. For circular areas, use the formula π × radius² × depth, then divide by 27. For irregular shapes, use the average depth and approximate the area with a grid.

Should I order extra material?

Yes, for fill dirt, add 10–20% to account for compaction. For removal, the calculated volume is the in-place volume; the loosened soil will take up more space in the truck, so you may need more trips than the volume suggests.

How do I convert inches to feet for depth?

Divide the number of inches by 12. For example, 18 inches = 1.5 feet. Then use that value in the formula.

What is a “yard� of dirt?

In landscaping and construction, “yard� always means cubic yard, not a square yard. It is a volume measurement: 3 ft × 3 ft × 3 ft.

Can I use this calculator for concrete?

Yes, the volume calculation is the same. However, concrete is usually ordered in cubic yards, and you should add 5–10% for waste, depending on the pour.

Related

Formula used
in l | Length | ft | 10 | 0
in w | Width | ft | 5 | 0
in d | Depth | in | 12 | 0
out vol | Cubic yards | yd³ | (l * w * (d / 12)) / 27 | 2
out cuft | Cubic feet | ft³ | l * w * (d / 12) | 1

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.