Fluid Mechanics

Darcy–Weisbach Pressure Drop Calculator — Head Loss & Flow Rate

Calculate major pipe pressure drop and head loss from flow, or solve volumetric flow rate from an available pressure or head-loss limit, using a known Darcy friction factor or an automatically calculated factor from Reynolds number and pipe roughness.

Unit-aware inputs Deterministic calculation Engineering interpretation
Calculation workspace

Enter the known values and review the calculated result

Deterministic calculation
01
Parameters

Input parameters

Use consistent values and select the intended engineering units.

Calculation mode

Friction factor mode

Pipe geometry

Fluid properties

Flow input

Available friction loss

Friction factor calculation

Known friction factor

02
Output

Results

Live
Ready to calculate Complete the required inputs and run the calculation.
Engineering Pro Save, document and continue this calculation

Turn this result into a reusable engineering record with saving, PDF export and reporting workflows.

Engineering reference

Method, application and limitations

Review the calculation method, intended application and engineering assumptions before using the result in a design decision.

01
Method

Formula and calculation method

Darcy–Weisbach pressure drop and head loss

The calculator evaluates major friction loss in a straight circular pipe using the Darcy–Weisbach equation:

Δp = λ · (L / D) · (ρ · v² / 2)

Hf = Δp / (ρ · g) = λ · (L / D) · (v² / (2 · g))

The gravitational acceleration used by the calculator is:

g = 9.80665 m/s²

Flow rate and velocity

For a circular pipe:

A = π · D² / 4

v = Q / A

Q = v · A

In pressure-loss-from-flow mode, either volumetric flow rate Q or mean velocity v is entered. The calculator derives the other quantity from the pipe cross-sectional area.

Reynolds number and relative roughness

When the Darcy friction factor is calculated automatically:

Re = ρ · v · D / μ

ε / D = relative roughness

Darcy friction factor

For laminar flow with Re < 2300:

λ = 64 / Re

For Re ≥ 2300, the calculator uses the Churchill friction-factor correlation:

λ = 8 · [(8 / Re)12 + 1 / (AC + BC)3/2]1/12

AC = [2.457 · ln(1 / ((7 / Re)0.9 + 0.27 · ε / D))]16

BC = (37530 / Re)16

Results with 2300 ≤ Re < 4000 are classified as transitional and reported with an engineering warning because friction behavior in this range can be sensitive to disturbances and inlet conditions.

In known-friction-factor mode, the entered Darcy friction factor λ is used directly and Reynolds number is not required to calculate the loss.

Flow rate from available pressure or head loss

If an available pressure loss is entered, the target pressure loss is used directly. If an available head loss is entered, it is converted using:

Δptarget = ρ · g · Hf,target

With a known Darcy friction factor, mean velocity can be solved directly:

v = √[(2 · Δptarget · D) / (λ · L · ρ)]

The corresponding volumetric flow rate is:

Q = v · A

When the friction factor is calculated automatically, λ changes with Reynolds number and therefore with velocity. The calculator solves the Darcy–Weisbach equation numerically until the calculated major pressure loss matches the entered pressure-loss or head-loss target.

Additional results

Major pressure gradient:

Δp / L

Hydraulic power dissipated by major pipe friction:

Ploss = Δp · Q

where:

  • Δp — major pressure loss due to pipe friction (Pa)
  • Hf — major friction head loss (m)
  • λ — Darcy friction factor (-)
  • L — pipe length (m)
  • D — pipe inner diameter (m)
  • ρ — fluid density (kg/m³)
  • v — mean flow velocity (m/s)
  • Q — volumetric flow rate (m³/s)
  • A — pipe cross-sectional area (m²)
  • μ — dynamic viscosity (Pa·s)
  • ε — absolute pipe roughness (m)
  • ε / D — relative roughness (-)
  • Re — Reynolds number (-)
  • Ploss — hydraulic power dissipated by major friction (W)
  • g — gravitational acceleration, 9.80665 m/s²
02
Application

When to use this calculator

