Trench volume calculator
Enter the length, width and depth of a trench for pipe, cable, a French drain or a footing, and see how much dirt comes out.
Worked example
A trench 100 ft long, 2 ft wide and 4 ft deep, with straight sides.
- 100 × 2 × 4 = 800 ft³ = 29.6 yd³ in the ground.
- Loose, with topsoil swell of 25%: about 37.0 yd³.
- With sides sloped back at 0.5:1 the top is 6 ft wide and the trench is 1,600 ft³ = 59.3 yd³.
Cubic yards of dirt, straight sides
| Length | 1 ft × 3 ft deep | 2 ft × 4 ft deep | 3 ft × 6 ft deep |
|---|---|---|---|
| 50 ft | 5.6 | 14.8 | 33.3 |
| 100 ft | 11.1 | 29.6 | 66.7 |
| 200 ft | 22.2 | 59.3 | 133 |
| 500 ft | 55.6 | 148 | 333 |
Notes
- Width is the bottom width. With sloped sides the top is wider, and the calculator shows how much.
- The pipe takes room. If the dirt goes back over a pipe, subtract the pipe and its bedding from what you take away. A trench for a 4 inch pipe takes up only a little, a big drain pipe takes more.
- Backfill needs less than you dug. Compacted backfill is packed tighter than the loose pile, so it takes less room, but the pipe and bedding use up some of the space. Expect a small surplus or a small shortfall and plan for either.
- Deep trenches. Trenches of about 4 to 5 feet or deeper often have legal requirements for sloping or shoring because of the cave-in risk. Check the rule that applies where you are before anyone goes in.
- Utilities. Have underground lines located before you dig.
Questions
How many cubic yards in a 100 ft trench?
A 100 ft trench that is 1 ft wide and 3 ft deep is about 11.1 yd³. At 2 ft × 4 ft it is 29.6 yd³.
How do I calculate a trench in cubic feet?
Length × width × depth, all in feet. For sloped sides use the average of the top and bottom widths instead of the width.
How much does the dirt swell?
A loose pile takes about 10 to 40% more room than the same dirt in the ground, depending on the soil. The calculator uses 25% for topsoil.
Does the trench volume include the pipe?
No. It is the whole trench. Subtract the pipe if you need the dirt that goes back.
Other calculators
- Dirt excavation calculator: cubic yards to dig, truckloads and haul-off cost for any rectangular dig
- Pond excavation calculator: dirt to dig for a pond, with sloped sides
- Driveway excavation calculator: dirt to remove for a gravel or paved driveway
- Foundation excavation calculator: dirt to dig for a building pad, footing or basement
- Dump truck load calculator: how many truckloads a pile of dirt makes
Not a clean shape?
Draw the job on the real terrain of your site. Free lidar for Canada and the US, volumes by cut and fill, and a PDF report.
Estimates for planning only. Soil, trucks and rules differ from place to place. Not engineering advice.