Queendom Tools

Darcy-Weisbach Pressure Drop Calculator

This calculator gives the pressure drop of a fluid flowing through a straight round pipe by the Darcy-Weisbach equation. Enter the pipe inside diameter, length and absolute roughness, the mean velocity or the volumetric flow, the fluid density and the dynamic viscosity.

It returns the Reynolds number, the flow regime, the Darcy friction factor, the velocity and flow, the head loss in metres of fluid and the pressure drop in kPa, bar and psi. The friction factor is 64/Re in laminar flow and the explicit Swamee-Jain value in turbulent flow.

Calculator

Straight round pipe of inside diameter D and length L, wall roughness e, mean velocity V and flow Q, pressure p1 at the inlet and p2 at the outlet e V, Q D L p1 p2
ΔP = p1 − p2 is the wall friction loss over the length L of a full round pipe, with no change in elevation and no local losses.

Results

Reynolds number Re (dimensionless)—
Friction factor f (dimensionless)—
Flow regime—
Velocity V—m/s
Flow Q—m³/h
Head loss hf—m
Pressure drop ΔP—kPa
Pressure drop ΔP—bar
Pressure drop ΔP—psi

The formulas with your values substituted appear here.

Theory: Darcy-Weisbach pressure loss

Equations

Pressure lossΔP = f × (L / D) × ρ V2 / 2

Head losshf = ΔP / (ρ g)

Velocity and flowA = π D2 / 4,   V = Q / A

Reynolds numberRe = ρ V D / μ

Laminar, Re < 2300f = 64 / Re

Turbulent, Re > 4000f = 0.25 / [log10(e / (3.7 D) + 5.74 / Re0.9)]2

2300 ≤ Re ≤ 4000f = the higher of 64 / Re and the Swamee-Jain value

Symbols

SymbolMeaningUnit
ΔPPressure drop from wall frictionPa (shown in kPa, bar = Pa / 100000 and psi = Pa / 6894.757293168)
fDarcy friction factordimensionless
LPipe lengthm
DPipe inside diameterm (entered in mm, D = d / 1000)
AFlow area of the pipem2
ρFluid densitykg/m3
VMean velocitym/s
QVolumetric flowm3/s in the equations (entered and shown in m3/h, Q / 3600)
μDynamic viscosityPa·s (entered in cP, μ = cP / 1000)
ReReynolds numberdimensionless
eAbsolute roughness of the pipe wallm (entered in mm, e = mm / 1000)
hfHead lossm of fluid
gStandard gravity, 9.80665m/s2

Where the equations come from

The pressure loss equation in SI units and the regime limits are those of the Alfa Laval Pump Handbook, section 2.0: laminar flow for Re below 2300, transitional flow from 2300 to 4000 and turbulent flow above 4000, with f = 64 / Re in laminar flow. The head loss is ΔP / (ρ g). For turbulent flow the page uses the explicit equation of Swamee and Jain as printed by Sakkas (Water Utility Journal 7, 2014, eq. 7); the ASCE 1976 original is not open. In the transitional range the page takes the higher loss of the laminar and turbulent values, and it applies Swamee-Jain from Re 2300 upward.

When it does not hold

Worked example

Example 1 of Sakkas: D = 203.2 mm, e = 0.259 mm, L = 1000 m, Q = 0.130 m3/s = 468 m3/h, kinematic viscosity 1.01 × 10-6 m2/s, entered as ρ = 1000 kg/m3 and μ = 1.01 cP. Sakkas prints 85.216 m for this case, from the Colebrook-White equation solved by iteration with g = 9.81 m/s2; the Swamee-Jain equation with the same g gives 85.69 m. With g = 9.80665 m/s2 the page computes:

  1. D = 203.2 / 1000 = 0.2032 m; e = 0.259 / 1000 = 2.59 × 10-4 m; μ = 1.01 / 1000 = 0.00101 Pa·s; Q = 468 / 3600 = 0.13 m3/s
  2. A = π × 0.20322 / 4 = 0.032429279 m2
  3. V = 0.13 / 0.032429279 = 4.0087231 m/s
  4. Re = 1000 × 4.0087231 × 0.2032 / 0.00101 = 806507.5, above 4000: turbulent flow
  5. e/D = 2.59 × 10-4 / 0.2032 = 0.001274606, inside 10-6 to 10-2, and Re inside 5000 to 108: no validity note
  6. e / (3.7 D) = 2.59 × 10-4 / (3.7 × 0.2032) = 3.444882 × 10-4; Re0.9 = 806507.50.9 = 206989.1; 5.74 / 206989.1 = 2.773092 × 10-5
  7. log10(3.444882 × 10-4 + 2.773092 × 10-5) = log10(3.722191 × 10-4) = -3.4292013
  8. f = 0.25 / (-3.4292013)2 = 0.02125955
  9. ΔP = 0.02125955 × (1000 / 0.2032) × 1000 × 4.00872312 / 2 = 840645 Pa
  10. hf = 840645 / (1000 × 9.80665) = 85.72 m

Source: Sakkas, Water Utility Journal 7 (2014), section 1.2.3, Example 1; Alfa Laval Pump Handbook (2026), section 2.0.

How to use the calculator

  1. Enter the pipe inside diameter D in mm and the pipe length L in m.
  2. Enter the absolute roughness e of the pipe wall in mm. The default 0.045 mm is the value for clean commercial steel or wrought iron.
  3. Choose in the menu whether you know the velocity V in m/s or the flow Q in m³/h, then enter that value. Changing the menu keeps the number and changes its unit.
  4. Enter the fluid density in kg/m³ and the dynamic viscosity in cP.
  5. Read the Reynolds number, the flow regime, the friction factor, the head loss and the pressure drop. The results update as you type; check the validity note when it appears.

Frequently asked questions

How is the friction factor found?

In laminar flow, with Re below 2300, the page uses f = 64/Re. In turbulent flow, with Re above 4000, it uses the explicit equation of Swamee and Jain: f = 0.25 divided by the square of log₁₀(e/(3.7 D) + 5.74/Re to the power 0.9), with e and D in the same unit. In the transitional range from 2300 to 4000 it uses the higher of the two values.

Why is a Reynolds number of exactly 2300 transitional?

The Alfa Laval Pump Handbook puts laminar flow below Re 2300, transitional flow from 2300 to 4000 and turbulent flow above 4000. A Reynolds number of exactly 2300 therefore falls in the transitional range, where the page shows the higher of the laminar and turbulent losses.

What roughness applies to clean commercial steel?

The Alfa Laval Pump Handbook gives an absolute roughness of 0.045 mm for clean commercial steel or wrought iron, as given by Moody. It is the default value of the calculator. The roughness depends on the material and its age.

How are velocity and flow related?

V = 4 × (Q/3600) / (π × (D/1000)²), with V in m/s, Q in m³/h and D in mm. The division by 3600 turns m³/h into m³/s and the division by 1000 turns mm into m. The calculator derives whichever of the two you do not enter.

Disclaimer

For preliminary estimation only. This calculator is not a substitute for a pipe system design or review by a qualified engineer.