Trench Excavation Calculator (Earthwork Volume, Truck Loads & Cost)
Calculate trench excavation volume quickly.
Use this trench excavation calculator to estimate earthwork volume, loose soil, truck loads, and excavation cost for pipelines, drainage, sewer, and cable trenches.
🕒 Last updated: July 6, 2026
Inputs
ℹ️Typical: 10–40% (Sand ~15%, Clay ~30%, Rock ~60%)
ℹ️Used only to convert volume into an approximate weight in tons — does not affect volume, swell, or cost.
ℹ️Optional buffer for real-world dig accuracy — machine bucket width and unstable edges typically add 5-15% beyond the theoretical volume. Defaults to 0%.
You need approximately 25.920 m³ (~41.47 t) of trench excavation.
Calculations
Trench Volume: 21.600 m³ (~34.56 t)
Loose Volume: 25.920 m³ (~41.47 t)
Swell Added: +4.32 m³ (~6.91 t)
Approximate results for planning only. Verify with a professional.
What Is a Trench Excavation Calculator?
This trench excavation calculator helps estimate the volume of soil to be removed for long and narrow excavations such as pipelines, drainage systems, cables, and utility trenches. It calculates in-situ soil volume, loose soil after excavation, required truck loads, and excavation cost.
This tool is built specifically for a trench with vertical sides and a uniform cross-section along its length (or in uniform sections, using the multi-section feature below). If your excavation is a single compact footprint rather than a long run — a foundation or footing pit — use the Excavation Calculator instead. If your trench or pit has genuinely sloped or battered sides (wider at the top than the bottom), the Pit Excavation Calculator uses the frustum formula needed for that shape.
Unlike general excavation tools, trench excavation focuses on linear earthwork where length is significantly greater than width. This calculator helps engineers and contractors accurately estimate quantities for pipeline works, underground services, and infrastructure projects.
Accurate trench excavation estimation is important because:
- Long trench lengths amplify small measurement errors into large volume discrepancies
- Helps plan continuous excavation work efficiently across a route
- Improves truck and logistics planning for long stretches
- Provides better cost estimation for infrastructure projects
- Reduces material wastage and schedule delays
In real construction, trench excavation is widely used for laying pipelines, sewer lines, cables, and drainage systems. Even small changes in width or depth can significantly affect total excavation volume due to long lengths.
How does trench excavation volume calculation work?
Trench excavation calculation involves determining the in-situ (original) soil volume, adjusting it for swell, and estimating transportation and cost requirements.
Step 1 — Calculate Excavation Volume
Total Volume = Volume × Number of Units
If sections differ in size: Total Volume = Sum of (Length × Width × Depth × Count) for every section
This gives the in-situ (original) soil volume before excavation. All dimensions must be converted into meters. If the whole run is one uniform stretch, use the Number of Units multiplier for repeated identical stretches. If depth or width changes along the route (for example, a deeper section where the pipe needs more cover, or a wider section where two pipes run side by side), switch on "Multiple Different-Sized Trenches" and enter each stretch as its own section — the calculator sums every section's volume into one total automatically. If you know the pipe or duct diameter but not the trench width, turn on "Auto-Calculate Width from Pipe Diameter?" and the calculator works out Width = Pipe Outside Diameter + (2 × Side Clearance) for you.
Step 2 — Apply Overbreak Allowance (Optional)
A real trench is never a perfectly clean-cut rectangular prism — machine bucket width, unstable edges, and minor over-digging typically add a bit more volume than the theoretical Length × Width × Depth figure. Overbreak accounts for that gap between the design volume and what actually gets dug, before swell is applied. It defaults to 0%; a commonly used range is 5-15% depending on soil stability and excavation method.
Step 3 — Apply Swell Factor
Soil expands after excavation due to loosening. This increase is called swell and depends on soil type:
- Sand / Gravel → ~10–20%
- Ordinary / Mixed Soil → ~20–30%
- Clay → ~20–40%
- Rock → ~50–80%
Step 4 — Calculate Truck Loads
If Truck Capacity is entered in cft: Truck Capacity (m³) = Truck Capacity (cft) ÷ 35.3147
This helps estimate how many trips are required to transport excavated soil from the site. Truck capacity can be entered directly in m³, or in cft (cubic feet) if that's how your vehicle or contractor quotes it — the calculator converts cft to its m³ equivalent first, then applies the same formula, so the result is identical either way.
Step 5 — Estimate Excavation Cost
If Cost is entered per cft: Cost per m³ = Cost per cft × 35.3147
Cost depends on trench depth, soil type, labor, machinery, and site conditions. The cost rate can be entered per m³ or per cft — a cft rate is converted to its m³-equivalent rate before multiplying, since a cft rate is naturally a smaller number for the same total budget (1 m³ = 35.3147 cft).
Step 6 — Add Contingency (Optional)
Total Cost = Base Cost + Contingency Amount
Contingency is an optional buffer on top of the base cost to cover things that are hard to price exactly in advance — unmapped existing services requiring hand-digging, unforeseen ground conditions, or reinstatement scope creep once the surface is opened up. It defaults to 0%; a commonly used range is 5-15%, with the higher end for routes crossing unmapped utilities or busy public roads.
Example trench excavation calculation
This example uses the active calculator inputs above and follows the same steps from the formula section — showing the default scenario if you haven't changed anything, or your own live inputs once you do.
Input Values Used
| Input | Value | Why it is used |
|---|---|---|
| Dimensions | 30 m × 0.6 m × 1.2 m | Sets the in-situ excavation volume |
| Number of units | 1 | Multiplies volume for repeated identical stretches |
| Swell factor | 20% | Converts excavated volume into loose (haulage) volume |
Step 1 — Calculate Excavation Volume
| Calculation | Substitution | Result |
|---|---|---|
| Volume per unit | 30 × 0.6 × 1.2 | 21.600 m³ |
| Total volume | 21.600 × 1 | 21.600 m³ |
Step 3 — Apply Swell Factor
| Calculation | Substitution | Result |
|---|---|---|
| Loose volume | 21.600 × (1 + 20/100) | 25.920 m³ |
Step 4 — Truck Loads & Cost
| Calculation | Substitution | Result |
|---|---|---|
| Enable cost estimation above to see truck loads and cost | — | |
Therefore, this trench needs approximately 25.920 m³ of loose soil.
Essential Checklist+−
Complete these critical checks before approving the work or proceeding to the next construction stage.
✓Dimensions and Route+-
- Trench length was measured along the actual route on site — not scaled from a drawing.
- Trench width is the excavation width — not the pipe or footing width. Add at least 300mm each side for installation working space, or use the Auto-Calculate Width from Pipe Diameter helper to derive it from the actual pipe diameter and clearance.
- Trench depth is measured from existing ground level to the bottom of the pipe bedding or foundation — including any granular bedding layer.
- Changes in trench depth or width along the route (due to gradient or crossing services) were entered using the Multiple Different-Sized Trenches feature — not approximated with one averaged width/depth pair.
- Dimensions were entered in consistent units.
- The trench route was walked on site and crossed services marked before dimensions were finalised.
- Truck capacity and cost rate units (m³ vs cft) match what the supplier or contractor actually quoted — mixing units silently changes the truck-load and cost estimate.
✓Services and Underground Hazards+-
- All existing underground services along the trench route were identified from utility drawings and marked on the ground.
- Trial holes were dug by hand within 500mm of any marked service before mechanical excavation began.
- Electrical supply to cables within the trench zone was isolated or the cable route was confirmed safe before digging.
- Minimum clearance from existing services was maintained — 150mm from water pipes, 300mm from gas pipes, 500mm from HV cables.
✓Shoring and Safety+-
- Trenches deeper than 1.2m in loose, sandy, or water-bearing soil have shoring, trench boxes, or battered sides.
- Side battering (slope) for unshored trenches in non-cohesive soil is at least 1:1 from the trench bottom edge.
- Excavated spoil is placed at least 1.0m from the trench edge — nearer placement increases collapse risk.
- Safe means of entry and exit (ladder or steps) are provided at intervals not exceeding 6m for trenches over 1.2m deep.
- Open trenches across pedestrian or vehicle routes are covered with rated trench plates when not being worked.
✓Volume, Bedding, and Reinstatement+-
- A bulking factor of 20–30% was applied to the calculated trench volume for spoil haulage.
- Pipe bedding volume (granular material below and around the pipe) was calculated separately and added to the order.
- Imported granular backfill specification was confirmed — clean gravel or crusher dust, not site-won clay or organic soil.
Full QC Checklist+−
Verify trench dimensions, services, soil support, bedding, disposal, and worker safety.
✓Dimensions and Route+-
- Trench length was measured along the actual route on site — not scaled from a drawing.
- Trench width is the excavation width — not the pipe or footing width. Add at least 300mm each side for installation working space, or use the Auto-Calculate Width from Pipe Diameter helper to derive it from the actual pipe diameter and clearance.
- Trench depth is measured from existing ground level to the bottom of the pipe bedding or foundation — including any granular bedding layer.
- Changes in trench depth or width along the route (due to gradient or crossing services) were entered using the Multiple Different-Sized Trenches feature — not approximated with one averaged width/depth pair.
- Dimensions were entered in consistent units.
- The trench route was walked on site and crossed services marked before dimensions were finalised.
- Truck capacity and cost rate units (m³ vs cft) match what the supplier or contractor actually quoted — mixing units silently changes the truck-load and cost estimate.
- Currency selected matches the quotation currency, especially on multi-currency or export/import projects.
- Contingency percentage (if used) reflects how well the route is actually known — unmapped services, ground conditions, and reinstatement scope are common sources of cost overrun on trench work.
✓Services and Underground Hazards+-
- All existing underground services along the trench route were identified from utility drawings and marked on the ground.
- Trial holes were dug by hand within 500mm of any marked service before mechanical excavation began.
- Electrical supply to cables within the trench zone was isolated or the cable route was confirmed safe before digging.
- Gas, water, and telecom authorities were notified before trenching in public or shared access areas.
- Minimum clearance from existing services was maintained — 150mm from water pipes, 300mm from gas pipes, 500mm from HV cables.
✓Shoring and Safety+-
- Trenches deeper than 1.2m in loose, sandy, or water-bearing soil have shoring, trench boxes, or battered sides.
- Side battering (slope) for unshored trenches in non-cohesive soil is at least 1:1 from the trench bottom edge.
- Excavated spoil is placed at least 1.0m from the trench edge — nearer placement increases collapse risk.
- Safe means of entry and exit (ladder or steps) are provided at intervals not exceeding 6m for trenches over 1.2m deep.
- Trench is inspected by a competent person at the start of each shift and after rain or vibration from nearby plant.
- Open trenches across pedestrian or vehicle routes are covered with rated trench plates when not being worked.
✓Volume, Bedding, and Reinstatement+-
- A bulking factor of 20–30% was applied to the calculated trench volume for spoil haulage.
- An overbreak/over-excavation allowance (typically 5–15%) was applied where ground is loose or the excavator bucket is wide relative to the trench, so truck-load and disposal figures reflect actual dig volume, not just the theoretical geometric volume.
- Pipe bedding volume (granular material below and around the pipe) was calculated separately and added to the order.
- Reinstatement material volume was calculated as: trench volume − pipe volume − bedding volume.
- Imported granular backfill specification was confirmed — clean gravel or crusher dust, not site-won clay or organic soil.
- Reinstatement compaction requirements (layers, passes, equipment) were confirmed with the engineer or road authority.
- Surface reinstatement (tarmac, paving, concrete) was specified and costed separately from the earthwork.
Typical swell factors for different soil types
The Swell Factor input above is only as good as the percentage you enter. Use this table as a starting point for your soil type, then confirm with a site test or geotechnical report where the job is large enough to justify it.
| Soil Type | Swell Factor | Notes |
|---|---|---|
| Sand / Gravel | 10-20% | Loosens predictably; least variance between in-situ and loose volume. |
| Ordinary / Mixed Soil | 20-30% | Most common general site soil; use as a default when soil type is unconfirmed. |
| Clay | 20-40% | Bulks significantly once dug; wet clay swells toward the higher end. |
| Rock (Ripped / Blasted) | 50-80% | Very large swell factor; goes from a dense solid to loose broken fragments. |
These are commonly cited planning ranges, not a substitute for an actual soil test — always confirm with a geotechnical report or site trial for a large or high-value job.
When should you use this trench excavation calculator?
- Pipeline excavation for water, gas, or sewer lines — enter the actual excavation width, not the pipe diameter, since installation needs working clearance on both sides.
- Drainage and stormwater trench works where a long run needs a consistent, straight-sided cross-section along its length.
- Cable and electrical trench works, including multi-duct trenches where width needs to accommodate several conduits side by side.
- Long, narrow linear infrastructure where length is the dominant factor in total volume — a small width or depth error gets amplified heavily over hundreds of metres.
- Routes where depth or width changes partway along — switch on the multi-section feature to model each uniform stretch separately instead of averaging one width/depth across the whole route.
- Planning truck logistics and cost for a pipeline or cable-laying project before work starts, so you can book the right number of trucks and set a realistic budget.
Practical trench excavation tips
- Get underground services located and marked (water, gas, electrical, communications) before excavating — this is a safety requirement on almost every trench job, not an optional step.
- Measure the actual excavation width, not the pipe or duct width — most specifications require 150-300mm of working clearance on each side of the pipe for jointing and compaction access. Turn on "Auto-Calculate Width from Pipe Diameter?" to get this figure without doing the arithmetic by hand.
- Confirm soil type on site before finalizing the swell factor — sand and clay behave very differently, and using the wrong figure is one of the biggest sources of error in truck-load planning for a long run.
- Add a small overbreak allowance (5-15%) if the ground is loose or the excavator bucket is wide relative to the trench — actual dig volume is almost always somewhat more than the theoretical Length × Width × Depth figure.
- Order 1-2 extra truck loads beyond the calculated figure for long trenches, since partial loads still cost a full trip and running short mid-route delays the schedule.
- For trenches deeper than about 1.2-1.5 m, check local safety regulations on shoring, benching, or battering — unsupported deep trenches are a leading cause of excavation-site injuries.
- If depth changes along the route (for gradient or to cross other services), use the multi-section feature rather than averaging one depth across the whole run — this keeps both the volume and the disposal/truck estimate accurate.
- Plan spoil storage along the route carefully — a long trench generates a long, continuous spoil pile, and it should not sit within 1.5m of the trench edge or block access and emergency egress.
Common trench excavation estimation mistakes
- Using a single generic swell factor (like a flat 20%) regardless of soil type — sand can swell as little as 10%, while clay and rock can swell 30-80%, meaningfully over- or under-estimating truck loads over a long run.
- Entering the pipe or duct diameter as the trench width instead of the actual excavation width including working clearance — this under-estimates both volume and cost. Use the "Auto-Calculate Width from Pipe Diameter?" helper instead of guessing the clearance by hand.
- Assuming the theoretical Length × Width × Depth figure equals the actual dig volume — real excavation edges are rarely perfectly clean, so an overbreak allowance of 5-15% usually brings the estimate closer to what's actually hauled away.
- Averaging one width/depth across a route that actually changes size partway along, instead of using the multi-section feature to model each uniform stretch separately.
- Rounding truck loads down instead of up — a calculated 14.3 loads means 15 truck trips are needed in practice, since a partial load still requires a full trip.
- Ignoring bulking/swell when planning where excavated soil will be temporarily stored along a long, narrow route — loose soil takes up meaningfully more space than the original in-situ volume.
- Treating this uniform cross-section calculation as sufficient for a trench with genuinely sloped or battered sides — use the pit excavation calculator's frustum formula for that shape instead.
- Not budgeting separately for reinstatement (surface, paving, or landscaping repair) once the trench is backfilled — this calculator only estimates the excavation side of the job.
- Mixing truck capacity or cost rate units — entering a cft-quoted capacity or rate without switching the unit toggle silently changes the truck-load and cost result, since 1 m³ is about 35.3 cft.
Limitations of trench excavation estimation
- This calculator assumes a trench with vertical sides and a uniform cross-section along its length (or in uniform sections) — it is not designed for genuinely sloped, battered, or irregularly-shaped excavations (use the pit excavation calculator for sloped sides).
- It does not account for groundwater, trench wall stability, or shoring/benching/battering requirements — treat deep or wet trenches as a site-safety matter separate from this material/logistics estimate.
- Existing underground services crossing the route (other pipes, cables, foundations) are not modeled — these can force hand-digging or local re-routing that this calculator cannot anticipate.
- Equipment efficiency and productivity rates (how fast a machine can dig) are not modeled — this calculator estimates volume and haulage quantity only, not excavation duration.
- Disposal, tipping, and reinstatement (surface, paving, or landscaping repair) fees are not automatically included — the cost field only reflects the rate you enter for excavation itself.
- Soil type, moisture content, and compaction are not detected automatically — the swell factor you choose should come from a site test or geotechnical report, not the calculator's defaults.
- Treat the output as a planning-stage estimate to confirm with your contractor or engineer, not a final quantity for contractual or billing purposes.
Related Construction Calculators
You may also find these calculators useful for pipeline, drainage, and site preparation work:
- Excavation Calculator
For a single compact footprint like a foundation or footing pit.
- Pit Excavation Calculator
For excavation with sloped sides where top dimensions are larger than bottom.
- Backfill Calculator
Estimate compacted trench backfill after pipes or cables are laid.
- Dewatering Calculator
Size pumps and estimate cost if the trench goes below the water table.
- Concrete Footing Calculator
Estimate concrete volume required for footings after excavation.
- Steel Reinforcement Calculator
Estimate reinforcement required in foundations and structural members.
- Excavation Calculators Hub
Browse all earthwork tools for site preparation and foundation work.