Darcy-Weisbach Calculator
- Length-to-diameter ratio L/D = 150.00 / 0.30 = 500.00.
- Velocity head = V^2 / (2g) = 2.50^2 / 19.62 = 0.3186 m.
- Head loss hf = f x (L/D) x velocity head = 0.020 x 500.00 x 0.3186 = 3.19 m.
- Pressure drop = density x g x hf = 31,250 Pa = 31.25 kPa.
Our Darcy-Weisbach calculator computes friction loss in a pipe using the equation hf = f x (L/D) x V^2/(2g), where f is the friction factor, L is pipe length, D is diameter, V is velocity, and g is gravitational acceleration. Enter your pipe and flow parameters, and the tool returns head loss in meters along with the equivalent pressure drop in kPa for water. For example, 150 m of 0.3 m pipe at 2.5 m/s with f = 0.02 loses 3.19 m of head, a pressure drop of 31.25 kPa. A second case: 80 m of 0.15 m pipe at 1.8 m/s with f = 0.025 loses 2.20 m (21.60 kPa), where the L/D ratio of 533 does the damage. A third: 500 m of 0.6 m main at 3.2 m/s with f = 0.018 loses 7.83 m (76.80 kPa).
The Darcy-Weisbach equation is the physically grounded way to compute friction loss. Unlike Hazen-Williams, it works for any fluid, any temperature, and any flow regime, because the friction factor f absorbs the physics via the Moody chart. That factor depends on Reynolds number and relative roughness: roughly 0.02 for turbulent water flows, down toward 0.015 for large smooth mains, and up past 0.03 for old, rough pipe. Head loss scales with the square of velocity and inversely with diameter at fixed flow, which is why one pipe size up often quarters the friction loss. Julius Weisbach derived the form in 1845, and Henry Darcy published the original experiments in 1857. This page shows the formula, step-by-step workings, worked examples, and sources.
Worked examples
Water main, 150 m of 300 mm pipe
Primary result: 3.19 m — about 31.25 kPa of pressure surrendered to friction. (0.02 · 150 m · 0.3 m · 2.5 m/s · 1000 kg/m3)
| Head loss | 3.19 m |
| Pressure drop | 31.25 kPa |
| Velocity head | 0.3186 m |
| L/D ratio | 500.00 |
Smaller branch line
Primary result: 2.20 m — the L/D ratio of 533.33 dominates even at modest velocity. (0.025 · 80 m · 0.15 m · 1.8 m/s · 1000 kg/m3)
| Head loss | 2.20 m |
| Pressure drop | 21.60 kPa |
| Velocity head | 0.1651 m |
| L/D ratio | 533.33 |
Long transmission line
Primary result: 7.83 m — half a kilometer of pipe at 3.2 m/s costs 76.80 kPa. (0.018 · 500 m · 0.6 m · 3.2 m/s · 1000 kg/m3)
| Head loss | 7.83 m |
| Pressure drop | 76.80 kPa |
| Velocity head | 0.5219 m |
| L/D ratio | 833.33 |
The equation, term by term
The Darcy-Weisbach equation is the physically grounded way to compute friction loss in a pipe: hf = f x (L/D) x V^2/(2g). Three pieces sit on the right side. The friction factor f captures how rough the pipe wall is and how the flow behaves, and it depends on Reynolds number and relative roughness. The length-to-diameter ratio L/D says how many pipe diameters the fluid must travel through. The velocity head V^2/(2g) measures the kinetic energy of the flow. Multiply them together and you get head loss in meters.
The friction factor f absorbs the physics via the Moody chart, and unlike Hazen-Williams it works for any fluid, any temperature and any flow regime. Typical values run roughly 0.02 for the turbulent water flows in the worked examples, down toward 0.015 for large smooth mains and up past 0.03 for old, rough pipe. Henry Darcy published the original experiments in 1857; Julius Weisbach had derived the form in 1845.
A Darcy-Weisbach calculator assembles the same three terms for each case. The first worked example runs 150 m of 0.3 m pipe at 2.5 m/s with f = 0.02. The L/D ratio is 500 and the velocity head is about 0.319 m, so the product gives 3.19 m of head, a pressure drop of 31.25 kPa in water. The second example uses 80 m of 0.15 m pipe at 1.8 m/s with f = 0.025. Here the L/D ratio of 533 does the damage, and the result is 2.20 m of head, or 21.60 kPa. The third example sends flow through 500 m of 0.6 m main at 3.2 m/s with f = 0.018. The L/D ratio is 833, the velocity head is larger, and the loss reaches 7.83 m, or 76.80 kPa.
Notice what the numbers reveal about scale. Head loss scales with the square of velocity and inversely with diameter at fixed flow, which is why one pipe size up often quarters the friction loss. Doubling velocity quadruples the loss; doubling diameter at the same flow cuts it far more than in half. The friction factor shifts the result but the geometry and speed dominate the answer.
Where the friction factor comes from
The friction factor f is the one variable in the Darcy-Weisbach equation that you cannot measure with a ruler or stopwatch. It absorbs the physics of how the fluid interacts with the pipe wall, and the way you obtain it depends entirely on whether the flow is laminar or turbulent.
In laminar flow, where Reynolds number stays below roughly 2000, the friction factor is a clean theoretical result: f = 64/Re. No chart, no guesswork, no pipe material data needed. The friction factor falls out of the governing equations directly, which is why every Darcy-Weisbach calculator returns an exact value for laminar flow without consulting any reference.
Turbulent flow is harder. Once Reynolds number climbs above roughly 4000, f depends on both Reynolds number and the relative roughness of the pipe wall, which is the ratio of the pipe's internal roughness height to its diameter. Engineers read these two values off the Moody chart, a graphical correlation built from decades of experimental data. The same physics is what makes a Darcy-Weisbach calculator more general than competing methods: because f comes from the Moody chart, the equation works for any fluid, any temperature, and any flow regime, unlike Hazen-Williams.
| Pipe condition | Typical friction factor f | Context |
|---|---|---|
| Large smooth mains | 0.015 | Turbulent water in clean, large-diameter pipe |
| Typical turbulent water flow | 0.02 | Worked example: 150 m of 0.3 m pipe at 2.5 m/s |
| Smaller or moderate pipe | 0.025 | Worked example: 80 m of 0.15 m pipe at 1.8 m/s |
| Large main at higher velocity | 0.018 | Worked example: 500 m of 0.6 m main at 3.2 m/s |
| Old, rough pipe | Above 0.03 | Aged or corroded interior surface |
Head loss vs pressure drop
A Darcy-Weisbach calculator typically reports results in metres of head, which is a fluid-independent measure of energy lost to friction. That independence is the key advantage of thinking in head rather than pressure: 3.19 m of head means the same amount of energy dissipation whether the fluid is water, oil, or something else entirely. Converting that head loss to a pressure drop in kilopascals requires the fluid's density, using the relationship pressure drop equals rho multiplied by g multiplied by hf. For water at standard conditions, 3.19 m of head corresponds to 31.25 kPa, because water has a density of roughly 1000 kg per cubic metre and g is 9.81 metres per second squared.
This distinction matters because the Darcy-Weisbach equation itself is the physically grounded way to compute friction loss in a pipe: hf equals f multiplied by L over D multiplied by V squared over 2g. Unlike Hazen-Williams, it works for any fluid, any temperature, and any flow regime, because the friction factor f absorbs the physics via the Moody chart. The friction factor depends on Reynolds number and relative roughness: roughly 0.02 for turbulent water flows in the worked examples, down toward 0.015 for large smooth mains, and up past 0.03 for old, rough pipe. When you change fluids, the head loss stays the same for a given velocity, but the pressure drop changes with density.
The worked examples make this concrete. 150 m of 0.3 m pipe at 2.5 m/s with f equal to 0.02 loses 3.19 m of head, which is a pressure drop of 31.25 kPa in water. A second case shows 80 m of 0.15 m pipe at 1.8 m/s with f equal to 0.025 losing 2.20 m, or 21.60 kPa, where the L over D ratio of 533 does the damage. A third example involves 500 m of 0.6 m main at 3.2 m/s with f equal to 0.018, losing 7.83 m, or 76.80 kPa. In each case the head loss is universal, but the kPa value assumes water density.
Head loss scales with the square of velocity and inversely with diameter at fixed flow, which is why one pipe size up often quarters the friction loss. Henry Darcy published the original experiments in 1857, and Julius Weisbach had derived the form in 1845, giving the equation its name and its lasting usefulness in pipe flow analysis.
- Head loss in metres is fluid-independent; pressure drop in kPa depends on density
- Pressure drop equals rho times g times hf, so 3.19 m of water head equals 31.25 kPa
- The same head loss produces different pressure drops in fluids with different densities
- Head loss scales with velocity squared and inversely with diameter at fixed flow
Darcy-Weisbach vs Hazen-Williams
The Darcy-Weisbach equation is the physically grounded way to compute friction loss in a pipe: hf = f × (L/D) × V²/(2g). Unlike Hazen-Williams it works for any fluid, any temperature and any flow regime, because the friction factor f absorbs the physics via the Moody chart. That generality is why a Darcy-Weisbach calculator is the tool of choice outside the waterworks niche, where Hazen-Williams remains entrenched for simpler, faster estimates on ambient-temperature water systems.
Hazen-Williams has a real advantage in convenience: it skips the friction-factor lookup entirely, trading precision for speed. But that simplicity comes at a cost. The formula is calibrated for water near ambient temperature and typical turbulent conditions, so it breaks down when you move to viscous fluids, high temperatures, or unusual pipe materials. Darcy-Weisbach generalizes all of that. The friction factor depends on Reynolds number and relative roughness: roughly 0.02 for the turbulent water flows in the worked examples, down toward 0.015 for large smooth mains and up past 0.03 for old, rough pipe. That range captures the full physics that Hazen-Williams quietly hides behind a single empirical coefficient.
The practical difference shows up in the numbers. Consider 150 m of 0.3 m pipe at 2.5 m/s with f = 0.02: it loses 3.19 m of head, a pressure drop of 31.25 kPa in water. A shorter run of 80 m of 0.15 m pipe at 1.8 m/s with f = 0.025 loses 2.20 m (21.60 kPa); the L/D ratio of 533 does the damage. Scale up to a 500 m of 0.6 m main at 3.2 m/s with f = 0.018 and you lose 7.83 m (76.80 kPa). In each case the friction factor reflects actual pipe condition and flow regime, something a fixed Hazen-Williams C-value can only approximate.
Head loss scales with the square of velocity and inversely with diameter at fixed flow, which is why one pipe size up often quarters the friction loss. That sensitivity is exactly what Darcy-Weisbach captures and Hazen-Williams obscures. Henry Darcy published the original experiments in 1857; Julius Weisbach had derived the form in 1845. Their work gave engineers a framework that remains the standard for any fluid, any temperature, and any flow regime, while Hazen-Williams stays a useful shortcut for the narrow conditions it was built to handle.
FAQs
What is the Darcy-Weisbach equation?
The Darcy-Weisbach equation is hf = f (L/D) V^2/(2g). It calculates the head lost to friction in a pipe using the Darcy friction factor, the length-to-diameter ratio, and the velocity head. This gives you the energy lost as fluid travels through a pipe.
How do I find the friction factor?
For laminar flow, f = 64/Re. For turbulent flow, use the Moody chart or the Colebrook equation with the Reynolds number and the pipe's relative roughness. Ordinary turbulent water flow lands near f = 0.015-0.03, which gives you a practical starting range for typical pipe systems.
How do I convert head loss to pressure drop?
Multiply by rho x g. For water, each metre of head is about 9.81 kPa. The first worked example's 3.19 m is 31.25 kPa. This conversion lets you switch from head loss to pressure drop using the fluid's density and gravitational acceleration.
Why does a smaller pipe lose so much more head?
At the same flow, halving the diameter multiplies velocity by four (loss scales with V^2) and doubles L/D - roughly a 32-fold increase in friction loss per unit flow. Upsizing one nominal size is the cheapest fix for reducing friction losses in a pipe system.
What is the velocity head?
The velocity head is V^2/(2g) - the height of fluid column equivalent to the flow's kinetic energy: 0.3186 m at 2.5 m/s. Every fitting and valve is also rated as a multiple of it (the K-factor method), so you can add their losses to straight-pipe friction.
Does Darcy-Weisbach work for gases and oils?
Yes - that is its advantage over Hazen-Williams. Use the fluid's actual density for the pressure conversion, and for gases with large pressure drops use a compressible-flow treatment. This makes Darcy-Weisbach more versatile across different fluids and conditions than simpler methods.