Skip to content
■ SiteCals
  • Home
  • Calculators
  • Categories
  • Blog
Home›The Trench Volume Calculator Formula, Explained

The Trench Volume Calculator Formula, Explained

July 21, 2026 · muhammadaqib3223@gmail.com

Introduction

A trench volume number only helps if you trust it – and trust comes from knowing exactly what the arithmetic does. This guide derives every formula the Trench Volume Calculator uses, from the basic L x W x D box to sloped sides, soil swell, and backfill compaction, with worked numbers you can check by hand.

The calculator applies these formulas automatically; what follows is the full derivation so you can audit any result. For the plain-language walkthrough of a whole job, see the complete guide.

Open the Trench Volume Calculator

Formula 1: Bank Volume (the Rectangular Trench)

Bank volume = Length x Width x Depth.

“Bank” means soil in place – the undisturbed material the trench is cut through. The formula assumes a rectangular cross-section: vertical sides, flat bottom. Every formula that follows starts from this number.

Unit discipline matters first. All three dimensions must be in the same unit before you multiply:

  • Imperial: feet x feet x feet = cubic feet (ft3).
  • Metric: meters x meters x meters = cubic meters (m3).

A 60 ft trench, 2 ft wide, 4 ft deep: 60 x 2 x 4 = 480 ft3. A 18.29 m trench, 0.61 m wide, 1.22 m deep: 18.29 x 0.61 x 1.22 = 13.61 m3. Same hole, same volume – only the units differ. Mixing feet and inches without converting (entering depth as 4 when the rest is in feet but you mean inches) is the single most common arithmetic error; it inflates or deflates the answer by a factor of 12.

Formula 2: Unit Conversions

1 yd3 = 27 ft3 – because one yard is three feet, and 3 x 3 x 3 = 27.

1 m3 = 1.308 yd3 – equivalently, divide cubic meters by 0.7645549 for precision.

Why both matter: excavation contractors, haulers, and rental yards in the US quote by the cubic yard; soil suppliers and most of the world quote by the cubic meter. The calculator reports both so you never re-do the division by hand mid-estimate.

Checking our example: 480 ft3 / 27 = 17.78 yd3. And 13.61 m3 x 1.308 = 17.80 yd3 – matching within rounding. Two paths, one answer. That’s the property you want: any result that disagrees across unit systems has a unit-mixing error in it.

Formula 3: Loose Volume (Soil Swell)

Loose volume = Bank volume x (1 + Swell%).

Dug soil takes up more space than soil in place – air gets into the voids between clumps, and clay chunks stack loosely. This is swell (also called bulking). The factor depends on soil type:

Soil type Swell factor Meaning
Clean sand or gravel 1.10 – 1.20 10 yd3 bank becomes 11-12 yd3 loose
Sandy loam 1.20 – 1.25 10 yd3 bank becomes 12-12.5 yd3 loose
Average mixed soil 1.25 The standard planning default
Heavy clay 1.30 – 1.40 10 yd3 bank becomes 13-14 yd3 loose

Our 60 x 2 x 4 ft example at 25% swell: 480 ft3 x 1.25 = 600 ft3 = 22.2 yd3 loose spoil. Ignore swell and your hauling estimate is short by a quarter – the difference between two truck loads and three.

The material guide covers how swell interacts with bedding and backfill ordering.

Formula 4: Sloped-Sided Trenches

Where soil won’t stand vertical, sides are sloped, and the cross-section is a trapezoid. The formula is the length times the average of the two widths times the depth:

Sloped volume = Length x Depth x (Wbottom + Wtop) / 2, where Wtop = Wbottom + 2 x slope ratio x Depth.

The slope ratio is horizontal:vertical. OSHA-recognized maximum slopes for simple slopes (see the code compliance guide for the full context):

Soil class Maximum slope (H:V) Meaning
Type A (stable clay, cohesive) 3/4:1 0.75 ft back per 1 ft down
Type B (angular gravel, silt) 1:1 1 ft back per 1 ft down
Type C (granular, submerged, fissured) 1-1/2:1 1.5 ft back per 1 ft down

Worked sloped example: 60 ft trench, 2 ft bottom width, 4 ft deep, Type B soil at 1:1. Wtop = 2 + 2 x 1 x 4 = 10 ft. Average width = (2 + 10) / 2 = 6 ft. Volume = 60 x 4 x 6 = 1,440 ft3 = 53.3 yd3 – almost exactly three times the 17.78 yd3 of the vertical-cut version. Sloping doesn’t just change the safety plan; it redefines the job’s scale.

Formula 5: Backfill Volume

Backfill = (Bank volume x (1 + Compaction allowance)) – Pipe volume.

Two adjustments, in opposite directions. Compaction allowance (~10-15%): fill placed and compacted in lifts settles below its loose volume, so you need more loose material than the hole’s geometric volume. Pipe displacement: the pipe, conduit, or cable ducting occupies space that soil can’t – subtract it.

