Trench excavation and backfill calculator
Quantities for a straight trench. Not a support design, a stability check or a safe-dig method.
Preliminary quantities only. Trench support, battering angles and safe working are matters for a temporary works design and the site’s risk assessment.
Worked examples
EXAMPLE 1: Vertical-sided supported trench
L = 30 m, b = 0.6 m, d = 1.5 m, n = 0, pipe 160 mm OD. A = 1.5 × 0.6 = 0.9 m². V = 27 m³ in place; at bulking 1.25, 33.75 m³ loose. Pipe volume = π × 0.16² / 4 × 30 = 0.603 m³, so backfill ≈ 26.40 m³ in place.
EXAMPLE 2: Same trench battered at 1:1
n = 1. A = 1.5 × (0.6 + 1.5) = 3.15 m². V = 94.5 m³, loose 118.1 m³, top width 3.6 m. Battering more than triples the dig, which is why support is often cheaper in confined sites.
Reading the result
The in-place volume is what you pay to dig. The loose volume is what goes in the lorry or the stockpile. Backfill in place is what you need to replace after compaction, which may need more than the in-place volume of imported material because imported fill is bought loose and compacts down.
Over-dig, sumps, manhole positions and changes in depth along the line are not included. For a varying invert, split the run into lengths of near-constant depth and add them.
Typical values
Indicative bulking factors (illustrative only; use site or supplier data):
| Material | Bulking factor (indicative) |
|---|---|
| Sand and gravel | 1.10–1.15 |
| Topsoil | 1.25–1.35 |
| Firm clay | 1.30–1.40 |
| Blasted rock | 1.50–1.70 |
Common mistakes
- Using nominal pipe size instead of outside diameter.
- Treating side slope as an angle; here n is horizontal per 1 vertical on each side.
- Applying bulking to the backfill requirement instead of the spoil.
- Ignoring extra width for working space or trench boxes.
- Using the deepest invert for the whole run.
How to use
Enter the length, base width and depth in metres, the side slope n (0 for vertical sides), a bulking factor of 1 or more and the pipe outside diameter in metres. Enter 0 for the diameter if there is no pipe.
Edge cases
- Length, width, depth and bulking must be greater than zero; slope and diameter may be zero.
- A bulking factor below 1 is rejected.
- A pipe larger than the trench section is rejected.
- Inputs over 10¹² are rejected.
Questions
Does a battered trench need support?
That depends on the ground, groundwater, depth and surcharge. This tool does not answer it.
Can I use it for a stepped trench?
Split it into straight lengths of constant section and add the results.
Why is the backfill less than the dig?
Because the pipe takes up some of the space. Compaction and imported material losses are separate.
Basis
This tool uses the formula shown under Method. It is standard arithmetic or physics and relies on no external data set or design standard, so check any values you enter against your own project data.
Last checked 17 October 2026. Preliminary figure only. See methodology and the disclaimer.