Maritime Science Life

Calculations with context

Pipe pressure-loss calculator

Calculate Darcy–Weisbach friction and local losses in one circular pipe segment; inspect Reynolds number and flow-regime limits.

Trace the loss through a pipe

Convert flow and geometry to SI, identify the flow regime, then separate pipe-wall friction from fittings. The model solves one full circular pipe at a prescribed steady flow.

hL = [fD(L/D) + ΣK] v²/(2g) Δploss = ρg hL

Inputs and assumptions

Use a decimal dot or comma, with no thousands separators. Scientific notation is accepted. Values are not inferred from a fluid name.

0–100000 m³/h; nonzero minimum 0.000001. Forward-flow magnitude only.
1–10000 mm. Use actual bore, not nominal pipe size or outside diameter.
0–100000 m; nonzero minimum 0.000001. Do not include fitting equivalent lengths if also counted in ΣK.
0–100 mm; ε/D ≤ 0.05. Zero is ideal hydraulically smooth. Nonzero minimum 0.000001.
0–10000; all coefficients must use this pipe velocity. Nonzero minimum 0.000001.
100–20000 kg/m³. Initial 1000 is an illustrative value; enter relevant properties.
0.001–100000 mPa·s. This is dynamic viscosity, not kinematic viscosity in cSt.
0.1–30 m/s². Initial 9.80665 is conventional standard gravity, not a local measurement.

Derived limits: velocity ≤ 50 m/s; for nonzero flow, 0.001 ≤ Re ≤ 100000000; ε/D ≤ 0.05. These are tool bounds, not acceptable operating limits.

Calculated result

Illustrative starting example. Edit the inputs to explore the model.

QuantityValueUnit
Flow regimeTurbulent
Frictional pressure loss10.42418kPa
Δp0.1042418bar
Total loss head1.06297m
Pipe-wall loss0.8138412m
Fitting / local loss0.2491292m
Mean velocity1.105243m/s
Re88419.411
Darcy friction factor0.020907161
ε/D0.00056251
L/D6251
Cross-sectional area0.005026548m²
Velocity head0.0622823m
Hydraulic dissipation57.9121W

This is dissipative pressure loss. The actual pressure difference between two points also depends on elevation, changes in velocity and any pumps or turbines.

Head-loss componentsBars compare straight-pipe and local losses using the same velocity reference. Values are also listed in the result table.Pipe-wall loss: 0.8138412 mFitting / local loss: 0.2491292 m
Bars compare straight-pipe and local losses using the same velocity reference. Values are also listed in the result table.

Calculation trace

  1. Q = 20 ÷ 3600 = 0.005555556 m³/s; D = 80 ÷ 1000 = 0.08 m
  2. ε = 0.045 ÷ 1000 = 0.000045 m; μ = 1 ÷ 1000 = 0.001 Pa·s
  3. A = π × 0.08² ÷ 4 = 0.005026548 m²
  4. v = 0.005555556 ÷ 0.005026548 = 1.105243 m/s
  5. Re = 1000 × 1.105243 × 0.08 ÷ 0.001 = 88419.41
  6. ε/D = 0.000045 ÷ 0.08 = 0.0005625
  7. x + 2 log₁₀[0.0005625/3.7 + 2.51x/88419.41] = 0; x = 6.91596; fD = 1/x² = 0.02090716
  8. v²/(2g) = 1.105243² ÷ (2 × 9.80665) = 0.0622823 m
  9. hm = 4 × 0.0622823 = 0.2491292 m
  10. hf = 0.02090716 × (50/0.08) × 0.0622823 = 0.8138412 m
  11. hL = 0.8138412 + 0.2491292 = 1.06297 m
  12. Δp = 1000 × 9.80665 × 1.06297 = 10424.18 Pa
  13. QΔp = 0.005555556 × 10424.18 = 57.9121 W

Numerical checks

Colebrook solver
QuantityValueUnit
ConvergedYes
Iterations45
Equation residual-0.00000000000038369311
Residual tolerance1e-121

Pressure-form consistency

Δp − [fD(L/D) + ΣK]ρv²/2 = 0 Pa

Displayed values are rounded; computation and CSV use unrounded values. A small arithmetic residual checks implementation consistency, not physical accuracy.

Sensitivity: change one assumption