Use this calculator to evaluate major friction losses in a straight, constant-diameter circular pipe or to determine the flow rate corresponding to an available major pressure-loss or head-loss allowance.

  • Calculate Darcy–Weisbach pressure drop from volumetric flow rate or mean flow velocity.
  • Calculate major friction head loss for a specified pipe length and inner diameter.
  • Solve volumetric flow rate from an available pressure-loss limit.
  • Solve volumetric flow rate from an available friction head-loss limit.
  • Use a known Darcy friction factor when it has already been established from another calculation, specification, Moody chart, or validated source.
  • Automatically calculate the Darcy friction factor from Reynolds number and pipe roughness.
  • Identify laminar, transitional, or turbulent flow when automatic friction-factor mode is used.
  • Evaluate mean velocity, pressure gradient, relative roughness, and hydraulic power dissipated by pipe friction.

This calculator evaluates major distributed pipe friction only. It does not add losses from valves, elbows, tees, entrances, exits, reducers, equipment, or other fittings, and it does not include static elevation head, pumps, turbines, or transient pressure effects.

A more detailed hydraulic model should be used when density changes significantly along the pipe, the fluid is non-Newtonian or multiphase, the pipe diameter varies, local losses are important, or the complete pressure balance of a piping network is required.

03
Decision support

How to interpret the result

The reported pressure loss Δp and head loss Hf represent major distributed friction loss along the modeled pipe length. They do not represent every contribution to the total system pressure difference.

In pressure-loss-from-flow mode, the calculator starts from the entered volumetric flow rate or mean velocity and determines the resulting major pressure loss and head loss. In flow-from-loss mode, it reverses the calculation and determines the volumetric flow rate that produces the entered available friction loss.

Primary results

  • Δp — Major pressure loss: pressure dissipated by wall friction over the entered pipe length.
  • Hf — Major head loss: the same friction loss expressed as energy per unit fluid weight, or equivalent fluid-column height.
  • Q — Volumetric flow rate: the entered, derived, or solved volumetric flow rate depending on the selected calculation mode.

Supporting results

  • Mean velocity: average velocity through the circular pipe cross-section.
  • Pressure gradient Δp/L: major friction pressure loss per unit pipe length.
  • Hydraulic power loss: Δp · Q, representing the hydraulic power dissipated by the modeled major friction loss.
  • Darcy friction factor: either the user-entered value or the value calculated from the implemented friction-factor model.
  • Reynolds number: reported in automatic friction-factor mode and used to classify the flow regime.
  • Relative roughness ε/D: the absolute roughness divided by the pipe inner diameter when roughness is available.

Effect of the input parameters

For a fixed Darcy friction factor and velocity, major pressure loss increases directly with pipe length and with fluid density, and increases with the square of mean velocity. It decreases as pipe diameter increases through the L/D term.

When volumetric flow rate is held constant, increasing the pipe diameter also reduces mean velocity because the cross-sectional area increases. The resulting decrease in pressure loss can therefore be much stronger than the L/D term alone suggests.

In automatic friction-factor mode, changing diameter, velocity, density, viscosity, or roughness can also change Reynolds number and Darcy friction factor, so the final relationship is not simply proportional to the individual Darcy–Weisbach terms.

Flow-regime and warning interpretation

  • Laminar: Re < 2300. The calculator uses λ = 64/Re.
  • Transitional: 2300 ≤ Re < 4000. The Churchill correlation is used and the calculator returns a warning because the friction factor can be sensitive to inlet conditions and disturbances.
  • Turbulent: Re ≥ 4000. The Churchill correlation is used with Reynolds number and relative roughness.
  • Very high relative roughness: ε/D > 0.05 generates a warning to verify the roughness value and its units.
  • Known λ mode: Reynolds number and flow regime are not evaluated by the calculator; the entered Darcy friction factor is used directly.
  • Zero flow: major pressure loss, head loss, pressure gradient, and hydraulic power loss are zero.

An informational result or the absence of a warning does not establish that a piping system is adequately designed. Pipe strength, allowable velocity, cavitation, NPSH, erosion, noise, temperature effects, local losses, elevation changes, pump operating point, transients, and other applicable design criteria may still require separate verification.

04
Worked case

Calculation example

