Guide · Pressure-Driven Flow

Flow Rate from Pressure and Diameter — 3 Methods Compared

You have a pipe with a known inside diameter, a known length, and you measure a pressure difference ΔP between its ends. What is the flow rate Q? Three engineering methods answer this question — each valid under different assumptions, each with a failure boundary the others cross safely. This page walks all three from the governing equation through a worked example and tells you exactly when to pick which.

Universal: Darcy-Weisbach + ColebrookWater shortcut: Hazen-WilliamsRestrictions: Orifice C_d
Live Pressure → Flow Rate
Flow Rate Q
24.2L/min·6.4GPM
v = 2.29 m/sRe = 34165f = 0.0230
The Core Question

“I have pressure and pipe size — what’s my flow?”

Every pressure-to-flow problem begins with the same inventory: a pipe of inside diameter D, length L, carrying a fluid of density ρ and viscosity μ, with a measured upstream-to-downstream pressure difference ΔP. The answer Q depends entirely on where that ΔP went. If it was mostly lost to friction along a long straight run, Darcy-Weisbach governs. If the line is a water-supply main in good condition, Hazen-Williams gives a fast empirical answer. If ΔP is concentrated across a deliberate restriction — an orifice plate, nozzle, valve, or pipe entrance — the orifice equation applies.

Pick the wrong method and your error ranges from 3% (Hazen-Williams on a new PVC line within its validity window) to over 40% (applying Hazen-Williams to a gas, or ignoring the C_d coefficient on an orifice). The comparison table below is the reason this page exists.

Method
Best For
Inputs
Accuracy
Limitations
Darcy-Weisbach + Colebrook
All fluids, all regimes, every pipe
ΔP, D, L, ρ, μ, ε (roughness)
±1–3% when inputs are known
Iteration required (hand calculators pain)
Hazen-Williams
Cold water supply (5–25 °C)
ΔP, d(mm), L, C-value
±5–10% within validity window
Water only; no gases, no hot water, no >2 m/s
Orifice / Nozzle Equation
Restrictions, nozzles, valves, orifice plates
ΔP, A, ρ, C_d
±2–5% with known C_d
Choking below P₂/P₁ = 0.528 for compressible gases
1

Method 1 — Darcy-Weisbach Iteration

Governing Equation

ΔP = f · (L / D) · ½ρ v²

The universal friction-loss equation. You know ΔP, D, L, ρ. You do not know v (velocity) or f (the friction factor) — and f itself depends on both v and roughness ε. That circular dependency forces an iteration, but it is the only method that works for laminar, turbulent, and transitional flow with any Newtonian fluid.

Iteration Procedure — 7 Steps

  1. 1

    Guess an initial velocity v₀

    Start with 1.0 m/s for water, 5 m/s for compressed air, or use v = √(2ΔP/ρ) as a high first guess.

  2. 2

    Compute the cross-sectional area A

    A = πD²/4, then Q = A·v for the trial flow rate.

  3. 3

    Compute the Reynolds number

    Re = ρ·v·D / μ — ratio of inertial to viscous forces. Re < 2300 is laminar; 2300–4000 is transitional; > 4000 is turbulent.

  4. 4

    Look up pipe roughness ε

    Use the table below. PVC and copper are nearly smooth; steel and cast iron are not.

  5. 5

    Solve for friction factor f

    For laminar: f = 64 / Re (exact). For turbulent: Colebrook-White 1/√f = −2·log₁₀(ε/(3.7D) + 2.51/(Re√f)) — implicit, must iterate. Swamee-Jain approximation converges in one pass.

  6. 6

    Compute predicted ΔP

    Apply Darcy-Weisbach with the current f. Compare to your known ΔP.

  7. 7

    Adjust v and repeat until converged

    v scales with √ΔP, so v_new = v_old · √(ΔP_known / ΔP_predicted). Converges in 3–10 iterations to < 0.01% error.

Pipe Roughness ε (absolute)

