Darcy-Weisbach Head Loss Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

This Darcy–Weisbach head loss calculator estimates the friction energy loss as fluid moves through a full, pressurized circular pipe. The result helps evaluate whether a pipe can carry a specified flow, how much pump head is consumed by wall friction, and how diameter or material changes affect a line. It applies a fluid-mechanics relationship to Newtonian-fluid inputs, subject to the modeling limits described below.

Introduction: Darcy–Weisbach pipe-friction equation and key formulas

For the entered pipe flow, the calculator determines velocity, Reynolds number, friction factor, friction head loss, and a water-equivalent pressure drop. Its calculation sequence is:

The Darcy–Weisbach relation used to calculate friction head loss is:

h = f · L D · v 2 2 g

For this pipe-friction calculation:

The calculator obtains mean velocity from the entered volumetric flow rate Q and circular cross-sectional area A:

v = Q A = Q π · D 2 4

For the entered fluid and pipe diameter, Reynolds number identifies the regime used by the calculator:

Re = v ν · D

Here ν (nu) is kinematic viscosity in m²/s. Below Re = 2,000, the calculator uses f = 64 / Re. At 2,000 and above, it uses the explicit Swamee–Jain friction-factor approximation rather than iterating the Colebrook–White equation.

The displayed pressure drop is calculated from friction head loss as a water-equivalent value:

Δp = ρ · g · h

The calculator fixes ρ at 1000 kg/m³ and reports the resulting pressure drop in kPa. For a fluid with a substantially different density, scale the reported pressure drop in proportion to that fluid’s density; the head-loss result itself is not changed by density in this calculation.

Darcy–Weisbach pipe inputs and what they mean

These Darcy–Weisbach inputs define the full-pipe friction calculation, and each is entered in SI units:

Darcy–Weisbach outputs and interpreting the results

After submitting the pipe and fluid inputs, the Darcy–Weisbach calculator reports quantities that describe the friction-loss estimate:

For a pressurized-pipe check, compare the friction head loss with the head available from the system. A larger internal diameter reduces velocity for the same flow, while a longer pipe increases loss directly. Roughness and viscosity should be checked carefully because they affect the friction factor rather than acting as simple additive losses.

Worked example: reading a Darcy–Weisbach pipe-loss result

A Darcy–Weisbach calculation is most useful when every input describes the same pipe segment and operating condition. Enter the intended volumetric flow, the pipe’s internal diameter and straight length, a roughness appropriate to the wall condition, and the fluid’s kinematic viscosity.

The calculator first converts flow and diameter into mean velocity. It then forms Reynolds number from that velocity, diameter, and viscosity, which determines whether the laminar expression or the Swamee–Jain branch is used. In the turbulent branch, roughness matters through the ratio ε/D; in the laminar branch, the calculator uses 64/Re.

Finally, the selected friction factor is multiplied by the length-to-diameter ratio and velocity head to produce major head loss. The pressure-drop line is the corresponding value for a density of 1000 kg/m³. When reviewing a result, verify the diameter is internal, the viscosity matches the fluid temperature and condition, and the entered length does not inadvertently include or omit a separate allowance for fittings.

If the friction head loss is too large for the available system head, test a lower flow, a larger pipe diameter, a shorter route, or a pipe with a lower roughness value that is justified by the selected material and condition.

When to use Darcy–Weisbach vs. other pipe-loss methods

Darcy–Weisbach is a general method for estimating major loss in full pressurized pipes, while other hydraulic relationships are tailored to narrower applications. This comparison identifies where this calculator fits:

Method Typical fluids Key inputs Advantages Limitations
Darcy–Weisbach (this calculator) Most Newtonian fluids Q, D, L, ε, ν Uses velocity, viscosity, and roughness; applicable to full pressurized pipes. Reports major straight-pipe loss only and requires suitable fluid-property inputs.
Hazen–Williams Primarily water Q, D, L, CHW Simple to use; widely adopted in water distribution design. Limited to certain fluids and conditions; not valid for many industrial liquids or laminar flows.
Manning or other open-channel formulas Gravity-driven open-channel flows Geometry, slope, roughness coefficient Suitable for partially full conduits, channels, and sewers. Not intended for full pressurized pipes or pump-driven systems.

Use this Darcy–Weisbach calculator when viscosity and pipe roughness are relevant to a full-pipe, pressurized-flow estimate. Use a method intended for open-channel flow when the conduit is not flowing full, and include separately determined minor-loss terms when fittings or valves are important.

