Calculator overview
Inputs and outputs
This summary comes from the calculator's published input and output contract.
Inputs
- Pipe Material
-
Default Commercial steel Allowed Commercial steel, Cast iron, Galvanized steel, Copper (drawn), PVC / plastic, Concrete
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.
- Pipe Length
-
Unit m Default 100 Range At least 0
About this input
The straight length of pipe in the run, in meters, before fittings are added as minor losses.
- Internal Diameter
-
Unit mm Default 100 Range At least 0
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.
- Water Temperature
-
Unit deg C Default 20 Allowed 10, 20, 30, 40, 60, 80
About this input
The water temperature, in degrees Celsius. It sets the density and viscosity used in the Reynolds number and the friction loss.
- Tee Through Flow
-
Unit count Default 1 Range At least 0
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.
- Tee Branch Flow
-
Unit count Default 0 Range At least 0
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.
- Hazenwilliams
-
Default 130 Range At least 0
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.
- Elbow 90 Degree Standard
-
Unit count Default 0 Range At least 0
About this input
The number of standard-radius 90 degree elbows in the run, as a count, each adding a minor-loss allowance.
- Elbow 90 Degree Long Radius
-
Unit count Default 2 Range At least 0
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.
- Check Valve
-
Unit count Default 1 Range At least 0
About this input
The number of check valves in the run, as a count, each adding a minor-loss allowance.
- Globe Valve Open
-
Unit count Default 0 Range At least 0
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.
- Gate Valve Open
-
Unit count Default 1 Range At least 0
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.
- Flow Rate
-
Unit L/s Default 20 Range At least 0
About this input
The volumetric flow through the pipe, in liters per second. With the diameter it sets the velocity.
Outputs
- Pressure Drop Per 100
-
Unit kPa
About this output
The pressure drop scaled to a standard length, in kilopascals per 100 meters, so runs of different length can be compared.
- Pressure Drop
-
Unit kPa
About this output
The total head loss expressed as pressure, in kilopascals, using the water density at the entered temperature.
- Model Status
-
No unit declared
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.
- Total Head Loss
-
Unit m
About this output
The sum of the major and minor head losses, in meters, the total energy the flow gives up in the run.
- Reynolds Number
-
No unit declared
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.
- Relative Roughness
-
No unit declared
About this output
The wall roughness divided by the inside diameter, a dimensionless ratio that, with the Reynolds number, sets the Darcy friction factor.
- Flow Velocity
-
Unit m/s
About this output
The average water velocity in the pipe, in meters per second: flow rate divided by the cross-sectional area.
- Flow Regime
-
No unit declared
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.
- Darcy Friction Factor
-
No unit declared
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.
- Minor Head Loss
-
Unit m
About this output
The head lost across the fittings and valves, in meters, from their loss coefficients and the velocity head.
- Major Head Loss
-
Unit m
About this output
The head lost to friction along the straight pipe, in meters, from the Darcy-Weisbach equation.
- Hazenwilliams Head Loss
-
Unit m
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.
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
- Convert units and look up water density/viscosity and material roughness.
- Calculate area, velocity, Reynolds number, and relative roughness.
- Use laminar
64/Rebelow 2300; otherwise use the Swamee-Jain seed followed by six Colebrook refinements. - Sum fitting counts times the workbook's illustrative
Kvalues. - Calculate major, minor, and total head loss, then convert total head to kPa and kPa per 100 m.
- Calculate Hazen-Williams head loss independently for comparison.
- 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.
Kcoefficients 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-6over 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.
- Wikipedia. Darcy-Weisbach equation. https://en.wikipedia.org/wiki/Darcy%E2%80%93Weisbach_equation
- Wikipedia. Colebrook equation and the Moody chart it underlies. https://en.wikipedia.org/wiki/Darcy_friction_factor_formulae
- Wikipedia. Hazen-Williams equation, including its restriction to water in the turbulent regime. https://en.wikipedia.org/wiki/Hazen%E2%80%93Williams_equation
- Wikipedia. Minor losses in pipe flow. https://en.wikipedia.org/wiki/Minor_losses_in_pipe_flow
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?
Which Hazen-Williams number should I compare against?
Why does water temperature matter?
How much do the fittings actually matter?
Is this the pressure my pump needs to deliver?
Can I use this for a pipe carrying something other than water?
Found a problem, or have an idea?
Tell us if a result looks wrong, a label is unclear, or something is missing. We read every message.
LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.