Earthwork / Trench quantities
Trench Bedding, Backfill and Spoil Calculator
Estimate excavation, bedding, pipe displacement, backfill, and loose spoil. Account for usable excavated soil before planning imports and haul-off.
Plan trench materials
Compare excavation, installed materials, reusable soil, and haul-off for one rectangular trench.
Trench and pipe
One uniform trench section; pipe runs the full length.
Constant internal excavation width from the project dimensions.
Total depth from trench bottom to finished backfill level.
Use actual outside diameter, not nominal bore. Enter 0 for no pipe.
Full-width layer under the pipe only. Enter 0 for no bedding.
Excavated soil
Share of bank excavation suitable and available for backfill. Example only; confirm project suitability.
Loose volume increase relative to bank volume. Example only.
Compacted volume reduction relative to bank volume, not loose volume. Example only.
Excavation and installed materials
- Excavation · bank
- 14.4 m³
- Excavated soil · loose
- 18 m³
- Bedding · compacted in place
- 1.2 m³
- Pipe displacement · geometric
- 0.6283185 m³
- Backfill needed · compacted
- 12.57168 m³
Reuse, import, and haul-off
- Suitable soil available · bank
- 11.52 m³
- Soil actually reused · bank
- 11.52 m³
- Reused backfill · compacted
- 10.368 m³
- Imported backfill needed · compacted
- 2.203681 m³
- Remaining spoil to haul · loose
- 3.6 m³
Method
How to calculate trench bedding and backfill
Use a constant rectangular cross-section. Let L be trench length, W width, H total depth, D pipe outside diameter, and B bedding depth below the pipe. The pipe sits on the bedding and runs the full trench length. Each field may use its own unit; the calculator converts every dimension to a common internal unit before applying the formulas.
- Excavation (bank) = L × W × H
- Bedding (installed) = L × W × B
- Pipe displacement = π × D² ÷ 4 × L
- Backfill (compacted) = excavation − bedding − pipe displacement
Bedding, pipe displacement, and compacted backfill partition the original geometric trench volume. Loose excavated soil is a separate material state and must not be added to that geometric balance.
How reused soil changes import and spoil quantities
Let s be swell percent, r shrinkage percent, and u the percentage of excavation suitable and available for reuse. Define the loose factor as 1 + s/100 and the compacted factor as 1 − r/100. Both factors start from bank volume.
- Suitable soil available (bank) = excavation × u/100
- Soil reused (bank) = smaller of suitable soil available and backfill ÷ compacted factor
- Reused backfill (compacted) = reused bank soil × compacted factor
- Imported backfill (compacted) = backfill needed − reused compacted soil
- Spoil to haul (loose) = (excavation − reused bank soil) × loose factor
Spoil includes unsuitable soil and any surplus suitable soil. The gross “excavated soil · loose” result describes all soil immediately after excavation; “remaining spoil to haul · loose” is the portion left after bank-volume soil reuse. Do not add those two loose quantities together. Use the remaining spoil quantity in the Excavation Haul Cycle and Fleet Calculator when planning trucks.
Imported bedding is separate from imported backfill. Supplier-specific conversion factors and allowances are needed to turn either installed quantity into a loose delivery order. Explore the Soil Swell and Shrink Calculator for volume-state conversions.
Input guidance
Use measured trench dimensions and actual pipe outside diameter
Enter the excavation width and depth from the approved trench detail, takeoff, or measured work. The calculator does not choose working clearance, side slopes, benching, or shoring space. If the cross-section changes, split the run into uniform sections and calculate each one separately.
Each dimension has its own unit selector, so a run can be entered in metres or feet while pipe outside diameter and bedding depth use millimetres or inches. For pipe, use the manufacturer’s actual outside diameter rather than the nominal bore or nominal pipe size.
Worked example
A 20 m trench with a 200 mm pipe
For a trench 20 m long, 0.6 m wide, and 1.2 m deep, with a 0.2 m outside-diameter pipe above 0.1 m of bedding:
- Excavation: 14.4 m³ bank; bedding: 1.2 m³ installed.
- Pipe displacement: approximately 0.628319 m³; backfill: 12.571681 m³ compacted.
- At 80% usable soil, 11.52 m³ bank is available and reused.
- At 10% shrinkage, reused backfill is 10.368 m³ compacted, leaving 2.203681 m³ of imported backfill.
- At 25% swell, initial excavated soil is 18 m³ loose and remaining spoil is 3.6 m³ loose.
The percentages are illustrative inputs, not recommended soil properties. This example needs imported backfill even while exporting spoil because some excavated soil is unavailable for reuse.
Assumptions and limitations
- One pipe only; outside diameter includes its hollow interior because soil cannot occupy that space.
- Bedding is only the rectangular layer below the pipe. Separate granular surround and haunching specifications are not modeled.
- Trench sides are rectangular for quantity calculation. The tool does not establish whether that excavation profile is safe or permitted.
- Material properties are uniform. Reuse suitability and volume factors come from the project.
- No truck counts, rates, compaction equipment, disposal classification, or structural design are included.
Trench bedding and backfill FAQ
Why use outside pipe diameter?
The entire external cylinder displaces soil, including the pipe wall and empty internal space. Using the bore diameter would overestimate backfill.
Does bedding include the material around the pipe?
No. Here bedding is the full-width layer below the pipe. Everything around and above the pipe is counted as backfill. If your specification requires a separate surround material, estimate it separately and adjust the material allocation.
Why can I need imported fill and still have spoil?
Some excavated soil may be unsuitable or unavailable for reuse. Shrinkage also reduces the compacted volume produced by the soil you retain. Import needs and haul-off can therefore occur together.
Are bedding and imported backfill delivery volumes?
No. Both are installed, compacted quantities. Their loose delivery volumes depend on their own material factors, which may differ from those of excavated soil.
What is the difference between excavated loose soil and remaining loose spoil?
Excavated loose soil is the gross loose quantity produced when all bank excavation is disturbed. Remaining loose spoil excludes the bank-volume soil retained for reuse, then applies swell to what remains. Use the remaining spoil result for haul-off planning.
Can I calculate a trench without a pipe?
Yes. Enter zero for pipe diameter. You can also enter zero bedding depth. For changing cross-sections, calculate each uniform section separately.
Can this calculate sloped or benched trench sides?
No. It uses a constant rectangular cross-section. Enter dimensions that represent the quantity basis you are estimating, or divide a varying trench into separately calculated sections. This calculator does not design a protective system.
Calculation basis and source limits
Excavation and bedding use rectangular-prism geometry; pipe displacement uses the outside cylinder volume. Soil conversions use bank-based percentage changes. FHWA guidance supports project-specific material factors, but its roadway cross-section method is not the constant rectangular trench model used here.
FHWA earthwork design and material factors
Unit conversions use international feet, inches, and yards. See NIST’s SI conversion-factor reference for the conversion basis; it does not certify this calculator or its construction assumptions.