Guide · Pipe Geometry

Pipe Sizing from Flow Rate — Pick the Right Diameter and Schedule

You know how much fluid needs to move — how do you pick the pipe? This is the forward-sizing problem, and it has a clean eight-step procedure that mechanical, plumbing, and process engineers follow every day. The critical decision is not the formula — it is the target velocity band, and that choice depends entirely on what the pipe is doing.

8-step forward procedure9 application velocity bandsSch40 vs Sch80 trade-off
Live Pipe Sizing from Flow Rate

Target v = 1.75 m/s (midpoint of 1–2.5 m/s)

Recommended Pipe
1"NPS Sch40

Calculated dmin = 22.0 mm

Actual ID = 26.1 mm

Actual velocity v = 1.25 m/s

Re = 32457

ΔP / 100 m ≈ 81.6 kPa · 11.84 psi

Trade-off with Sch80:

ID = 24.3 mm → v = 1.44 m/s

Bore shrinks by 6.9% → area reduced

Copper piping installation showing joined tubes and fittingsEvery pipe sizing decision starts with a target velocity band for the jobPhoto: Unsplash
The Core Procedure

The Sizing Flowchart — Eight Steps to the Right Pipe

Forward sizing answers a specific question: I know the flow rate I need — what pipe do I install? Unlike reverse engineering (measuring a pipe and computing its capacity), forward sizing starts from a requirement and works outward to a hardware choice. Every reputable code body — ASME B31, NFPA 13, IPC, CGA — follows the same eight-step structure. The differences are in the velocity bands and the margin factors they mandate.

Core Diameter Formula

dmin = √( 4Q / ( π · vtarget ) )

Q in m³/s, v in m/s → d in metres. Multiply by 1000 for mm.

  1. 1

    Know your required flow rate Q

    Build this up from below: fixture count (each toilet ≈ 2 L/min, each shower ≈ 8 L/min), emitter budget (drip zone × emitters × 2 L/h each), or process requirement (the machine spec sheet). Add a 10–15% margin for future expansion — you will not regret it.

  2. 2

    Pick target velocity band by application

    This is the single most important design decision in the whole process. Pick too low and the pipe is oversized, expensive, and can sediment. Pick too high and you get noise, water hammer, or pump inefficiency. The velocity band table below is the decision matrix — use it.

  3. 3

    Calculate minimum diameter dmin

    Plug Q and v<sub>target</sub> into d_min = √(4Q / (π·v)). The result is the theoretical bore you need — if the pipe could be that exact size, velocity would land exactly on v<sub>target</sub>.

  4. 4

    Round UP to the nearest NPS nominal pipe size

    Pipes only come in discrete nominal sizes. You must round UP, never down — a smaller pipe pushes velocity above your band, which risks water hammer and noise. Going up one size is usually 5–10% more expensive but drops velocity by ~20% (area goes with d²).

  5. 5

    Pick a Schedule (wall thickness)

    Schedule is NOT pipe material — it is a standard wall thickness that steel, PVC, and stainless all share for the same NPS. Sch40 handles most residential water under 100 psi; Sch80 roughly doubles the wall and is for >200 psi, steam, or corrosive service. More on this trade-off below.

  6. 6

    Look up ACTUAL inner diameter from a schedule table

    The nominal size label is not the bore. A '1-inch' Sch40 steel pipe has ID ≈ 26.1 mm (just over an inch). Your calculation must use this real number, not the label.

  7. 7

    Verify actual velocity still sits in the target band

    v_actual = Q / A_actual where A_actual = π·ID²/4. Rounding up usually drops velocity into the lower half of the band — that's fine. If it drops <1.0 m/s for water, reconsider; if it goes above the ceiling, you need the next size.

  8. 8

    Check pressure drop at actual velocity

    Use Darcy-Weisbach ΔP = f·(L/D)·ρv²/2 with Swamee-Jain friction factor. Is the total ΔP (straight pipe + fittings) within your pump or city water pressure budget? If not, go up one more size and re-verify.

The Decision Matrix

Pick the Velocity Band — Everything Flows from This Choice

