This guide shows you how to calculate pressure loss (also called head loss or friction loss) when a fluid flows through a straight pipe. You enter the pipe’s internal diameter, length, the fluid’s density and viscosity, the flow velocity, and a friction factor, and the calculator returns the pressure drop in pascals (and bar). This is essential for sizing pumps, checking whether a gravity feed will work, or designing a piping system.
Formula
The Darcy–Weisbach equation is the standard method for calculating pressure loss due to friction in a pipe:
ΔP = f × (L / D) × (ρ × v² / 2)
Where:
- ΔP = pressure loss (Pa, or N/m²)
- f = Darcy friction factor (dimensionless, typically 0.01–0.05 for turbulent flow)
- L = pipe length (m)
- D = internal pipe diameter (m)
- ρ = fluid density (kg/m³)
- v = average flow velocity (m/s)
To convert to bar, divide by 100,000 (1 bar = 100,000 Pa). If you prefer head loss in meters of fluid column, use h_f = ΔP / (ρ × g) where g = 9.81 m/s².
Worked Example
Using the default values from the calculator: pipe diameter D = 50 mm (0.050 m), length L = 100 m, flow velocity v = 1.5 m/s, density ρ = 1000 kg/m³ (water at ~20 °C), dynamic viscosity μ = 0.001 Pa·s, and Darcy friction factor f = 0.02.
Step 1: Convert diameter to meters: D = 50 mm = 0.050 m.
Step 2: Calculate the velocity head (ρ × v² / 2):
v² = 1.5² = 2.25 m²/s²
ρ × v² / 2 = 1000 × 2.25 / 2 = 1125 Pa
Step 3: Calculate the length-to-diameter ratio:
L / D = 100 / 0.050 = 2000
Step 4: Multiply by the friction factor:
ΔP = 0.02 × 2000 × 1125 = 45,000 Pa
Step 5: Convert to bar: 45,000 / 100,000 = 0.45 bar.
The calculator gives the same result: 45,000 Pa and 0.450 bar.
Assumptions
- Steady, incompressible flow (valid for liquids and low-speed gases).
- The pipe is straight, horizontal, and of constant cross-section.
- The Darcy friction factor is known or estimated; the calculator does not compute it from Reynolds number.
- No minor losses from fittings, bends, valves, or entrance/exit effects are included.
When to Use This Calculation
Pressure loss calculations are used in piping design, pump selection, and flow analysis. The Darcy–Weisbach equation applies to both laminar and turbulent flow, provided you use the correct friction factor. For laminar flow (Reynolds number < 2300), the friction factor is f = 64 / Re. For turbulent flow, you can estimate f from the Moody chart or use empirical correlations like the Colebrook equation. This calculator is ideal for quick estimates when you already have a friction factor.
How to Read the Result
The pressure loss (ΔP) is the amount of pressure that is “used up” overcoming friction as the fluid travels through the pipe. A higher value means more energy is required to push the fluid. In a system with a pump, the pump must supply at least this pressure plus any other losses (fittings, elevation changes) to maintain the desired flow. If you are designing a gravity-fed system, the available pressure from the height difference must be greater than the total pressure loss or the flow will be lower than expected.
Common Mistakes
- Unit mix-ups: Not converting diameter from mm to m. Always use meters in the formula.
- Using the wrong friction factor: The Darcy friction factor (f) is not the same as the Fanning friction factor (which is f/4). Make sure you are using the correct one for the formula.
- Ignoring minor losses: The calculation only covers straight pipe. Fittings, valves, and bends add significant pressure loss that must be added separately.
- Using the wrong density or viscosity: For water at 20 °C, density is about 998 kg/m³, not 1000, and viscosity is about 0.001 Pa·s. For other fluids, look up the correct values.
- Rounding too early: Keep intermediate values with several significant figures to avoid errors in the final result.
Tips
- For accurate results, determine the friction factor from the Moody chart or an empirical equation based on the Reynolds number and pipe roughness. A typical value for smooth pipes in turbulent flow is 0.02, but it can range from 0.01 to 0.05.
- If you are calculating for a long pipeline, consider that the fluid’s viscosity and density may change with temperature. Use values at the actual operating temperature.
- To include minor losses, add the equivalent length of each fitting (or use the K-factor method) and add that to the pipe length before applying the formula.
- For gases, the Darcy–Weisbach equation works only for small pressure drops (less than about 10% of the absolute pressure). For larger drops, use compressible flow equations.
Troubleshooting
If your result seems too high or too low: Check that the friction factor is realistic. For a 50 mm pipe with water at 1.5 m/s, the Reynolds number is about 75,000 (turbulent), and a friction factor of 0.02 is plausible. If you used 0.01, the pressure loss would halve.
If the calculator gives an error: Make sure all inputs are positive. The minimum values are set to avoid zero or negative diameters, lengths, etc. If you enter a diameter of 0, it will be rejected.
If you are comparing with a real system and the numbers don’t match: The most likely reason is that your real system has fittings, bends, or a different pipe roughness. Also, check whether the flow is actually turbulent; if the Reynolds number is below 2300, the friction factor should be 64/Re, which is often much lower than 0.02.
If you don’t know the friction factor: Use the calculator to estimate the pressure loss for a range of f values (e.g., 0.01, 0.02, 0.03) to see the sensitivity. For a first approximation, start with 0.02 for turbulent water flow in a smooth pipe.
Frequently Asked Questions
Q: What is the difference between pressure loss and head loss?
A: Pressure loss (ΔP) is in pascals or bar. Head loss (h_f) is the equivalent height of a fluid column, in meters, and is calculated as ΔP / (ρ × g). They represent the same energy loss, just in different units.
Q: How do I find the Darcy friction factor?
A: For laminar flow (Re < 2300), f = 64 / Re. For turbulent flow, use the Moody chart or the Colebrook equation, which requires the pipe roughness and Reynolds number. Many online calculators can compute f for you.
Q: Does pipe roughness matter?
A: Yes, rougher pipes have higher friction factors, increasing pressure loss. The Moody chart includes relative roughness (ε/D) to account for this.
Q: Can I use this for gases?
A: Only for small pressure drops (less than ~10% of absolute pressure) where the gas can be treated as incompressible. For larger drops, use compressible flow formulas.
Q: How do I include fittings and valves?
A: Use the equivalent length method: each fitting has an equivalent length of straight pipe that would cause the same loss. Add these to the actual pipe length, then use the formula.
Q: What is a typical pressure loss for a water pipe?
A: For a 50 mm pipe carrying water at 1.5 m/s over 100 m, the loss is about 0.45 bar as calculated. In practice, it varies widely with diameter, flow, and pipe material.
Related
Formula used
in d | Pipe internal diameter | mm | 50 | 0.1 in L | Pipe length | m | 100 | 0.001 in v | Flow velocity | m/s | 1.5 | 0.0001 in rho | Fluid density | kg/m³ | 1000 | 1 in mu | Dynamic viscosity | Pa·s | 0.001 | 0.000001 in f | Darcy friction factor | - | 0.02 | 0.001 out dp | Pressure loss | Pa | f * (L / (d / 1000)) * (rho * v^2 / 2) | 0 out dbar | Pressure loss in bar | bar | dp / 100000 | 3
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Within 10 Percent Calculator – How to Use It5.00 %
- W/W Percentage Calculator: Formula & Examples2.92 %
- Percent Equation: Formula & How to Use It
- Percent of a Number Calculator: Find It Instantly20.00 %
- UWW GPA Calculator: How to Compute Your GPA
- PPM to w/w Calculator: Convert Easily5.0000 %