Trenching Cost Calculator
Estimate trenching cost by linear foot, production rate, depth or soil factor, machine cost, spoils, backfill, and margin. Results update automatically as inputs change.
How this calculator works
Adjusted hours = trench length / production feet per hour × depth/soil factor. Quote = (hours × loaded hourly cost + internal mobilization + backfill/spoils cost) / (1 - target margin).
Estimate trenching cost per foot from the whole job
Use this calculator for the excavation portion of a defined drainage, irrigation, conduit, water, electrical, or footing trench. Length creates a useful unit price only after production time, equipment and operator cost, transport, backfill, and profit are included.
Define the trench width and depth, soil and access assumptions, spoil destination, and required restoration before quoting. The calculator does not price pipe, conduit, wiring, connection work, permits, engineered trench protection, or surface restoration automatically. Add their applicable costs only when they belong to your scope, with a documented breakdown.
Worked example: a 220 ft trench
These illustrative assumptions match the calculator defaults; they are not a local market rate or a safe excavation plan.
- Working hours: 220 ft / 55 ft per hour × 1.25 depth/soil factor = 5 hours.
- Working cost: 5 × $115 loaded machine-and-operator cost = $575.
- Cost before profit: $575 + $150 internal mobilization cost + $175 backfill/spoils cost = $900.
- Customer quote: $900 / (1 - 0.27) = $1,232.88 at a 27% target margin. Divide by 220 ft for about $5.60 per linear foot; estimated profit is $332.88 before omitted costs.
If production falls to 35 ft per hour and every other input stays the same, adjusted hours rise to about 7.86, the quote becomes $1,682.97, and price per foot becomes about $7.65. Use this to test an uncertain assumption, not to assign a standard rate to rocky or wet ground.
Support production, depth, and soil assumptions
Start with feet completed per working hour on jobs with similar width, depth, soil, equipment, utilities, and access. Split an estimate into sections when conditions change. A narrow irrigation cut, a wider footing trench, and a trench requiring careful hand work should not inherit one unsupported production rate.
Use the factor to adjust a documented baseline, or use a production rate already reflecting the conditions and keep the factor at 1.0. Applying both adjustments for the same delay can count it twice. A depth/soil factor cannot determine utility clearance, trench stability, protective systems, or safe working methods.
When repeatable cycles can be measured, the production and unit-cost calculator can check a compatible production assumption. For spoil hauled away in repeated truck loads, support that separate allowance with the dump-truck cycle hauling calculator.
Keep internal cost separate from a mobilization selling price
The Mobilization input is your internal move and setup cost before profit. It is added to working cost and backfill/spoils cost, and the target margin is then applied to the combined total. Use the cost per haul from the Trailer Hauling Cost Calculator to support transport cost and include the number of moves the job requires.
Do not paste a margin-loaded customer fee from the Mobilization Fee Calculator into this cost field. That tool prices a separately sold mobilization line. If mobilization is quoted separately, reconcile it outside this combined estimate so its cost and profit are not added twice.
State what the trenching quote includes
- Excavation: length, width, depth, equipment access, and the baseline soil assumption.
- Backfill and spoil: bedding, imported fill, handling, compaction, export, and disposal. Include paid backfill time not already counted in working hours.
- Finished surface: clarify whether topsoil, seed, paving, concrete, or other restoration is included or excluded.
- Changed conditions: state how utility conflicts, required hand work, rock, water, different material, or extra restoration will change the scope and price.
Verify required locates, plans, permits, and qualified safety requirements separately before work. Keep the agreed scope and actual feet, hours, spoil loads, and backfill costs with the estimate to improve future production assumptions.
Optional project software
Record trench scope and changed conditions
Keep the quoted length, depth, backfill allowance, site assumptions, and approved changes with the estimate. Daily notes and actual expenses help explain why a trench took more time or required extra spoil handling.
If several jobs or crew members share those records, Contractor Foreman is one option to compare for estimates, daily logs, expenses, and change orders. Test it against a representative trenching job before choosing software.
Equipment Rate Calc is a Contractor Foreman affiliate. We may earn a commission if you purchase through this link.
Explore Contractor Foreman (opens in a new tab)Review current features and plans, then test the workflow with a representative job.
Trenching price-per-foot questions
How is trenching cost per linear foot calculated?
The calculator adds loaded working cost, internal mobilization, and backfill/spoils cost, divides by one minus the target margin, then divides the resulting customer quote by trench length. Its displayed price per foot reflects your inputs, not a published market average.
Does the estimate include pipe, bedding, backfill, and restoration?
Only costs you enter are included. Use Backfill / Spoils Cost for supported job extras outside working cost, with an itemized breakdown. Pipe, connections, permits, specialized labor, and surface restoration are not added automatically.
Why does a shorter trench have a higher price per foot?
Transport, setup, and some backfill or disposal costs may remain even when length falls. For example, halving the default length to 110 ft while keeping all other default inputs gives a $839.04 quote, or about $7.63 per foot. That comparison assumes the same fixed extras; change them if the shorter job requires less.
Should I enter a mobilization charge that already includes profit?
No. Enter internal move and setup cost here because the trenching calculator applies its target margin afterward. A separately priced customer mobilization fee must be reconciled outside this combined quote to avoid counting cost or profit twice.