The target velocity band is not a physics law — it is a design compromise that engineers and code bodies arrived at over decades of failure analysis. Every band below represents a balance between three competing costs: pipe material, pump energy over the system life, and failure risk (water hammer, noise, sediment, emitter failure). Get this right and everything else is arithmetic.

Application
Fluid
v (m/s)
v (ft/s)
Notes
Domestic water main
Water
1 – 2.5
3 – 8
Ceiling = water hammer
Fixture branch
Water
0.6 – 1.5
2 – 5
Quiet operation
Gravity drain
Water
0.6 – 3
2 – 10
Self-cleansing floor
Hot water recirculation
Hot water
0.5 – 1.5
1.5 – 5
Avoid stratification
Compressed air (1 bar)
Air
3 – 5
10 – 16
Low-pressure header
Compressed air (6 bar)
Air
5 – 8
16 – 26
Higher pressure = smaller bore
Natural gas line
Gas
15 – 30
50 – 100
Stay below noise threshold
Fire sprinkler
Water
2.5 – 4
8 – 13
Hydraulic calculation minimum
Drip irrigation
Water
0.3 – 0.6
1 – 2
Prevents emitter pressure loss variation
Low velocity

0.3 – 1.5 m/s

Drip irrigation, fixture branches, hot water recirc — quiet, gentle, prevents emitter pressure variation.

Mid velocity

1.5 – 5 m/s

Domestic mains, fire sprinkler, low-pressure compressed air — the economic sweet spot for most water work.

High velocity

5 – 30 m/s

High-pressure compressed air, natural gas lines — low-density fluids where noise, not energy cost, sets the ceiling.

💡 Tip — Midpoint is your friend. When you pick a band like "1.0–2.5 m/s" for a domestic main, target the midpoint (1.75 m/s) for dmin. Rounding up to the next nominal size naturally drops velocity into the lower half of the band — which gives you spare capacity for future fixtures without going above the 2.5 m/s water-hammer ceiling.

Wall Thickness

Sch40 vs Sch80 — The Schedule Trade-Off (It Really Matters)

Schedule number is one of the most commonly misunderstood labels in plumbing. Let's clear this up first:

  • Schedule is NOT pipe material. Steel, PVC, stainless, and CPVC all share the same schedule numbering for the same outside diameter.
  • Same nominal size = same outside diameter. Schedule changes the wall thickness, which changes the bore. So Sch40 and Sch80 use identical fittings — that is why schedule matters.
  • Sch80 wall is roughly twice as thick as Sch40 for the same NPS. That means Sch80 costs more per metre and has a smaller inside diameter — less flow capacity.

Steel pipe wall thickness formula (ASME B31)

t = (Dout · P) / (2 · S) + C

Where Dout = outside diameter, P = internal design pressure, S = allowable stress (138 MPa for ASTM A53 steel), C = corrosion allowance (typically 0.5 mm for water, higher for corrosive service). Schedule number = 1000 × P/S — so Sch40 means P/S = 0.040.

Sch40 vs Sch80 — Real Inner Diameter Comparison

NPS (in)
Steel Sch40 ID
Steel Sch80 ID
Bore shrink
1/2"
15.8 mm
13.8 mm
12.7%
3/4"
20.9 mm
18.9 mm
9.6%
1"
26.1 mm
24.3 mm
6.9%
1-1/2"
40.9 mm
38.1 mm
6.8%
2"
52.5 mm
49.2 mm
6.3%
4"
102.3 mm
97.2 mm
5.0%

⚠️ The 7% shrink rule — Sch40 → Sch80 on a 1-inch pipe

1-inch steel Sch40 has ID = 26.1 mm (1.029"). Sch80 ID = 24.3 mm (0.957"). The bore shrinks by 6.9%. But pipe area goes with diameter squared, so the cross-section drops by 13.5%. Since Q = A·v, at the same velocity that is 13.5% less flow capacity. On a 4-inch pipe the bore shrink is only 5%, but it still costs you 10% of your flow. Don't over-specify schedule.

Rule of thumb