Pipe volume for a circular pipe: Pipe volume = pi x (diameter / 2)^2 x length, in consistent units. A 4-inch (0.33 ft) diameter pipe over 60 ft: pi x (0.33/2)^2 x 60 = pi x 0.027 x 60 = 5.1 ft3 = 0.19 yd3 – small per trench, but real, and significant on long runs.

Worked backfill for our example: bank 17.78 yd3 x 1.12 (12% compaction allowance) = 19.91 yd3; minus 0.19 yd3 pipe displacement = 19.7 yd3 of backfill material to plan for. If you’re reusing excavated spoil as backfill, that’s the volume of loose spoil to hold back from hauling.

Formula 6: Over-Excavation Allowance

Planned volume = Bank volume x 1.10.

A flat 10% covers caved edges, uneven bottoms, and crews digging slightly past grade. Apply it to the bank volume before swell and backfill calculations – it’s material that really leaves the hole. In clean, machine-dug trenches in stable soil, experienced crews sometimes work with 5%; in rocky or hand-dug work, 15% is defensible. Ten is the defensible default.

Full chain for the 60 x 2 x 4 ft trench: bank 17.78 yd3 x 1.10 = 19.56 yd3 x 1.25 swell = 24.4 yd3 loose spoil. That’s the number the haul trucks care about.

Verification Checklist

Before trusting any trench estimate, run these checks:

  1. Units consistent? All three inputs in the same unit – no hidden inches.
  2. Cross-unit match? Convert the answer; metric and imperial must agree within rounding.
  3. Sloped or vertical? If sides are sloped, the rectangular formula understates volume badly.
  4. Swell applied to spoil, not backfill? Spoil swells; backfill compacts. Opposite signs.
  5. Pipe displaced? Subtract it from backfill on long runs.
  6. Rounded up? Order volumes and truck counts round up – a half-load shortfall costs more than the surplus.

Related Guides

  • Trench Complete Guide – the full job walkthrough behind these formulas.
  • Estimating Guide – how to measure each input accurately in the field.
  • Common Mistakes – the errors that break estimates, with fixes.
  • Material Guide – bedding, backfill, and soil behavior in practice.
  • Trench Volume Calculator FAQ – quick answers to the most asked questions.

Frequently Asked Questions

How do you calculate the volume of a trench?

Bank volume = Length x Width x Depth (consistent units). Convert with 1 yd3 = 27 ft3 or 1 m3 = 1.308 yd3. Multiply by (1 + swell%) for loose spoil.

What is the formula for a sloped trench?

Volume = Length x Depth x (bottom width + top width) / 2, where top width = bottom width + 2 x slope ratio x depth.

How much does excavated soil expand?

20-40% depending on soil type; 25% is the standard default. Heavy clay swells most, clean sand least.

How do you calculate backfill?

Bank volume x (1 + 10-15% compaction allowance), minus pipe displacement.

How many cubic feet are in a cubic yard?

27. One cubic yard is a 3 ft x 3 ft x 3 ft cube.

Get Your Number

Every trench estimate is a chain: bank volume, unit conversion, slope adjustment, swell for spoil, compaction for backfill, over-excavation allowance, round up. Get the chain right and the number holds up in the field. The Trench Volume Calculator runs this chain for you – use this guide to audit whatever it returns. And when the trench is 5 feet (1.5 m) or deeper, the safety requirements of OSHA 29 CFR 1926 Subpart P apply before any bucket digs.

Disclaimer: Calculator results are planning estimates based on the dimensions you enter. Actual excavation volumes vary with site conditions, soil type, and digging methods. Trench safety is governed by OSHA 29 CFR 1926 Subpart P and your local authority – this guide is not a substitute for a competent person’s judgment. Consult a licensed professional for structural, utility, or code-related decisions.

Tags: excavation, formula-explained, Trench Volume Calculator

Related articles

Excavation

2026 Trends in Driveway Excavation Calculator

Materials and pricing trends in driveway excavation calculator.

July 21, 2026 · 1 min read

Read More →

Excavation

Bidding Driveway Excavation Calculator Profitably

Markup and win-rate for driveway excavation calculator.

July 21, 2026 · 1 min read

Read More →

Excavation

Advanced FAQ: Driveway Excavation Calculator

Deeper answers about driveway excavation calculator.

July 21, 2026 · 1 min read

Read More →

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

SiteCals

Free Construction Calculators & Building Cost Estimators

  • Concrete
  • Roofing
  • Flooring
  • Framing
  • Foundation
  • Deck
  • Fence
  • Drywall
  • Painting
  • Masonry
  • Landscaping
  • Electrical
  • Plumbing
  • HVAC
  • Steel
  • Lumber
  • Excavation
  • Cost Estimators
  • Conversions
  • Engineering

Company

  • About
  • Contact
  • Privacy
  • Terms
  • Disclaimer
  • Editorial Policy

Popular Calculators

  • Concrete Calculator
  • Gravel Calculator
  • Tile Calculator
  • BTU Calculator
  • Rebar Weight Calculator
  • Roofing Cost Calculator
  • Fence Cost Calculator
  • Voltage Drop Calculator

© 2026 SiteCals. All rights reserved.

  • Privacy
  • Terms
  • Contact