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
Results
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
| Symbol | Meaning | Unit |
|---|---|---|
| ΔP | Pressure drop from wall friction | Pa (shown in kPa, bar = Pa / 100000 and psi = Pa / 6894.757293168) |
| f | Darcy friction factor | dimensionless |
| L | Pipe length | m |
| D | Pipe inside diameter | m (entered in mm, D = d / 1000) |
| A | Flow area of the pipe | m2 |
| ρ | Fluid density | kg/m3 |
| V | Mean velocity | m/s |
| Q | Volumetric flow | m3/s in the equations (entered and shown in m3/h, Q / 3600) |
| μ | Dynamic viscosity | Pa·s (entered in cP, μ = cP / 1000) |
| Re | Reynolds number | dimensionless |
| e | Absolute roughness of the pipe wall | m (entered in mm, e = mm / 1000) |
| hf | Head loss | m of fluid |
| g | Standard gravity, 9.80665 | m/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
- Density and viscosity are taken as constant; compressibility is not modeled.
- The result is the wall friction loss of a Newtonian fluid in a full round pipe. Elevation changes and local losses are not included.
- The Swamee-Jain equation is stated valid for Re from 5000 to 108 and e/D from 10-6 to 10-2. Because the page applies it from Re 2300, the friction factor below Re 5000, and outside these limits, is approximate and the validity note appears.
- Sakkas states an error within 1 percent against Colebrook-White, but a check at Re 6000 and e/D 0.009 gives 2.6 percent.
- The roughness of 0.045 mm is the Alfa Laval value for clean commercial steel or wrought iron as given by Moody; the roughness depends on material and age.
- g is the standard gravity 9.80665 m/s2; the sources print 9.81 and 9.807, which changes the head loss slightly.
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:
- 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
- A = π × 0.20322 / 4 = 0.032429279 m2
- V = 0.13 / 0.032429279 = 4.0087231 m/s
- Re = 1000 × 4.0087231 × 0.2032 / 0.00101 = 806507.5, above 4000: turbulent flow
- 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
- 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
- log10(3.444882 × 10-4 + 2.773092 × 10-5) = log10(3.722191 × 10-4) = -3.4292013
- f = 0.25 / (-3.4292013)2 = 0.02125955
- ΔP = 0.02125955 × (1000 / 0.2032) × 1000 × 4.00872312 / 2 = 840645 Pa
- 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
- Enter the pipe inside diameter D in mm and the pipe length L in m.
- 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.
- 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.
- Enter the fluid density in kg/m³ and the dynamic viscosity in cP.
- 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.