Resource search

Search DataDrivenAEC

Open the full search page →

Vertical or batteredm³ / yd³Free

Trench
Volume

Estimate trench excavation volume for pipe runs, footings, or services. Use a single width for vertical sides, or add a top width for battered (sloped) sides — the tool uses the trapezoidal cross-section.

Who it's for: civil engineers, site supervisors, and contractors estimating dig quantities before construction mobilization for pipe runs, service trenches, or strip footings.

Trapezoidal cross-section
Volume = ½ × (bottom width + top width) × depth × length. For vertical sides leave top width blank (top = bottom). For OSHA-sloped sides, top width = bottom + 2 × depth × (run/rise of the soil's slope ratio).
Trench
Excavation volume

How to use this calculator

1
Select units
Pick metres (m³) or feet (ft³/yd³) to match your project drawings and site records.
2
Enter the trench length
The total run along the pipe or footing centreline from start to end of the trench.
3
Enter the bottom width
The clear dimension at the trench floor — wide enough to install the pipe, footing, or services plus working room.
4
Enter the top width for sloped sides
If the sides are battered (sloped), type the width at ground level. Leave blank for vertical-sided trenches and the tool treats the section as a rectangle.
5
Enter the depth
The cut depth from existing grade to the bottom of the trench.
6
Read the excavation volume
The result shows bank-measure volume in m³ or ft³/yd³ and confirms whether the cross-section is vertical or battered.

The formula

Volume is the trapezoidal cross-section area multiplied by the trench length.

Volume = ½ × (Wb + Wt) × D × L

Wb = bottom width (the clear dimension at the trench floor)
Wt = top width (set equal to Wb for vertical sides, reducing the formula to a rectangle: Wb × D × L)
D = trench depth from grade to floor
L = total trench length

Worked example

Example
A 30 m pipe trench with a 0.6 m bottom width, vertical sides (top width left blank), and 1.2 m depth: cross-section area = ½ × (0.6 + 0.6) × 1.2 = 0.72 m²; volume = 0.72 × 30 = 21.6 m³ of bank-measure excavation.

When this estimate will be off

  • Assumes uniform depth and width along the entire trench run. Variable-depth or tapering trenches must be divided into uniform sections and the volumes summed.
  • Returns bank-measure (in-situ) volume. Add a soil swell factor — typically 10–30% depending on soil type — to estimate loose volume for haul-truck calculations.
  • Does not account for the pipe barrel, granular bedding, or over-excavation at fittings. Subtract these for net backfill quantity (typically 5–15% of gross volume for common pipe sizes).
  • Battered side slopes must comply with OSHA 29 CFR 1926.652 (or your local equivalent) for the actual soil classification. This tool does not verify slope compliance.

Frequently asked questions

A common mistake: Assumes uniform depth and width along the entire trench run. Variable-depth or tapering trenches must be divided into uniform sections and the volumes summed.

The cross-section of a battered trench is a trapezoid: area = ½ × (bottom width + top width) × depth. For a vertical-sided trench the top width equals the bottom width, so area reduces to bottom width × depth (a rectangle). Volume is that area multiplied by the trench length.

OSHA 29 CFR 1926.652 allows Type A soil (cohesive, no tension cracks) at ¾H:1V; Type B at 1H:1V; and Type C (sandy, granular, or submerged) at 1½H:1V. For a 1.2 m deep Type C trench with a 0.6 m bottom width, each side offsets 1.8 m — top width = 0.6 + 2 × 1.8 = 4.2 m.

Bank measure is the volume of soil in its undisturbed, in-situ state. Excavated (loose) soil swells by roughly 10–30% — clay swells more than sand. Multiply the bank volume by the appropriate swell factor to get the loose volume needed for truck-load and disposal calculations.

No — the result is gross trench volume. For net backfill, subtract the pipe barrel volume (π × radius² × length) and the granular bedding placed beneath and around the pipe. These deductions are typically 5–15% of gross trench volume for common pipe diameters.

Sources

  • OSHA 29 CFR 1926.652 — Requirements for protective systems for excavations and trenches — sets maximum slope ratios by soil type: Type A ¾H:1V, Type B 1H:1V, Type C 1½H:1V

This free Trench Volume Calculator is built and maintained by DataDrivenAEC, using the relevant codes and standards. It does not substitute for professional judgment.