Shape calculator

Trench Cubic Yard Calculator

Enter your trench measurements and get cubic yards, cubic feet, and weight at once.

Trench cubic yard calculator

Price estimator (optional)

Enter your supplier price. The price per ton works when a material is selected.

How the trench calculator works

Utility lines, footings, drains, and irrigation runs all start with a trench, and the answer tells you how much soil comes out or how much fill goes back in.

Use this cubic yard calculator for a trench to get cubic yards, cubic feet, cubic meters, and a cost estimate in one step.

The calculator multiplies out the volume in cubic feet, then divides by 27, because a cubic yard is a cube that is 3 feet on each side. For this shape the formula is shown below in words and symbols.

Length × Width × Depth ÷ 27

In plain words: length times width times depth, then divide by 27 if your answer is in cubic feet. Mixed units are fine. Pick feet, inches, yards, meters, or centimeters next to each box and the tool converts them for you.

Worked example for a trench

Take a trench with length 50 ft, width 12 in, depth 18 in. The volume works out to 75.00 cubic feet. Divide by 27 and you get 2.78 cubic yards. With 10 percent extra for waste, order about 3.06 cubic yards.

Result: 2.78 cubic yards before waste, 3.06 cubic yards with a 10 percent allowance.

Measuring a trench

Measure the full length of the trench, the width at the bottom, and the depth. Use inches for width and depth on narrow trenches.

Common uses for the trench calculator

  • French drains and drain pipe trenches
  • Concrete footings
  • Utility and irrigation trenches
  • Gravel filled drainage trenches

Trench volume at different sizes

The table scales the example above so you can see how fast volume grows. Doubling the depth doubles the volume. Doubling every length quadruples the area, and with the same depth the volume quadruples too.

Trench sizes and volumes (dimensions in the order of the calculator fields)
SizeCubic feetCubic yardsWith 10 percent extra
25 ft by 6 in by 18 in18.750.690.76
50 ft by 12 in by 18 in75.002.783.06
75 ft by 18 in by 18 in168.756.256.88
100 ft by 24 in by 18 in300.0011.1112.22
150 ft by 36 in by 18 in675.0025.0027.50
50 ft by 12 in by 36 in150.005.566.11
100 ft by 24 in by 36 in600.0022.2224.44

What the 2.78 cubic yard example weighs

Volume is only half of the story when a truck is hauling the load. The table shows planning weights for the example volume in several materials.

Weight of the example volume by material
MaterialUS tonsPounds
Topsoil3.066,111
Mulch0.971,944
Gravel3.897,778
Sand3.757,500
Concrete5.6211,250
Compost1.392,778

These figures are planning estimates. Real material varies in moisture, size, and compaction, so confirm weights and order quantities with your supplier.

Frequently asked questions

How do I calculate cubic yards for a trench?

Find the volume in cubic feet, then divide by 27. For this shape: length times width times depth. Convert inches to feet first by dividing by 12.

How many cubic yards is the example trench?

Length 50 ft, width 12 in, depth 18 in comes to 2.78 cubic yards, or 75.00 cubic feet.

How much extra should I order?

Most people add 5 to 10 percent for waste, and 10 to 15 percent for rough ground or loose material.

Can I use metric units?

Yes. Choose meters or centimeters next to any length. The result still shows cubic yards, and the cubic meter figure sits beside it.

Why does the answer change with the material?

The volume does not change, but weight and bag counts do, because each material has a different density.

Other shape calculators