engineering · plumbing-piping · pipe-flow

Pipe Pressure Drop Calculator

Computes pipe pressure drop and head loss by Darcy-Weisbach with the Colebrook friction factor, alongside Hazen-Williams, with velocity and Reynolds number. Use it to check a liquid pipe run.

Last updated
Diagnostic Analytics

Calculator overview

Inputs and outputs

This summary comes from the calculator's published input and output contract.

Inputs

Pipe Material
About this input

The pipe material, such as PVC, copper or steel. It sets the absolute wall roughness used for the relative roughness and the Darcy friction factor.

Default Commercial steel Allowed Commercial steel, Cast iron, Galvanized steel, Copper (drawn), PVC / plastic, Concrete
Pipe Length
About this input

The straight length of pipe in the run, in meters, before fittings are added as minor losses.

Unit m Default 100 Range At least 0
Internal Diameter
About this input

The pipe inside diameter, in millimeters. Head loss is highly sensitive to this value, so use the true bore for the material and schedule.

Unit mm Default 100 Range At least 0
Water Temperature
About this input

The water temperature, in degrees Celsius. It sets the density and viscosity used in the Reynolds number and the friction loss.

Unit deg C Default 20 Allowed 10, 20, 30, 40, 60, 80
Tee Through Flow
About this input

The number of tees where the flow passes straight through the run, as a count, each adding a small minor-loss allowance.

Unit count Default 1 Range At least 0
Tee Branch Flow
About this input

The number of tees where the flow turns into or out of the branch, as a count. Branch flow carries a higher loss coefficient than straight-through flow.

Unit count Default 0 Range At least 0
Hazenwilliams
About this input

The Hazen-Williams roughness coefficient of the pipe, a dimensionless value near 130 to 150 for smooth pipe. It is used only for the separate Hazen-Williams head-loss result.

Default 130 Range At least 0
Elbow 90 Degree Standard
About this input

The number of standard-radius 90 degree elbows in the run, as a count, each adding a minor-loss allowance.

Unit count Default 0 Range At least 0
Elbow 90 Degree Long Radius
About this input

The number of long-radius 90 degree elbows in the run, as a count. A long-radius elbow loses less than a standard one.

Unit count Default 2 Range At least 0
Check Valve
About this input

The number of check valves in the run, as a count, each adding a minor-loss allowance.

Unit count Default 1 Range At least 0
Globe Valve Open
About this input

The number of fully open globe valves in the run, as a count. A globe valve adds far more minor loss than a gate valve of the same size.

Unit count Default 0 Range At least 0
Gate Valve Open
About this input

The number of fully open gate valves in the run, as a count. Each adds an equivalent-length or loss-coefficient allowance to the minor losses.

Unit count Default 1 Range At least 0
Flow Rate
About this input

The volumetric flow through the pipe, in liters per second. With the diameter it sets the velocity.

Unit L/s Default 20 Range At least 0

Outputs

Pressure Drop Per 100
About this output

The pressure drop scaled to a standard length, in kilopascals per 100 meters, so runs of different length can be compared.

Unit kPa
Pressure Drop
About this output

The total head loss expressed as pressure, in kilopascals, using the water density at the entered temperature.

Unit kPa
Model Status
About this output

The overall check on your entries, shown above the results. It reads OK when the inputs are usable, NOT VALID with a reason when an entry makes the model meaningless, or CHECK with a reason when a result is valid but worth a second look. Read it before you trust the numbers below.

No unit declared
Total Head Loss
About this output

The sum of the major and minor head losses, in meters, the total energy the flow gives up in the run.

Unit m
Reynolds Number
About this output

The Reynolds number of the flow, a dimensionless ratio of inertial to viscous forces. It classifies the flow as laminar or turbulent and feeds the friction factor.

No unit declared
Relative Roughness
About this output

The wall roughness divided by the inside diameter, a dimensionless ratio that, with the Reynolds number, sets the Darcy friction factor.

No unit declared
Flow Velocity
About this output

The average water velocity in the pipe, in meters per second: flow rate divided by the cross-sectional area.

Unit m/s
Flow Regime
About this output

Whether the flow is laminar, transitional or turbulent, read from the Reynolds number. The friction factor is found differently in each regime.

No unit declared
Darcy Friction Factor
About this output

The dimensionless Darcy friction factor, found for turbulent flow from the Colebrook equation using a Swamee-Jain seed and fixed-point refinements rather than a chart reading. It multiplies the velocity head to give the major loss.

No unit declared
Minor Head Loss
About this output

The head lost across the fittings and valves, in meters, from their loss coefficients and the velocity head.