Specify Sch40 for: residential water up to 100 psi (7 bar), compressed air headers up to 150 psi (10 bar), irrigation systems, and most gravity drains. Specify Sch80 only when you exceed ~200 psi (14 bar), handle saturated steam, or deal with known corrosive fluids (add the corrosion allowance C to the wall formula). For PVC and CPVC, schedule IS pipe material — Sch40 PVC is the standard; Sch80 PVC exists but is rare outside industrial installations.

The Hard Reality

Nominal ≠ Actual — The Inner Diameter Reality Table

This is the single most common mistake in pipe sizing: using the nominal label ("1 inch") as if it were the actual bore. It never is. Nominal Pipe Size (NPS) is a historical label tied to the outside diameter of iron pipe from the 1880s. When steel and PVC replaced cast iron, they kept the OD for compatibility with existing fittings — but the wall thickness changed. The result is that a "1-inch" pipe has an actual inner diameter somewhere between 24 and 26 millimetres depending on material and schedule. Always use the numbers below, not the label.

NPS (in)
Steel Sch40 ID
PVC Sch40 ID
Copper Type L ID
1/2"
15.8" (0.622")
15.8 mm
15.9 mm
3/4"
20.9" (0.823")
20.9 mm
21.6 mm
1"
26.1" (1.028")
26.1 mm
26.0 mm
1-1/4"
33.2" (1.307")
32.9 mm
32.9 mm
1-1/2"
40.9" (1.610")
40.4 mm
39.8 mm

Why diameter matters so much

Pipe area scales with d², so every diameter error compounds. If you use "1 inch" (25.4 mm) instead of the real 26.1 mm Sch40 ID, your area calculation is off by 5.4%. Velocity and flow capacity are wrong by the same margin. Pressure drop goes with v², so your ΔP estimate is off by 11%. And Darcy-Weisbach's L/D term adds another 2.7% error on top. All from forgetting to look up the real number.

The Economic Sweet Spot

Economic Diameter — Why 1.5–2.0 m/s is the Sweet Spot for Water

There are exactly two ways pipe sizing costs you money: the pipe itself (material + installation), and the pump energy you pay for every hour the system runs. These costs pull in opposite directions. Bigger pipe = higher install cost, lower pump cost (because friction drops with 1/D). Smaller pipe = lower install cost, higher pump cost (friction grows with 1/D and v²). The economic diameter is the sweet spot where the total lifetime cost is minimized. For water systems operating 12–18 hours a day, that minimum sits almost exactly at 1.5–2.0 m/s.

v < 1.0 m/s

Wasteful pipe

You overpaid for material. Worse: water slows enough that sediment drops out of suspension and collects at low points. Dead legs breed bacteria. Hot water stratifies — top of the pipe is hot, bottom is cold, and recirculation fails.

SWEET SPOTv = 1.5 – 2.0 m/s

Balanced cost

Pipe cost and pump cost cross here. Velocity is high enough to keep sediment in suspension, low enough that water hammer risk stays manageable, and the friction loss a typical pump handles without premium sizing. Most codes target this range explicitly.

v > 2.5 m/s

Cheap pipe, expensive problems

Water hammer risk climbs steeply — quick valve closure can generate 5× line pressure. You get audible noise (the pipe "sings"). Erosion starts at fittings and bends. Your pump operates off the design curve, efficiency drops, and it wears out faster.

Why gas headers run much higher velocity

Natural gas and compressed air have roughly 1/800 the density of water. That means the kinetic energy (½ρv²) at 20 m/s for gas is only about 5% of what water has at 2 m/s. So gas pipes can run at 15–30 m/s without worrying about water hammer. The ceiling becomes noise — most gas codes enforce a 30 m/s (100 ft/s) maximum above which the line becomes audibly whistling. Pressure drop matters, but since compressible fluids expand as they lose pressure, you need to solve header flow in segments using local absolute pressure.

Worked Examples

Two Full Problems — Water Main + Compressed Air Header

A

Size a residential water main for 40 L/min

Copper or steel, city water supply at 200 kPa