Recalculate at 0.5× to 1.5× the current flow, with bore, length, roughness, ΣK and liquid properties fixed. The friction factor is solved again for each row. A transition or out-of-envelope row has no total loss; no power-law extrapolation is used.
Q ×Q · m³/hRefDhL · mΔp · kPaFlow regime
0.51044209.710.023234040.28838692.828109Turbulent
0.751566314.560.021770130.61681656.048904Turbulent
12088419.410.020907161.0629710.42418Turbulent
1.2525110524.30.020328951.62572315.9429Turbulent
1.530132629.10.019911142.30444822.59891Turbulent

The calculation and CSV are created in this page in your browser. This calculator does not transmit or store the inputs.

How the calculation works

1. Convert Q from m³/h to m³/s by dividing by 3600. Divide D and ε in mm by 1000 to obtain metres. Divide μ in mPa·s by 1000 to obtain Pa·s. Density and gravity are already in SI.

2. For a full circular bore, A = πD²/4 and v = Q/A. Reynolds number is Re = ρvD/μ. Relative roughness is ε/D. The tool assumes incompressible, single-phase, Newtonian flow with fully developed wall friction.

3. For 0 < Re < 2000, the Darcy factor is 64/Re. For 2000 ≤ Re ≤ 4000, this tool withholds the friction factor and total loss rather than presenting an unqualified transition estimate. Regime boundaries are a modelling convention, not a guarantee about actual disturbances.

4. For Re > 4000, solve 1/√fD = −2 log₁₀[ε/(3.7D) + 2.51/(Re√fD)]. The factor is Darcy, four times the Fanning factor. The solver uses x = 1/√fD and bisection on [1, 100], stopping at absolute equation residual ≤ 10⁻¹² within at most 100 iterations. No result is accepted after non-convergence.

5. Compute velocity head v²/(2g), major loss fD(L/D)v²/(2g), and local loss ΣK v²/(2g). Add the losses and convert with Δploss = ρg hL. The reported ρgQhL is hydraulic dissipation, not motor input power.

6. Check Δploss against [fD(L/D) + ΣK]ρv²/2. In laminar flow, compare the major-loss pressure with Hagen–Poiseuille: 128μLQ/(πD⁴). These algebraically independent evaluations help expose conversion mistakes, but cannot validate the fluid or installation.

Worked examples and interpretation

The starting example uses Q = 20 m³/h, D = 80 mm, L = 50 m, ε = 0.045 mm, ΣK = 4, ρ = 1000 kg/m³, μ = 1 mPa·s and g = 9.80665 m/s². It is an illustrative liquid and pipe combination, not a material or temperature property lookup. The live trace below substitutes every input.

Laminar cross-check: Q = 0.18 m³/h, D = 20 mm, L = 10 m, μ = 10 mPa·s, ρ = 1000 kg/m³ and ΣK = 0. Then Q = 0.00005 m³/s, v ≈ 0.159155 m/s, Re ≈ 318.310 and fD ≈ 0.201062. Hagen–Poiseuille gives Δp ≈ 1273.239545 Pa. Load the example to compare both routes.

A change in flow changes Reynolds number and usually the friction factor. In laminar flow, straight-pipe pressure loss is proportional to Q; the fixed-K term is proportional to Q². In turbulent flow, recompute fD instead of assuming it is constant.

Changing gravity changes the head measured in metres, but it does not change the calculated frictional pressure loss for the same flow, geometry and properties. This follows because g cancels between the head and pressure formulas.

Model boundaries

  • One full, constant-bore circular pipe with one prescribed steady flow. No branched-network solution, pump operating point, free-surface flow, compressible gas, two-phase mixture, slurry, yield-stress or non-Newtonian fluid model.
  • Density, viscosity, roughness and ΣK must represent the actual condition. Temperature, salinity, corrosion, deposits, fouling, valve opening and ageing are not inferred. A numerical result is not evidence that these inputs are correct.
  • Fully developed wall friction is assumed. Entrance, swirl, closely spaced fittings and developing flow are not resolved. Generic high-Re fitting K values may be unsuitable at low Re; verify the component data.
  • The result excludes static elevation and pressure boundaries, water hammer, cavitation, vapor pressure, NPSH, erosion, vibration, pipe stress, heat transfer and class or regulatory acceptance.
  • Head in metres is metres of the entered liquid. Do not read it as metres of water unless the density actually represents water. No result approves an operating velocity, pump, valve, line size or safety margin.

Method sources

Primary technical references for the equations. The input envelope, transition hold and solver tolerances are conservative implementation choices, not certification criteria.

fluids-1.0.0

Read the method and its limits

Related project: ShipExact

All calculators