Material
ε (mm)
ε (mils)
PVC / plastic
0.0015
0.059
Copper (drawn)
0.0015
0.059
Commercial steel
0.0450
1.772
Galvanized steel
0.1500
5.906
Cast iron (new)
0.2600
10.236
Laminar

Re < 2300

Smooth layers, f = 64/Re, insensitive to roughness.

Transitional

2300 < Re < 4000

Mix of regimes — Colebrook still valid but results scatter.

Turbulent

Re > 4000

Chaotic mixing — Colebrook fully valid; roughness matters.

💡 Tip — Swamee-Jain shortcut. Avoid the inner Colebrook iteration by using f = 0.25 / [log₁₀(ε/(3.7D) + 5.74/Re⁰·⁹)]². Maximum error 1.5% across all regimes and roughness ratios — accurate enough for any hand calculation.

2

Method 2 — Hazen-Williams (Water Supply Only)

Hazen-Williams is an engineering shortcut derived empirically from decades of water-distribution-system data. It skips density, viscosity, and Reynolds number entirely by baking them into a single roughness index called the C-value. The reward is a direct, non-iterative formula. The penalty is a strict validity envelope — step outside it and the error compounds fast.

Metric (SI)

Q (L/min) = 0.435 · C · d2.63 · (ΔP / L)0.54

d in mm, ΔP in kPa, L in m.

Imperial (US customary)

Q (GPM) = 0.278 · C · d2.63 · (ΔP / L)0.54

d in inches, ΔP in psi, L in feet.

Hazen-Williams C-Value Table

Pipe Material / Condition
C
PVC / HDPE
150
New copper tubing
150
Garden hose (rubber/PVC)
150
New steel (black)
120
Galvanized steel
100
Cast iron (new)
85
Cast iron (20 yr old)
60

⚠️ Hazen-Williams is water-only.

Validity bounds: Water at 5–25 °C, velocity < 2 m/s (6.6 ft/s), pressure < 100 psi (6.9 bar), and pipe diameters between 12 mm (0.5 in) and 1500 mm (60 in). Applying Hazen-Williams to compressed air, natural gas, steam, hot water above 40 °C, or any non-Newtonian fluid can produce errors of 20–50%. When in doubt, use Darcy-Weisbach.

3

Method 3 — Orifice, Nozzle & Valve Equation

When your ΔP is concentrated across a deliberate restriction — an orifice plate, a nozzle, a valve, a pipe entrance, or a sharp-edged hole in the wall — the pipe's length barely matters. Flow depends on the restriction's discharge coefficient Cd, its open area A, and the available pressure head. This is the square-root law: double ΔP, flow increases by only 41%.

Universal Restriction Equation

Q = Cd · A · √(2 ΔP / ρ)

Cd folds together three losses: vena contracta (the jet contracts to roughly 60% of the orifice diameter), wall shear along the restriction, and exit expansion. A well-calibrated ISO 5167 orifice plate has Cdknown to ±0.5%. A field-fabricated sharp hole might only land within ±5%.

Discharge Coefficient Cd by Geometry

Device
Cd Range
Sharp-edged orifice plate
0.60 – 0.62
Square-edged orifice
0.62 – 0.63
Nozzle (ISO 5167)
0.97 – 0.99
Venturi tube
0.95 – 0.98
Pipe entrance (sharp)
0.82 – 0.85
Rounded entrance
0.90 – 0.95
Re-entrant tube
0.75 – 0.78

Gas Density Correction via Ideal-Gas Law

ρ = (P · M) / (R · T)

P = absolute pressure (Paabs, not gauge), M = molar mass (kg/kmol), R = 8314 J/(kmol·K), T = absolute temperature (Kelvin). Air at 1 bar, 20 °C → ρ ≈ 1.205 kg/m³. Add 14.696 psi or 101.325 kPa to gauge pressure before computing.

Critical flow for compressible gases

When P₂ / P₁ < 0.528 (air, diatomic gases) the throat reaches Mach 1 — mass flow is choked and no longer increases as downstream pressure drops. The incompressible orifice equation overestimates by 15–40% in this regime. Switch to ISO 5167 compressible formula with expansion factor ε.