Unit m
Major Head Loss
About this output

The head lost to friction along the straight pipe, in meters, from the Darcy-Weisbach equation.

Unit m
Hazenwilliams Head Loss
About this output

The head loss computed by the Hazen-Williams formula instead of Darcy-Weisbach, in meters, for water only. The two methods legitimately differ, especially outside typical water conditions, so a gap between them is expected, not an error.

Unit m

What it is

The Pipe Pressure Drop Calculator computes the head loss and pressure drop for water flowing through a pipe run. It works out the velocity and Reynolds number, identifies the flow regime, finds the Darcy friction factor from the Colebrook equation, and reports the friction loss along the straight pipe, the loss across the fittings and valves you list, and the total as both head and pressure.

It also reports the same friction loss computed by Hazen-Williams, so you can compare the two methods on identical inputs.

It works in SI units: millimetres for diameter, metres for length and head, litres per second for flow, degrees Celsius for temperature and kilopascals for pressure.

Use it to check a liquid pipe run carrying water. It models one pipe under steady flow.

Methodology

Purpose and model boundary

This model calculates velocity, Reynolds number, Darcy friction factor, major and minor head loss, and pressure drop for water in one constant-diameter pipe run. It also reports Hazen-Williams head loss as a comparison and generates a system-loss curve over flow. It supports hydraulic diagnostics and preliminary sizing checks; it does not solve a network, include static elevation head, select a pump, model compressible or non-Newtonian flow, or replace a transient/surge analysis.

Inputs and units

Flow is entered in L/s, internal diameter in mm, and pipe length in m. Water temperature selects a workbook row containing density in kg/m³ and kinematic viscosity in m²/s. Pipe material selects an illustrative absolute roughness in mm. Counts are supplied for long-radius and standard 90° elbows, through and branch tees, open gate and globe valves, and check valves. Hazenwilliams is the comparison coefficient C.

Governing relationships

After converting Q to m³/s and D to m:

A = pi × D² / 4

V = Q / A

Re = V × D / nu

relative roughness = epsilon / D

For turbulent flow the workbook seeds the Darcy friction factor with Swamee-Jain:

f_0 = 0.25 / [log10(epsilon/(3.7D) + 5.74/Re^0.9)]²

It then performs six explicit Colebrook fixed-point refinements:

f_(k+1) = 1 / [-2 log10(epsilon/(3.7D) + 2.51/(Re sqrt(f_k)))]²

For Re < 2300, it instead uses f = 64/Re. Fitting loss coefficient is K_total = sum(count_j × K_j). Head losses are:

h_major = f × (L/D) × V²/(2g)

h_minor = K_total × V²/(2g)

h_total = h_major + h_minor

pressure drop = density × g × h_total / 1000 kPa

The comparison relationship is h_HW = 10.67 × L × Q^1.852 / (C^1.852 × D^4.87) using SI inputs.

Calculation sequence

  1. Convert units and look up water density/viscosity and material roughness.
  2. Calculate area, velocity, Reynolds number, and relative roughness.
  3. Use laminar 64/Re below 2300; otherwise use the Swamee-Jain seed followed by six Colebrook refinements.
  4. Sum fitting counts times the workbook's illustrative K values.
  5. Calculate major, minor, and total head loss, then convert total head to kPa and kPa per 100 m.
  6. Calculate Hazen-Williams head loss independently for comparison.
  7. Repeat the hydraulic loss calculation over the chart's flow points and evaluate status.

Outputs and interpretation

Total_Head_Loss and Pressure_Drop are the primary results. Supporting outputs show pressure drop per 100 m, velocity, Reynolds number, flow regime, relative roughness, Darcy friction factor, the major/minor split, and Hazen-Williams head loss. The chart is the current pipe's total-loss curve; it should rise steeply as flow increases.

Validation and status logic

Condition Returned status
Flow or internal diameter is zero or less NOT VALID: flow and diameter must be positive
Pipe length is zero or less NOT VALID: pipe length must be positive
Reynolds number is at least 2,300 and below 4,000 CHECK: flow is in the laminar to turbulent transition, friction is uncertain
Velocity is greater than 3 m/s CHECK: velocity above 3 m/s, erosion and noise risk
None of the preceding conditions applies OK

The transition warning takes precedence over the high-velocity warning. The flow-regime label is No flow, Laminar, Transitional, or Turbulent using the same Reynolds thresholds.

