MECHOWL ENGINEERING AI
Pipe pressure loss calculator (straight pipe, Darcy–Weisbach)
Finds the pressure loss of a straight circular pipe from the flow, the inner diameter and length of the pipe, the roughness of the inner surface, and the density and viscosity of the fluid. The friction factor is found from 64/Re for laminar flow and from the Colebrook equation for turbulent flow. The loss from the sum of the loss coefficients of fittings and valves (always entered; 0 for a straight pipe only) is added too.
Last updated
Inputs
Results
Results appear here as you enter values.
Results are reference values from your inputs and the stated formulas and standards; they do not guarantee that a design is correct or safe. The final decision rests with you.
References
- Fluid Mechanics (NPTEL 112104118, IIT Kanpur), Lecture 26 “Losses and Friction Factors” · NPTEL (open courses of the Indian Institutes of Technology) · The Darcy–Weisbach equation (26.13), the friction factor of laminar flow (26.14a), laminar flow for Re ≤ 2300 and turbulent flow from Re ≥ 4000, and the Re range of the chart, 10⁴ to 10⁸ · Open the document
- Fluid Mechanics (NPTEL 112104118, IIT Kanpur), Lecture 35 “Concept of Friction Factor” · NPTEL (open courses of the Indian Institutes of Technology) · The mean velocity V = Q/A, equation (35.6a) (pressure loss) and equation (35.6b) (head loss) · Open the document
- Fluid Mechanics (NPTEL 112104118, IIT Kanpur), Lecture 35 “Variation of Friction Factor” · NPTEL (open courses of the Indian Institutes of Technology) · The laminar formula (35.7), f of turbulent flow with the Reynolds number and the relative roughness (Fig. 35.2, Moody chart), Examples 1 to 3 · Open the document
- Fluid Mechanics (NPTEL 112104118, IIT Kanpur), Lecture 37 “Losses In Pipe Fittings” · NPTEL (open courses of the Indian Institutes of Technology) · The losses of fittings expressed with the loss coefficient K (turbulent flow) · Open the document
- Study of Pressure Losses in Tubing and Fittings, Final Report (C. W. Bouchillon and C. T. Carley, Jr., Mississippi State University, NASA contract NAS8-11297, 1966, NTRS 19660025317) · NASA Technical Reports Server (NTRS) · p. 31, equations (15) to (17) (the Darcy–Weisbach equation, the Reynolds number, the Colebrook equation); p. 32, equation (18) (laminar flow) · Open the document
- Engineering Mechanics II (MIT 1.060, 2006), Lecture 16 (lecture notes) · MIT OpenCourseWare · p. 1 (the head loss of a straight pipe); pp. 6–7 (the losses of fittings and the like, and their sum with the loss of the straight pipe) · Open the document
The references were chosen independently by MechOwl; they do not recommend or guarantee this page.
Report an error in this calculation (contact page of the official site, opens in a new tab)
Paste this line into your message:
https://mechowl.com/calc/en/fluid-thermal/pipe-pressure-loss/ (calculation version 0.2.1)
Explanation
When a fluid flows in a pipe, friction with the pipe wall lowers the pressure. The pressure loss of a straight pipe is found from the Darcy–Weisbach equation Δp = f·(L/D)·ρv²/2 (sources NPTEL and the NASA report). The friction factor f is set by the Reynolds number Re, which describes the state of the flow, and by the ratio of the roughness of the inner surface ε/D (source NPTEL). For laminar flow (Re ≤ 2,300; the boundary from NPTEL and the NASA report) f = 64/Re (sources NPTEL and the NASA report); for turbulent flow (Re ≥ 4,000; the boundary from NPTEL) it is found from the Colebrook equation (source the NASA report). In this site’s calculation, f of the Colebrook equation is solved by iteration. The losses of elbows, valves and the like are expressed with the loss coefficient K as K·ρv²/2 (source NPTEL).
How to use
Enter the flow, the inner diameter and length of the pipe, the roughness of the inner surface and the density of the fluid, then choose the viscosity or the kinematic viscosity and enter it. Always enter the sum of the loss coefficients of fittings and valves (“None (0)” for a straight pipe only). With the allowable pressure loss entered, a verdict is given.
Worked examples (hand calculation)
Example 1: Turbulent: inner diameter 250 mm, length 200 m, 0.225 m³/s, ε 0.15 mm, ν 1.14 × 10⁻⁵ m²/s, ρ 1,000 kg/m³ (NPTEL example values)
The inputs are the values of the source (Example 1 of NPTEL 112104118 Lecture 35) (the density is the source’s 10³). v = 0.225 ÷ (π × 0.25²/4) = 4.58366 m/s. Re = 4.58366 × 0.25 ÷ (1.14 × 10⁻⁵) = 100,519 (Re ≥ 4,000: turbulent). ε/D = 0.00015 ÷ 0.25 = 0.0006. The Colebrook equation 1/√f = 1.74 − 0.868 ln(2 × 0.0006 + 18.7/(100,519 × √f)) solved by iteration gives f = 0.0207418 (1/√f = 6.94347). Δp_f = 0.0207418 × (200/0.25) × 1,000 × 4.58366²/2 = 174,314 Pa = 174.314 kPa. The sum of the loss coefficients K = 0 (no fittings or valves), so Δp = Δp_f. h = 174,314 ÷ (1,000 × 9.80665) = 17.7751 m. No allowable pressure loss is entered: “Required performance only”.
Example 2: Laminar: inner diameter 20 mm, length 10 m, 2 L/min, μ 50 mPa·s, ρ 900 kg/m³, allowable 50 kPa (meets)
Values chosen as an example (not in the sources). v = (2/60,000) ÷ (π × 0.02²/4) = 0.106103 m/s. Re = 900 × 0.106103 × 0.02 ÷ 0.05 = 38.1972 (Re ≤ 2,300: laminar). f = 64 ÷ 38.1972 = 1.67552. Δp_f = 1.67552 × (10/0.02) × 900 × 0.106103²/2 = 4,244.13 Pa (the same value as Hagen–Poiseuille 32μLv/D² = 32 × 0.05 × 10 × 0.106103 ÷ 0.02²). Δp = 4.24413 kPa ≤ 50 kPa: “Meets the requirement under the entered conditions” (margin 50 ÷ 4.24413 = 11.781 times). h = 4,244.13 ÷ (900 × 9.80665) = 0.480868 m. ε/D = 0.0025 (not used for f of laminar flow).
Example 3: Turbulent with fittings: inner diameter 50 mm, length 30 m, 200 L/min, ε 0.05 mm, μ 1 mPa·s, ρ 1,000 kg/m³, sum of K 5, allowable 20 kPa (insufficient)
Values chosen as an example (not in the sources). v = (200/60,000) ÷ (π × 0.05²/4) = 1.69765 m/s. Re = 1,000 × 1.69765 × 0.05 ÷ 0.001 = 84,882.6 (turbulent). ε/D = 0.001. The Colebrook equation solved by iteration gives f = 0.0225663. Δp_f = 0.0225663 × (30/0.05) × 1,000 × 1.69765²/2 = 19,511.0 Pa. Δp_K = 5 × 1,000 × 1.69765²/2 = 7,205.06 Pa. Δp = 26,716.0 Pa = 26.716 kPa > 20 kPa: “Insufficient under the entered conditions”. h = 26,716.0 ÷ (1,000 × 9.80665) = 2.72428 m.
Example 4: Upper end of laminar flow: Re = 2,300 (inner diameter 10 mm, ν 1 mm²/s, mean velocity 0.23 m/s, smooth pipe)
The flow is the value giving a mean velocity of 0.23 m/s, Q = 0.23 × π × 0.01²/4 = 1.80642 × 10⁻⁵ m³/s. Re = 0.23 × 0.01 ÷ 10⁻⁶ = 2,300 (exactly the upper end of laminar flow, so laminar). f = 64 ÷ 2,300 = 0.0278261. Δp_f = 0.0278261 × (1/0.01) × 1,000 × 0.23²/2 = 73.6 Pa. h = 73.6 ÷ 9,806.65 = 0.00750511 m.
Example 5: Lower end of turbulent flow: Re = 4,000 (inner diameter 10 mm, ν 1 mm²/s, mean velocity 0.4 m/s, smooth pipe ε = 0)
Q = 0.4 × π × 0.01²/4 = 3.14159 × 10⁻⁵ m³/s. Re = 0.4 × 0.01 ÷ 10⁻⁶ = 4,000 (exactly the lower end of turbulent flow, so turbulent). ε = 0, so 1/√f = 1.74 − 0.868 ln(18.7/(4,000 × √f)) solved by iteration gives f = 0.0399961. Δp_f = 0.0399961 × 100 × 1,000 × 0.4²/2 = 319.969 Pa. h = 0.0326278 m.
Example 6: Transition range: Re = 3,000 (outside the scope)
At a mean velocity of 0.3 m/s, Re = 0.3 × 0.01 ÷ 10⁻⁶ = 3,000. 2,300 < Re < 4,000 is the transition range, neither laminar nor turbulent: “Outside the scope” (no result is given; the reason is shown).
Example 7: Relative roughness 0.06 (outside the scope): inner diameter 10 mm, ε 0.6 mm, turbulent
Re = 4,000 (turbulent). ε/D = 0.6 ÷ 10 = 0.06 > 0.05 (outside the range of the chart of the NPTEL source): “Outside the scope”.
Example 8: Relative roughness 0.1 in laminar flow (outside the scope): inner diameter 20 mm, ε 2 mm, 2 L/min, μ 50 mPa·s
Re = 38.1972 (laminar). ε/D = 2 ÷ 20 = 0.1 > 0.05. f = 64/Re of laminar flow does not depend on the roughness, but the range of this page is ε/D ≤ 0.05 for laminar flow too (the range of the chart of the NPTEL source): “Outside the scope” (0.1.1).
Example 9: Roughness at least half the inner diameter: inner diameter 10 mm, ε 6 mm, Re = 3,000 (the input error first)
ε = 6 mm is at least half (5 mm) of the inner diameter of 10 mm; the roughness would close the pipe, an input error that does not make a physical pipe (the field is the roughness). Re = 3,000 is in the transition range (outside the scope), but the input error is given first (no verdict is given).
Example 10: Loss coefficient K of fittings and valves left blank (conditions missing)
The losses of fittings and valves are added to the loss of the straight pipe, so a blank is not calculated as 0. For a straight pipe only, enter 0 (“None (0)”). It is blank, so nothing is calculated: “Cannot be judged: conditions missing”.
Example 11: Flow 0 (input error)
The flow is a value greater than 0. 0 is an input error (no verdict is given).
Common mistakes
- Calculating with the nominal or outside diameter: D is the inside diameter the fluid flows through. In this site’s calculation, at the same flow the laminar pressure loss is exactly inversely proportional to the 4th power of D (Δp = 128μLQ/(πD⁴), from the formula), and in turbulent flow f also changes with D, so it is roughly inversely proportional to the 5th power (about the 4.75th power for a smooth pipe).
- Mixing up viscosity and kinematic viscosity: the kinematic viscosity ν is the viscosity μ ÷ the density ρ. Check the units (mPa·s and mm²/s) too.
- Using properties at another temperature: viscosity changes greatly with temperature, and the Reynolds number and the friction factor change (this site’s guidance).
FAQ
- Why is there no result in the transition range (2,300 < Re < 4,000)?
- The source (NPTEL) takes laminar flow as Re ≤ 2,300 and turbulent flow as from Re ≥ 4,000. Between them the flow is not settled and neither formula can be said to hold, so this page gives no result (this site’s guidance). Check with values for a changed flow or inner diameter.
- What are the roughness of the pipe and the loss coefficients?
- This page does not set the values. Check them in the documents of the pipe and fitting makers and the like, and enter them (this site’s guidance).
- Can this value be used as the pump head?
- The value of this page is the loss by friction only. When selecting a pump, also add the difference in height, the pressure needed at the outlet and the like, and check in the pump maker’s documents (this site’s guidance).
Scope
The friction pressure loss when an incompressible fluid such as a liquid fills and flows through a straight circular pipe of one inner diameter (laminar Re ≤ 2,300, turbulent 4,000 ≤ Re ≤ 10⁸, relative roughness 0.05 or less for both), and the losses of fittings and valves given by loss coefficients.
Not covered by this calculation:
- The transition range (2,300 < Re < 4,000)
- Relative roughness above 0.05 (laminar flow included)
- Non-circular pipes, pipes with a changing inner diameter, branches and parallel pipes
- Gas flows with a large pressure drop (change of density) and flows that include boiling
- Differences in height, pump selection, and the values of loss coefficients and roughness