1. State Q
Q = 40 L/min = 40 / (1000×60) = 0.000667 m³/s
2. Pick velocity band
Domestic main → 1.0–2.5 m/s. Target v_target = 2.0 m/s (midpoint).
3. Calculate d_min
d_min = √(4 × 0.000667 / (π × 2.0)) = √0.000424 = 0.0206 m = 20.6 mm
4. Round UP to NPS
Smallest pipe with ID ≥ 20.6 mm: 3/4" steel Sch40 (ID = 20.9 mm ✓) or 3/4" copper Type L (ID = 21.6 mm). 3/4" steel wins — cheaper than 1".
5. Verify actual velocity
A_actual = π × 0.0209² / 4 = 0.000343 m². v_actual = 0.000667 / 0.000343 = 1.94 m/s ← inside 1.0–2.5 band ✓
6. Check pressure drop
Re = ρvD/μ = 998 × 1.94 × 0.0209 / 0.001 = 40,400 (turbulent). ε/D = 0.045mm/20.9mm = 0.00215. Swamee-Jain f ≈ 0.024. ΔP/100m = f·(L/D)·ρv²/2 = 0.024 × (100/0.0209) × 998 × 1.94²/2 ≈ 22 kPa. City supply is 200 kPa — easily within budget ✓
B

Size a compressed air header, 200 SCFM @ 8 bar

Steel pipe, 25 °C, pressure-rated compressor outlet

1. Convert SCFM → ACFM
ACFM = SCFM × (P_std/P_act) × (T_act/T_std) = 200 × (14.696/(8×14.5+14.696)) × ((25+273)/528) ≈ 200 × 0.112 × 0.564 ≈ 12.6 ACFM ≈ 0.00595 m³/s
2. Pick velocity band
Compressed air at 6+ bar → 5–8 m/s. Target v_target = 7 m/s.
3. Calculate d_min
d_min = √(4 × 0.00595 / (π × 7.0)) = √0.001083 = 0.0329 m = 32.9 mm
4. Round UP to NPS
Smallest pipe with ID ≥ 32.9 mm: 1-1/4" steel Sch40 (ID = 33.2 mm ✓). 1" has 26.1 mm — too small.
5. Verify actual velocity
A_actual = π × 0.0332² / 4 = 0.000866 m². v_actual = 0.00595 / 0.000866 = 6.87 m/s ← inside 5–8 band ✓
6. Density + ΔP check
Air at 8 barg, 25 °C → ρ = PM/(RT) = (9×101325 × 28.97)/(8314 × 298) ≈ 10.6 kg/m³. Re = 10.6 × 6.87 × 0.0332 / 1.81e-5 ≈ 134,000. f ≈ 0.020. ΔP/100m ≈ 0.020 × (100/0.0332) × 10.6 × 6.87²/2 ≈ 15 kPa. Acceptable on a 10-bar system ✓
Common Mistakes

The Six Mistakes That Show Up on Every Bad Pipe Design

Using nominal size as inner diameter

"1 inch" is NOT 25.4 mm ID. Sch40 steel is 26.1 mm — close but not the same. Sch80 steel is 24.3 mm. Use a schedule table. Always.

Round UP, never round DOWN

If d_min = 20.6 mm and the pipe below is 15.9 mm — that pipe pushes velocity above your band. Water hammer risk, noise, and pump inefficiency all follow. Go up, not down.

Applying water velocity bands to gas

Water bands are 1–2.5 m/s. Compressed air bands are 3–8 m/s for the same pipe. Gas is 800× less dense — velocity ceilings are noise-driven, not energy-driven. Using water bands on gas results in absurdly oversized pipe and wasted capital.

Over-specifying schedule

Sch80 is not "better pipe" — it is pipe with thicker walls and a smaller bore. At the same velocity it carries 10–14% less flow. Residential water at 100 psi does not need Sch80. Anyone who tells you to "always use Sch80" is either selling pipe or has not done the pressure-drop math recently.

Forgetting local losses (fittings, valves)

On a short run (less than 50 pipe diameters) a single globe valve (K = 6.0) can add more head than 100 metres of straight pipe. On residential branch lines, always add up the K-factors and price them into your pressure-drop check.

Using SCFM directly without converting to ACFM