Assumptions and limitations

  • The fluid is water at one of six stored temperatures. Density and viscosity are illustrative lookup values; interpolation is not performed.
  • The pipe has constant circular diameter, steady fully developed flow, and one selected absolute roughness. Ageing, fouling, entrance effects, fittings not listed, and distributed diameter changes are excluded.
  • K coefficients are illustrative constants independent of Reynolds number and fitting geometry.
  • The Colebrook calculation is unrolled into a seed plus six refinements; it is not an iterative workbook setting. The workbook audit states agreement with a converged turbulent root to better than 1e-6 over its tested turbulent domain.
  • In the transition region, the workbook still returns a calculated friction value but flags uncertainty.
  • Hazen-Williams is an empirical water-only comparison and is expected to differ from Darcy-Weisbach, especially for rough pipe and temperature changes.
  • Static elevation, pump or turbine head, pressure-dependent properties, cavitation, water hammer, and network balancing are not included.

Restrictions and non-computing states

This calculator accepts only the six declared material and temperature choices and rejects negative flow, diameter, length, and fitting counts. Flow, diameter, and length must also be strictly positive in the workbook. Hazenwilliams may be zero: the protected comparison then returns zero while the Darcy result remains available. Counts are whole numbers. The page cannot edit the embedded density, viscosity, roughness, K, or gravity tables.

Errors and warnings

An invalid dropdown, grid shape, or value outside its allowed range is rejected before calculation. Workbook NOT VALID means the core Darcy basis lacks positive flow, diameter, or length. Workbook CHECK preserves the calculation but flags transition-regime uncertainty or excessive velocity. A connection or calculation-service failure is a service error and must not be interpreted as zero loss.

References

The workbook derives its relations rather than reproducing any table, chart or figure from a standard or agency publication. The friction factor is solved from the Colebrook equation, and the Hazen-Williams comparison uses the standard empirical form.

Absolute roughness values, Hazen-Williams coefficients and minor-loss coefficients shipped with the workbook are typical published values and carry no authority. Values for design should come from the pipe and component manufacturers, and should allow for ageing.

Additional source notes migrated from Methodology

The workbook uses Darcy-Weisbach, Colebrook-White with a Swamee-Jain starting estimate, the K-factor minor-loss method, and Hazen-Williams for comparison. The reviewer packet cites Engineering ToolBox on Darcy-Weisbach, Engineering ToolBox on Hazen-Williams, and Best-Calculators' friction-loss comparison.

Frequently asked questions

Why do Darcy-Weisbach and Hazen-Williams disagree?
Because they are different models, and the disagreement is expected rather than an error. Darcy-Weisbach is physically grounded: it derives a friction factor from the Reynolds number and the relative roughness, and works for any fluid at any temperature. Hazen-Williams is an empirical fit for water at ordinary temperatures in turbulent flow, using a single roughness coefficient. Differences of ten to twenty percent are normal. Darcy-Weisbach is the more general method; Hazen-Williams is entrenched in water-distribution practice.
Which Hazen-Williams number should I compare against?
The **major** head loss, not the total. Hazen-Williams computes friction along the pipe only and has no concept of fittings, so comparing it against a total that includes minor losses compares two different quantities. In the shipped example that means 6.865 against 6.006 (a 14 percent gap) rather than against the 7.312 total.
Why does water temperature matter?
Because it sets density and viscosity. Warmer water is less viscous, which raises the Reynolds number and slightly lowers the friction factor, and it is marginally less dense, which lowers the pressure for a given head. The effect is modest across ordinary temperatures but it is real, which is why the tool asks rather than assuming. Temperature is chosen from a fixed list because the properties are looked up rather than interpolated.
How much do the fittings actually matter?
It depends entirely on the length of the run. Minor losses scale with velocity squared and the number of fittings; major loss scales with velocity squared **and** length. In the shipped example five components on 100 metres add about 18 percent on top of the pipe friction. Put those same five fittings on a 10-metre run and they would dominate the answer. "Minor" refers to the mechanism, not the magnitude.
Is this the pressure my pump needs to deliver?
No. This is friction loss only. A real installation also has static head from any change in elevation (which this tool does not model at all), plus whatever residual pressure is required at the outlet. A pump is selected against the sum of those, at the flow you want, read against the pump's own curve. None of that is here.
Can I use this for a pipe carrying something other than water?
No. The property lookups are water at the listed temperatures, and the Hazen-Williams comparison is only valid for water in any case. Oils, slurries, non-Newtonian fluids and anything compressible need a different treatment. Darcy-Weisbach itself generalises to other fluids, but this implementation does not carry their properties.
This page is provided by LogicCommons for informational purposes only. Results are analysis outputs computed from the inputs you supply and are not engineering advice, a design, or a substitute for review by a licensed professional under the codes adopted where the work is built. Verify all inputs and results independently.

LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.