Engineering Calculators
Piping & Hydraulics
Complete piping and hydraulic calculations for liquid lines, fittings, pressure losses, system curves, NPSH, gravity flow, gas flow, Mach number, choked-flow screening, surge, line inventory and operating checks. Multiple input/output units and calculation history are included.
Clickable piping workflow
Piping and Hydraulics Design Flow
Follow the sequence from design basis and line sizing through liquid or gas hydraulics, equipment interfaces, transient checks and final line-design closeout. Each button opens the relevant existing calculator.
Hydraulic reference
Pipe Roughness and Darcy Friction Factor Tables
Use the absolute roughness table to select an initial value for hydraulic calculations. Friction factor is not a fixed material property: it depends on Reynolds number and relative roughness ε/D. The interactive table below calculates the Darcy friction factor for every listed material at the selected Reynolds number and internal diameter.
| Pipe material / condition | Typical ε (mm) | Typical ε (ft) | Relative roughness ε/D | Darcy f | Design note | Action |
|---|---|---|---|---|---|---|
| Drawn copper, brass, glass or aluminum | 0.0015 | 4.92e-06 | 1e-05 | 0.0156 | Effectively hydraulically smooth when clean. | |
| PVC / CPVC / smooth plastic | 0.0015 | 4.92e-06 | 1e-05 | 0.0156 | Clean, smooth bore; verify manufacturer data. | |
| HDPE / PE100 | 0.003 | 9.84e-06 | 2e-05 | 0.0157 | Fusion-welded smooth plastic pipe. | |
| GRP / FRP | 0.03 | 9.84e-05 | 0.0002 | 0.0171 | Typical smooth resin bore; manufacturer value preferred. | |
| Stainless steel, clean | 0.015 | 4.92e-05 | 0.0001 | 0.0164 | Representative clean industrial stainless pipe. | |
| Commercial carbon steel, new | 0.045 | 0.000148 | 0.0003 | 0.0178 | Classic new commercial-steel reference value. | |
| Welded carbon steel, new | 0.06 | 0.000197 | 0.0004 | 0.0184 | Typical welded-pipe design value. | |
| Galvanized steel, new | 0.15 | 0.000492 | 0.001 | 0.0212 | New zinc-coated surface. | |
| Cast iron, new and uncoated | 0.26 | 0.000853 | 0.00173 | 0.0237 | Can increase significantly with age and tuberculation. | |
| Ductile iron, cement-mortar lined | 0.1 | 0.000328 | 0.000667 | 0.0198 | Condition and joint quality influence effective roughness. | |
| Cement-mortar-lined steel | 0.1 | 0.000328 | 0.000667 | 0.0198 | Typical intact cement-mortar lining. | |
| Epoxy / FBE-lined steel | 0.01 | 3.28e-05 | 6.67e-05 | 0.0161 | Use coating-vendor value when available. | |
| Rubber-lined steel | 0.03 | 9.84e-05 | 0.0002 | 0.0171 | Typical intact lining; joints may govern. | |
| Asphalt-coated cast iron | 0.12 | 0.000394 | 0.0008 | 0.0204 | Representative coated cast-iron value. | |
| Concrete, smooth / new | 0.3 | 0.000984 | 0.002 | 0.0245 | Finish and joints can materially affect resistance. | |
| Concrete, rough | 3 | 0.00984 | 0.02 | 0.0490 | Poor finish, rough joints, or aged condition. | |
| Carbon steel, lightly corroded | 0.15 | 0.000492 | 0.001 | 0.0212 | Sensitivity case for early internal corrosion. | |
| Carbon steel, moderately corroded | 0.5 | 0.00164 | 0.00333 | 0.0278 | Use only when compatible with inspection and service history. | |
| Carbon steel, heavily corroded / scaled | 2 | 0.00656 | 0.0133 | 0.0423 | Severe condition; hydraulic and integrity review required. | |
| Cast iron, old / corroded | 1.5 | 0.00492 | 0.01 | 0.0384 | Tuberculation can produce much larger resistance. | |
| Riveted steel | 3 | 0.00984 | 0.02 | 0.0490 | Legacy construction; published values span a wide range. |
Friction-factor method
- Laminar: for Re < 2,300, the table uses f = 64/Re and roughness has no effect.
- Transitional: Re from 2,300 to 4,000 is flagged as transitional; avoid relying on a single calculated value for final design.
- Turbulent: Re ≥ 4,000 uses the Swamee-Jain explicit approximation to the Colebrook-White relationship.
- Values are typical references, not measured properties. Pipe age, corrosion, scale, lining condition, fabrication, and service fluid can change effective roughness materially.
- For pump sizing, consider an aged/credible design roughness for required head and a new/clean condition for maximum-flow, motor, NPSH, and control-valve checks.
Piping hydraulics formulas and worked examples
How do you calculate pressure drop in a pipe?
Use the Darcy–Weisbach equation: ΔP = f · (L / D) · (ρ · v² / 2), where f is the Darcy friction factor, L the pipe length, D the internal diameter, ρ the fluid density and v the mean velocity.
Example: water (ρ = 1000 kg/m³) at 2 m/s in 100 m of 150 mm ID commercial steel pipe with f = 0.0175: ρv²/2 = 2000 Pa and L/D = 667, so ΔP = 0.0175 × 667 × 2000 ≈ 23.3 kPa (0.233 bar). Add fitting and valve losses separately.
How do you calculate the Reynolds number?
Re = ρ · v · D / μ. For the example above with μ = 1 mPa·s: Re = 1000 × 2 × 0.15 / 0.001 = 300 000, which is fully turbulent.
Which friction factor equation should be used?
Laminar flow (Re < 2 300) uses f = 64 / Re, independent of roughness. Between Re 2 300 and 4 000 the flow is transitional and should be avoided or checked for both cases. Turbulent flow (Re ≥ 4 000) uses the explicit Swamee–Jain approximation of the Colebrook equation: f = 0.25 / [log10(ε / 3.7D + 5.74 / Re0.9)]².
What is the difference between the Darcy and Fanning friction factors?
The Darcy factor is four times the Fanning factor (fDarcy = 4 · fFanning). Use one consistently; mixing them is a common cause of pressure-drop errors of a factor of four.
Which pipe roughness should I use for design?
Use aged or corroded roughness for the required-head (rated) case and new, clean roughness for maximum-flow, motor-power and NPSH checks, because a smoother pipe lets the pump run further out on its curve. The roughness table above lists typical values.