Example — pressure drop from volumetric flow rate

Consider a straight circular pipe carrying a liquid with the Darcy friction factor calculated automatically from Reynolds number and absolute roughness.

  • L — Pipe length = 50 m
  • D — Inner diameter = 0.05 m
  • ρ — Density = 1000 kg/m³
  • Q — Volumetric flow rate = 0.002 m³/s
  • μ — Dynamic viscosity = 0.001 Pa·s
  • ε — Absolute roughness = 0.000045 m

1. Calculate pipe cross-sectional area

A = π · D² / 4

A = π · 0.05² / 4 = 0.00196350 m²

2. Calculate mean velocity

v = Q / A

v = 0.002 / 0.00196350 = 1.01859 m/s

3. Calculate Reynolds number

Re = ρ · v · D / μ

Re = 1000 · 1.01859 · 0.05 / 0.001 = 50929.6

Because Re is greater than 4000, the calculator classifies the flow as turbulent.

4. Calculate relative roughness

ε / D = 0.000045 / 0.05 = 0.000900

5. Calculate the Darcy friction factor

Applying the Churchill correlation with Re = 50929.6 and ε/D = 0.000900 gives:

λ = 0.0238321

6. Calculate major pressure loss

Δp = λ · (L / D) · (ρ · v² / 2)

Δp = 0.0238321 · (50 / 0.05) · (1000 · 1.01859² / 2)

Δp = 12363.23 Pa

7. Calculate major head loss

Hf = Δp / (ρ · g)

Hf = 12363.23 / (1000 · 9.80665) = 1.2607 m

8. Supporting results

Pressure gradient:

Δp / L = 12363.23 / 50 = 247.26 Pa/m

Hydraulic power dissipated by major friction:

Ploss = Δp · Q = 12363.23 · 0.002 = 24.73 W

Result: the modeled 50 m pipe produces a major friction pressure loss of 12363.23 Pa, equivalent to 1.2607 m of head, at a volumetric flow rate of 0.002000 m³/s.

This result covers distributed pipe-wall friction only. Additional losses from fittings, valves, entrances, exits, equipment, elevation changes, or other system components are not included.

05
Model boundaries

Assumptions and limitations

  • The major friction loss is calculated with the Darcy–Weisbach equation.
  • The modeled geometry is a circular pipe with constant inner diameter D and cross-sectional area A = πD²/4.
  • Pipe length, inner diameter, and fluid density must be greater than zero.
  • The model uses one constant fluid density for the entire calculated pipe length.
  • When automatic friction-factor mode is used, one constant dynamic viscosity is used for the calculation and must be greater than zero.
  • Gravitational acceleration is fixed at 9.80665 m/s².
  • In pressure-loss-from-flow mode, exactly one flow definition is used: volumetric flow rate Q or mean velocity v.
  • In flow-from-loss mode, exactly one available-loss definition is used: pressure loss Δp or head loss Hf.
  • Zero volumetric flow rate, zero velocity, and zero available loss are accepted by the numerical model where the selected input combination satisfies its validation rules.
  • In known-friction-factor mode, the entered value is treated as a Darcy friction factor. A Fanning friction factor must not be entered without conversion.
  • Known-friction-factor mode does not calculate Reynolds number or determine whether the entered λ is appropriate for the actual flow regime and pipe roughness.
  • In automatic mode, Reynolds number is calculated as Re = ρvD/μ.
  • For Re < 2300, the calculator uses the laminar relationship λ = 64/Re.
  • For Re ≥ 2300, the implemented Churchill correlation is used to calculate the Darcy friction factor.
  • Results from 2300 ≤ Re < 4000 are classified as transitional and should be treated with additional engineering caution.
  • In forward automatic mode, absolute roughness is not required when the resulting flow is laminar, but it is required when Re reaches 2300 or higher.
  • In inverse flow-from-loss mode with automatic friction-factor calculation, absolute roughness is required by the solver even if the eventual operating point is laminar.
  • Absolute roughness must be non-negative and cannot exceed the entered pipe inner diameter.
  • The calculator evaluates major distributed friction loss only. Minor losses from fittings, valves, entrances, exits, expansions, contractions, and equipment are excluded.
  • Static elevation head, pump head, turbine head, pressure requirements at downstream equipment, and other terms of a complete mechanical-energy balance are not included.
  • The model does not account for transient phenomena such as water hammer, pulsation, startup, shutdown, or rapidly varying flow.
  • The use of constant density and viscosity means the calculation should not be treated as a complete compressible-flow model when fluid properties change materially along the pipe.
  • Non-Newtonian, multiphase, partially filled, and open-channel flows require models appropriate to those conditions.
  • The calculated result represents one hydraulic criterion and does not verify pipe mechanical strength, erosion limits, cavitation margin, allowable noise, vibration, temperature limits, or compliance with a particular design code.
