Fluids & Hydraulics

Darcy–Weisbach Pipe Head Loss Calculator

Calculate straight-pipe friction head loss using a separately determined Darcy friction factor.

How the calculation works

Friction head loss = factor*length/diameter*velocity**2/(2*gravity) m. Pressure loss = factor*length/diameter*velocity**2*density/2 Pa.

Worked example

Example inputs — Darcy friction factor (not Fanning): 0.02; Pipe length (m): 100; Internal diameter (m): 0.05; Mean velocity (m/s): 2; Gravity (m/s²): 9.81; Fluid density (kg/m³): 1000. Expected results — Friction head loss: 8.154943935 m; Pressure loss: 80000 Pa.

Assumptions and limits

Simplified fluid model with SI inputs. Results are not a pressure-vessel, piping-code, flood-control or safety certification. Uniform, fully filled pipe and a Darcy friction factor supplied for the actual flow regime. Excludes fittings, elevation and pump head.

Reference and further reading

Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.

Related calculators

Browse all 1000 calculators →

Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.