Calculate pipe cost from length and price per foot or meter, with optional installation cost, runs, waste, fees and tax, or find the length a budget buys.

Installation, quantity, waste and costs
Labor per foot or meter of installed pipe (base length, not waste). Leave 0 for material only.

Calculator Functions

FunctionWhat it doesWhat it requires
Total pipe priceFinds the cost of a pipe job from its length and price per foot or meterRequires the base length per run, the price per foot or meter and the rate unit
Affordable base length per runFinds how long each run can be within a budgetRequires the total budget, the price per foot or meter, the rate unit and the length unit for the answer
Maximum quoted unit priceFinds the highest price per foot or meter a budget can coverRequires the total budget, the base length per run and the rate unit

Every function has the same optional settings: an installation cost per foot or meter, the number of equal runs, extra purchased length as a percentage for waste, fixed costs for the whole project and a tax percentage. Left alone, they are one run with no installation, waste, fixed costs or tax. Length can be in feet or meters, and 1 ft = 0.3048 m.

Pipe Price Formulas

PP = L × P
PPPipe price ($)
LPipe length (ft or m)
PPrice per foot or per meter, in the same unit as L

With no optional settings the price is length times unit price: 150 ft at $4.20 per foot is $630.00. The optional settings add to that as follows.

Total pipe price

M = L × q × (1 + w ÷ 100) × P
I = L × q × i
Total = (M + I + F) ×
(1 + T ÷ 100)

M is the material cost, q the number of runs, w the waste percentage, I the installation cost at i per foot or meter, F the fixed costs and T the tax percentage. Waste is bought but not installed, so it raises M and not I. Two 100 ft runs at $2.50 per foot with 10% waste, $1.00 per foot installation, $50 fixed costs and 8% tax: M = 220 × 2.50 = $550, I = 200 × 1.00 = $200, and the total is (550 + 200 + 50) × 1.08 = $864.00.

Affordable base length per run

C = B ÷ (1 + T ÷ 100) − F
L = C ÷ (q × (P ×
(1 + w ÷ 100) + i))

B is the budget and C is what is left for pipe and installation after tax and fixed costs. With the figures above and a budget of $864, C = 864 ÷ 1.08 − 50 = $750 and L = 750 ÷ (2 × (2.50 × 1.10 + 1.00)) = 100 ft per run. The answer is rounded down so it never goes over budget.

Maximum quoted unit price

P = (C − L × q × i) ÷
(L × q × (1 + w ÷ 100))

For the same job, P = (750 − 200) ÷ 220 = $2.50 per foot. The price is rounded down to whole cents.

Limits of This Estimate

  • The calculator does not supply prices. Pipe prices depend on material, diameter, wall thickness, supplier and the market on the day, so use a current quote.
  • Length is treated as continuous. Stock lengths, cutting plans, minimum orders, fittings and supplier rounding are not included.
  • The tax percentage is applied to material, installation and fixed costs alike. Whether each of those is taxable depends on local rules.