06
Questions

Frequently asked questions

What is the Darcy–Weisbach equation for pipe pressure drop?

The major friction pressure loss is calculated from Δp = λ · (L/D) · (ρv²/2), where λ is the Darcy friction factor, L is pipe length, D is inner diameter, ρ is fluid density, and v is mean velocity. The corresponding head loss is Hf = Δp/(ρg).

What is the difference between pressure drop and head loss?

Pressure drop Δp expresses the friction loss as pressure, while head loss Hf expresses the same energy loss per unit fluid weight as an equivalent fluid-column height. They are related by Δp = ρgHf. For the same head loss, the corresponding pressure loss therefore depends on fluid density.

Can the calculator determine flow rate from an available pressure drop or head loss?

Yes. In flow-rate-from-loss mode, enter either an available pressure loss Δp or an available head loss Hf. With a known Darcy friction factor, velocity is solved directly from the Darcy–Weisbach equation. With automatic friction-factor calculation, the calculator solves velocity numerically because the friction factor changes with Reynolds number. Volumetric flow rate is then calculated from Q = vA.

How does the calculator determine the Darcy friction factor?

In automatic mode, the calculator first determines Reynolds number from Re = ρvD/μ. For Re below 2300 it uses λ = 64/Re. For Re of 2300 or higher it uses the Churchill friction-factor correlation with Reynolds number and relative roughness ε/D. Alternatively, known-friction-factor mode uses the Darcy friction factor entered by the user.

Is the Darcy friction factor the same as the Fanning friction factor?

No. The calculator requires the Darcy friction factor. The Darcy friction factor is four times the Fanning friction factor, so using a Fanning value directly would underpredict Darcy–Weisbach pressure loss by a factor of four.

Is pipe roughness always required?

No. Roughness is not used in known-friction-factor mode because λ is supplied directly. In automatic forward mode, roughness is unnecessary when the calculated Reynolds number remains below 2300, because λ = 64/Re is used. It becomes required for transitional or turbulent flow. In automatic inverse flow-from-loss mode, the implemented solver requires a roughness value before solving the operating point.

Why does transitional flow produce a warning?

The calculator classifies 2300 ≤ Re < 4000 as transitional flow. In this range, actual pipe behavior can be particularly sensitive to disturbances, inlet conditions, geometry, and flow history. The calculator still evaluates the Churchill correlation, but the resulting friction factor should be treated as an engineering estimate rather than as a sharply defined flow condition.

Does the calculator include losses from fittings and valves?

No. The reported Δp and Hf represent major distributed friction loss in the modeled pipe length. Losses from elbows, valves, tees, entrances, exits, reducers, expansions, equipment, and other local resistances are not added by this calculator.

What does the hydraulic power loss result mean?

Hydraulic power loss is calculated as Ploss = Δp · Q. It represents the hydraulic power dissipated by the major friction pressure loss at the calculated volumetric flow rate. It is not the total electrical or shaft power required by a pump because pump efficiency and other system losses are not included.

Can this calculator be used for gases, non-Newtonian fluids, or multiphase flow?

The calculator uses constant density and, in automatic friction-factor mode, constant dynamic viscosity over the entire pipe. It is therefore best suited to conditions that can be represented by those properties and a single mean velocity. Strongly compressible gas flow, non-Newtonian fluids, multiphase flow, partially filled pipes, and open-channel flow require more specialized models.

Add an engineering note