LF Calc

Pipe Linear Foot Calculator

By the Linear Feet Calculator Team | Reviewed by plumbing and utility installation professionals | Updated June 2026

Whether running a new water line, installing irrigation, or laying conduit, pipe is always measured and priced by the linear foot. Enter the distance and select your pipe type to estimate the total linear footage and material cost.

🔧

Linear Feet for Pipe

Calculate linear feet for pipe

Straight-line distance from source to endpoint

Pipe Cost Comparison by Material

Material Material $/LF Installed $/LF
PVC (Schedule 40)$0.50 – $2$2 – $4
PEX$1 – $3$3 – $6
Copper (Type L)$4 – $8$8 – $15
Galvanized Steel$2 – $5$4 – $9
HDPE$1 – $3$2.50 – $6

Costs are national averages including labor, 2026. Trenching cost is separate — add $5-10/LF for trenching and backfill.

How Plumbers Calculate Pipe Linear Feet

Unlike lumber or fencing that runs in a straight line, pipe routes go around corners, through walls, and underground. Plumbers add waste for:

  • Vertical rises: Every sink, toilet, and fixture adds vertical feet to the pipe run.
  • Fittings: Each elbow, tee, and coupling adds effective length due to flow resistance. While not literal linear feet, plumbers add an equivalent length for each fitting when sizing pipe.
  • Depth changes: Underground lines must go below the frost line, which can change across a property.
  • Obstacles: Going around concrete slabs, tree roots, or utility lines adds 10-20% to the direct distance.

Frequently Asked Questions

How do you measure linear feet for pipe?
Measure the distance along the planned pipe route from source to destination, accounting for vertical rises, bends, and any obstacles. For underground lines, the trench length is your linear feet. Add 10-15% for fittings, bends, and connections.
How much does it cost to run a water line per linear foot?
Based on 2026 contractor pricing: PVC runs $2-4/LF including trenching, Copper is $8-15/LF, PEX is $3-6/LF. Trenching alone costs $5-10/LF. A typical 100-foot water line replacement costs $1,500-$3,500 total.
How deep should a water line be buried?
Water lines must be buried below the frost line: 36-48 inches in northern states, 12-24 inches in southern states. Check local building codes. Irrigation lines can be shallower, typically 6-12 inches.
What pipe material is best for a main water line?
For replacement: PEX is the most popular choice — flexible, freeze-resistant, and costs $3-6/LF installed. Copper is traditional and durable but costs $8-15/LF. PVC is cheapest at $2-4/LF but can become brittle. HDPE is used for municipal lines.

Related Calculators