What Is the Trench Volume Calculator?
This tool estimates how much material you need to excavate from a trench. Whether you're laying a drainage pipe, running utility lines, pouring a footing, or installing irrigation, knowing the excavation volume in cubic yards helps you order the right amount of fill, gravel, or concrete and estimate spoil disposal and equipment time.
How to Use It
Enter the trench length, width, and depth in feet. The calculator multiplies them to get the volume in cubic feet, then converts to cubic yards (the standard unit ordered from suppliers) and cubic meters. For a trench with varying depth, use the average depth.
The Formula Explained
Trench volume is a simple rectangular box (prism): $$V = L \times W \times D$$ Because materials are sold by the cubic yard, divide the cubic-foot result by 27 (a cubic yard is \(3\text{ ft} \times 3\text{ ft} \times 3\text{ ft} = 27\text{ ft}^3\)). To get cubic meters, multiply cubic feet by \(0.0283168\).
Worked Example
Suppose a trench is 50 ft long, 2 ft wide, and 3 ft deep. $$\text{Volume} = 50 \times 2 \times 3 = 300 \text{ cubic feet}$$ In cubic yards: \(300 \div 27 \approx 11.11\) cubic yards. In cubic meters: \(300 \times 0.0283168 \approx 8.495 \text{ m}^3\). You'd order roughly 12 cubic yards of backfill to be safe.
Typical Trench Widths and Depths by Use
The ranges below are common rules of thumb, shown in inches for width and depth. Use them to sanity-check the length, width and depth you enter in the calculator (the calculator takes feet, so divide inches by 12).
| Trench use | Typical width | Typical depth |
|---|---|---|
| Irrigation lines | 6-12 in | 6-12 in |
| Electrical conduit | Often 6-12 in (varies with conduit size and number of runs) | 12-24 in, depending on code and wiring method |
| Drain / sewer pipe | Pipe diameter plus 12-24 in | Set by required slope, frost depth and cover; follow local code and design |
| Footings | Per design drawings | Per design drawings and local frost depth |
Local codes vary. Required burial depth for electrical conduit, plumbing and drainage differs by jurisdiction, wiring method and location (for example under driveways versus lawns). Confirm requirements with your local building authority before digging, and call your utility-locating service to mark buried lines.
Safety (United States): Under OSHA excavation rules (29 CFR 1926 Subpart P), trenches 5 ft deep or more generally require a protective system such as sloping, benching, shoring or a trench box, unless the excavation is made entirely in stable rock. Other countries have their own rules. Check the requirements that apply where you work.
FAQ
Why divide by 27? Because one cubic yard equals 27 cubic feet, this converts the foot-based volume into the unit suppliers use.
Should I add extra for compaction or over-dig? Yes. Add roughly 10–20% for over-excavation, compaction, and waste so you don't run short.
What if my measurements are in inches? Convert to feet first by dividing inches by 12 before entering the values.