Pipe Friction Loss Calculator API
Calculate friction head loss and pressure drop in a pipe from flow rate, diameter, length and material. Uses Darcy–Weisbach with the Colebrook friction factor, or Hazen–Williams for water, with optional minor (fitting) losses and metric or imperial units.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Flow Rate
x >= 0Inside Diameter
x >= 0Pipe Length
x >= 0Method
darcy, hazen Flow Unit
lpm, lps, m3h, gpm, cfm Diameter Unit
mm, in, m Length Unit
m, ft Pipe Material
pvc, copper, steel, galvanized, cast-iron, concrete, custom Absolute Roughness (mm)
x >= 0Hazen–Williams C
x >= 1Fittings Loss Coefficient (ΣK)
x >= 0Fluid
water20, water60, seawater20, ethanol20, sae30, custom Density (kg/m³)
x >= 0Dynamic Viscosity (cP)
x >= 0Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.