Assumptions and limitations for Darcy–Weisbach head loss

This Darcy–Weisbach estimate makes specific assumptions about the pipe flow and the reported pressure conversion:

Because a real piping system can include changing properties, fittings, elevation changes, and operating variation, treat the reported Darcy–Weisbach value as a major-friction estimate. For critical equipment selection or system verification, check applicable design requirements and add all relevant loss components.

Within those limits, the Darcy–Weisbach head loss calculator provides a direct connection between flow rate, internal diameter, roughness, viscosity, and the friction head consumed along a pressurized pipe.

How to use: applying the Darcy-Weisbach equation to a pipe segment

For a full circular pipe, begin by entering values that describe one consistent operating point: flow rate, internal diameter, straight length, wall roughness, and kinematic viscosity. The calculator converts the flow into velocity, evaluates Reynolds number, chooses a friction-factor expression, and returns the major friction head loss. This makes it useful for checking a candidate pipe size, comparing route lengths, or estimating the pump head consumed by a straight run.

The Darcy-Weisbach equation expresses the friction head loss hf as

h f = f L D V 2 2 g

In this pipe-loss expression, f is the Darcy friction factor, L is straight-pipe length, D is internal diameter, V is mean velocity, and g is gravitational acceleration. The velocity-squared term means that increasing flow through an unchanged pipe can raise friction loss sharply. Increasing diameter lowers velocity at a given flow and also changes the length-to-diameter ratio.

Estimating the Darcy–Weisbach friction factor

For Reynolds numbers at or above 2,000, this calculator estimates the Darcy friction factor from Reynolds number and relative roughness with the Swamee-Jain approximation:

f = 0.25 log 10 ε 3.7 D + 5.74 Re 0.9 2

Here, ε is absolute roughness and Re = V D / ν is Reynolds number based on velocity, diameter, and kinematic viscosity. Below Re = 2,000, the calculator instead uses f = 64/Re. Roughness affects the Swamee-Jain result through ε/D, so the same wall texture has a different relative effect in different pipe sizes.

Calculating Darcy–Weisbach head loss and pressure drop

For the entered full-pipe flow rate, the calculator determines mean velocity with:

V = 4 Q π D 2

In this velocity equation, Q is volumetric flow rate and the denominator is the circular pipe area. The calculator then applies the friction factor in the Darcy–Weisbach relation. Its pressure-drop output multiplies head loss by ρg using ρ = 1000 kg/m³ and reports kPa; it is therefore a water-equivalent conversion, not a density-adjustable result.

Typical pipe roughness values

For a Darcy–Weisbach pipe-loss estimate, absolute roughness ε represents wall surface irregularities. Smoother internal surfaces generally give a smaller relative roughness and lower turbulent friction loss. The following table provides representative roughness values in millimeters.

Material ε (mm)
Drawn Copper Tubing 0.0015
Commercial Steel 0.045
Cast Iron 0.26
Concrete 0.30
Riveted Steel 0.90

Use roughness values with care: pipe age, deposits, lining, and condition can differ from a nominal material description. The calculator includes only straight-pipe major loss, so fitting and valve losses should be added separately through appropriate minor-loss coefficients or a justified equivalent-length method.

Darcy–Weisbach pipe design insights

The Darcy–Weisbach results show how the entered pipe geometry and fluid properties drive friction loss. Increasing diameter reduces velocity for a fixed flow and can substantially lower head loss. Increasing straight length raises loss in direct proportion, while increased roughness raises the turbulent friction factor. Kinematic viscosity affects Reynolds number, making it especially important when comparing fluids or operating temperatures.

This calculation assumes steady, incompressible flow in a circular pipe and focuses on major wall-friction loss. It does not calculate static elevation change, pump performance, or minor losses from valves and fittings. For non-circular passages, compressible flow, multiphase flow, or non-Newtonian fluids, a more suitable hydraulic model is needed.

Use the calculator to compare alternatives while holding the operating basis consistent. A result is most meaningful when the flow rate, internal diameter, roughness, and viscosity reflect the actual service condition, and when the reported major loss is combined with the other losses and heads required by the complete piping system.

Arcade Mini-Game: Darcy-Weisbach Head Loss Calculator Calibration Run

Use this quick arcade run to practice separating useful scenario inputs from common planning mistakes before you rely on the calculator output.

Score: 0 Timer: 30s Best: 0

Start the game, then use your pointer or arrow keys to catch useful inputs and avoid bad assumptions.

Fill in pipe and fluid properties to estimate head loss and pressure drop.