Worked Examples

Three Problems, Three (or More) Methods

A

15 mm copper tubing, 2 bar over 50 m

Find Q using all three methods

Darcy-Weisbach

ε = 0.0015 mm (copper · smooth) → Colebrook iteration

24.2 L/min

v = 2.29 m/s · Re = 34165 · f = 0.0230

Hazen-Williams

C = 150 (new copper), d = 15 mm, ΔP = 200 kPa, L = 50 m

170927.9 L/min

Within validity window — v ≈ 16120.90 m/s < 2 m/s ✓

Orifice ⚠️ N/A

This is a long pipe run, not a deliberate restriction — the orifice equation does not apply here. Do not force it.

B

100 mm commercial steel, 5 bar over 100 m

Darcy-Weisbach only (Hazen-C would be a stretch here)

Inputs

  • D = 100 mm = 0.1 m
  • L = 100 m
  • ΔP = 5 bar = 500 000 Pa
  • ε = 0.045 mm (commercial steel)
  • ρ = 998 kg/m³, μ = 1.002×10⁻³ Pa·s

Result

3605 L/min

= 952 GPM · v = 7.65 m/s · Re = 762028 (turbulent) · f = 0.0171

Hazen-Williams with C = 120 (new steel) gives 22652404 L/min — within 5% because velocity is 7.65 m/s, just inside the <2 m/s envelope.

C

25 mm sharp-edged orifice plate, water, ΔP = 50 kPa

Orifice equation with C_d = 0.62

Step-by-step

  • A = π(0.025/2)² = 0.000491 m²
  • √(2ΔP/ρ) = √(2·50000/998) = 10.01 m/s
  • Q_ideal = A · 10.01 = 0.00492 m³/s
  • Q_actual = 0.62 · Q_ideal

Result

182.8 L/min

= 48.3 GPM · jet v = 6.2 m/s

Compare to ideal Q (no C_d) = 295 L/min — C_d 0.62 knocks it down by the vena contracta ratio.

Comparison & Decision Guide — Which Method When?

Always use Darcy-Weisbach when…

  • You need the answer to be right across multiple fluid types.
  • Velocity might exceed 2 m/s or drop into laminar (Re < 2300).
  • The fluid is a gas, steam, oil, or anything that is not cold water.
  • Pipe roughness is high (galvanized, cast iron) — C-values drift with age.

Use Hazen-Williams only when…

  • The line is a water-supply main or branch.
  • Temperature is 5–25 °C (cold potable, irrigation).
  • You need a quick, non-iterative estimate — ±10% is acceptable.
  • Pipe is new PVC, copper, or hose (C ≈ 150, very stable).

Use the Orifice equation when…

  • ΔP is concentrated across a deliberate restriction.
  • You are sizing an orifice plate, nozzle, or valve C_v.
  • Pipe run is short enough that friction is negligible compared to ΔP.
  • For gases, confirm P₂/P₁ > 0.528 first to avoid choked flow.

Pitfalls & Mistakes to Avoid

✕

Don’t use Q = A · √(2ΔP/ρ) without Cd

That is the ideal Bernoulli result for a lossless jet. A real orifice loses 38% of its velocity head to vena contracta and wall shear; a pipe entrance loses 15%. Omitting Cd overestimates flow by the inverse factor — 40% on a sharp orifice, 15% on a well-rounded entrance. Every geometry has a Cd; none is exactly 1.0.

✕

Don’t apply Hazen-Williams to gases or hot water

Hazen-Williams embeds water’s density and viscosity into the C-value — it is dimensionally consistent only at cold water conditions. Compressed air at 7 bar and 25 °C has ρ ≈ 8.4 kg/m³, not 998, so Hazen-Williams underestimates the pressure drop by an order of magnitude. Hot water at 80 °C has 30% lower viscosity, producing 10–15% lower friction than Hazen predicts.

✕