SCFM is standard conditions (14.696 psia, 68 °F). Your header is at 8 bar gauge and 25 °C — that is 7× denser. Using SCFM directly in d = √(4Q/πv) gives you a pipe that is 2.5× too small. Always convert first.

FAQ

Frequently Asked Questions

How do I calculate what size pipe I need for a given flow rate?+
Use the forward sizing procedure: (1) Know your flow rate Q, (2) pick a target velocity band by application — e.g. domestic water mains run 1.0–2.5 m/s, (3) apply d_min = √(4Q / (π·v_target)), (4) round UP to the nearest nominal pipe size whose actual inner diameter is ≥ d_min, (5) pick a schedule (Sch40 for most residential, Sch80 for high pressure), (6) verify actual velocity sits in the band, (7) check pressure drop is within your pump budget.
Schedule 40 vs Schedule 80 — what's the flow rate difference?+
Sch40 and Sch80 share the same outside diameter (so they use the same fittings) but Sch80 has roughly twice the wall thickness. For a 1-inch steel pipe, Sch40 ID is 26.1 mm while Sch80 ID is only 24.3 mm — a 7% smaller bore, which means ~14% less flow capacity at the same velocity. Only specify Sch80 when pressure exceeds ~200 psi, you have steam, or corrosive service; otherwise Sch40 is cheaper and flows better.
What size pipe do I need for 40 GPM or 40 L/min?+
40 L/min is a typical residential water main demand. Target velocity for a domestic main is ~2.0 m/s. d_min = √(4×0.000667 m³/s / (π×2.0)) = 20.6 mm. Round up → 3/4-inch steel Sch40 (ID = 20.9 mm) or 3/4-inch copper Type L (ID = 21.6 mm) both work. Actual velocity lands at about 1.9 m/s — well within the 1.0–2.5 m/s band. For 40 GPM (about 151 L/min) you'd move to 1-1/2-inch.
Is nominal pipe size the same as the actual inside diameter?+
Absolutely not. Nominal Pipe Size (NPS) is a historical label tied to outside diameter, not the bore. A '1-inch' pipe has an actual ID around 26 mm (just over an inch) for Sch40 steel, 24 mm for Sch80 steel, and 26 mm for PVC Sch40. Always use the real inner diameter from a schedule table in your calculations — diameter enters the flow formula to the fifth power in pressure-drop sensitivity.
What velocity should I use when sizing a pipe?+
It depends entirely on the application. Domestic water mains: 1.0–2.5 m/s (ceiling at 2.5 to avoid water hammer). Fixture branches: 0.6–1.5 m/s (quiet operation). Compressed air headers: 3–5 m/s at 1 bar, 5–8 m/s at 6 bar. Natural gas: 15–30 m/s (noise threshold). Gravity drains: minimum 0.6 m/s to stay self-cleansing. Below 1.0 m/s water can sediment; above 2.5 m/s you risk noise, erosion, and water hammer.
How do I size a compressed air line — SCFM vs ACFM?+
Always convert Standard Cubic Feet per Minute (SCFM) to Actual Cubic Feet per Minute (ACFM) first using ACFM = SCFM × (P_std/P_act) × (T_act/T_std), where P_std = 14.696 psia, T_std = 528 °R (68 °F), and P_act / T_act are absolute pressure and temperature at your header. Then apply the same d = √(4Q/(πv)) formula using the actual flow rate in m³/s or ft³/s and a target velocity from the compressed-air band (3–8 m/s depending on header pressure).
Why can't I just use a bigger pipe to be safe?+
Over-sizing wastes money on material and installation, but more importantly it pushes velocity below 1.0 m/s in water lines — that's where sediment settles, dead legs breed bacteria, and you get stratification in hot water recirculation loops. The economic sweet spot for most water applications is 1.5–2.0 m/s: cheap enough pipe, low enough pressure drop, self-cleansing velocity. For gas lines the trade-off is different because gas is low-density; there the ceiling is noise, not energy cost.
Pipe schedule chart showing nominal vs actual dimensions for Sch40 and Sch80Always verify the actual inner diameter from a schedule table before committing to a pipe sizePhoto: Unsplash