Don’t confuse gauge and absolute pressure for gases

psig + 14.696 = psia; barg + 1.013 = bara. Every formula involving gas density — the ideal-gas law, the compressible orifice formula, the choked-flow threshold — requires absolute pressure. A 7 bar gauge line is actually 8.013 bara; computing density at 7 bar gives a 13% overestimate.

✕

Don’t use nominal pipe size (NPS / DN) for inside diameter

“1-inch” is a label, not a measurement. Schedule 40 steel has a 1.029-inch (26.1 mm) ID; Schedule 80 has 0.902-inch (22.9 mm). A 12% smaller diameter reduces the flow area by 28% and, for a fixed ΔP, halves the velocity. Always look up the schedule or caliper the bore.

💡 Pro tip — run both methods. If you are designing a water line and Hazen-Williams gives you 40 L/min while Darcy-Weisbach gives 38 L/min, that 5% spread tells you your Hazen C-value is optimistic. Use the lower number, and if the difference grows beyond 10%, revisit your C choice.

⚠️ Critical threshold — choked gas flow. If you design a gas orifice and the P₂/P₁ ratio drops below 0.528, no amount of downstream pull will increase mass flow. The orifice is sonic and the Darcy-compatible formula breaks down. Always compute the ratio before selecting the equation.

Frequently Asked Questions

Which method should I use when I know pipe diameter and pressure?▼

Use Darcy-Weisbach with Colebrook-White whenever you need a universal answer — it works for any fluid, any pipe roughness, and both laminar and turbulent flow. Use Hazen-Williams only for cold water in water-supply lines (not for hot water or gases). Use the orifice equation when the restriction is a deliberate device (nozzle, orifice plate, valve) rather than a long pipe run.

Why can't I just use Q = A·√(2ΔP/ρ) without C_d?▼

√(2ΔP/ρ) is the ideal velocity for a frictionless jet. Every real device — even a sharp-edged orifice — wastes energy through vena contracta and wall shear, so you must multiply by a discharge coefficient C_d (typically 0.60–0.99). Omitting C_d overestimates flow by 1–40% depending on geometry.

Can Hazen-Williams be used for natural gas or hot water?▼

No. Hazen-Williams is empirically derived from cold water (5–25 °C, density ≈ 998 kg/m³) and breaks down by more than 15% outside its validity range. For gases, use Darcy-Weisbach with density corrected through the ideal-gas law. For hot water, use Darcy-Weisbach with temperature-corrected density and viscosity.

Does nominal pipe size matter? Should I use NPS or true inside diameter?▼

Always use the true inside diameter in millimeters or inches, not the nominal size label. A 1-inch Schedule 40 steel pipe has an actual ID of about 1.029 inches (26.1 mm), while a 1-inch Schedule 80 pipe has only 0.902 inches (22.9 mm) — that 12% difference changes the flow area by 28%. Check the schedule or measure the bore directly.

What is the difference between gauge pressure and absolute pressure for gas flow?▼

Gauge pressure (psig or barg) is relative to atmosphere; absolute pressure (psia or bara) adds 1 atm (14.696 psi, 101.325 kPa). Use absolute pressure in the ideal-gas-law density correction: ρ = P·M/(R·T). The orifice equation's critical-flow threshold P₂/P₁ < 0.528 also requires both pressures in absolute terms.

When does the orifice equation stop working for compressible gases?▼

When the downstream-to-upstream absolute pressure ratio drops below approximately 0.528 — the critical-pressure ratio for air and similar diatomic gases. At that point the orifice throat reaches sonic velocity and mass flow is choked; further reducing downstream pressure does not increase flow. You must switch to compressible-flow orifice formulas (ISO 5167-2) that account for the expansion factor ε.

Run the Numbers With the Full Calculator

The mini-calculator above reproduces the hero examples. The full Flow Calculator engine adds 19 fluid presets, schedule-aware pipe diameters, local-loss K-factors for elbows and valves, pump power, and SI/imperial switching — free, in your browser.