Pipe sizing looks like a simple lookup - pick a flow rate, pick a diameter, job done. In practice it's a balancing act. The pipe has to be small enough that velocities stay high enough to keep solids in suspension and the scheme affordable, and large enough that velocities don't climb to the point of causing erosion, noise, surge risk, or excessive friction loss. Get it wrong in either direction and the consequences show up years later as sediment build-up in an oversized sewer, or as premature pipe wear and pumping costs in an undersized main.

The good news is that the underlying method is the same regardless of what's flowing through the pipe: define an acceptable velocity envelope for the fluid in question, then find the standard diameters that keep your expected flow range inside that envelope.

The continuity equation

Pipe sizing starts from one relationship, the continuity equation, which links flow rate, pipe cross-sectional area, and mean velocity. Rearranged for diameter, it tells you what internal diameter is needed to carry a given flow at a target velocity:

Continuity equation, rearranged for diameter
Q = A · V = (π D² / 4) · V

D = √(4Q / (π · V))

where Q = flow rate (m³/s)  ·  D = internal diameter (m)
A = cross-sectional area (m²)  ·  V = mean velocity (m/s)

Plugging in a single flow and a single target velocity gives you a single theoretical diameter — but real pipelines rarely run at one flow rate. Foul sewers see diurnal peaks and troughs; pumped mains run across a range of duty points; treatment works see seasonal variation. The correct approach is to size against the full expected flow range, not a single design point.

Why velocity limits exist

Velocity isn't an arbitrary constraint — each end of the acceptable range protects against a specific failure mode:

Minimum velocity (self-cleansing): Below a certain velocity, solids carried in the flow — grit, sludge, sewage solids — settle out rather than staying in suspension. Once deposited, they reduce effective bore, generate odour and corrosion (particularly in foul systems via hydrogen sulphide), and require costly jetting or excavation to clear. The minimum velocity is set to keep the pipe "self-cleansing" across its operating range.

Maximum velocity (erosion, surge and noise): Above a certain velocity, abrasive solids erode pipe walls and fittings, friction losses rise sharply (head loss scales with the square of velocity), surge pressures from valve closure or pump trip become more severe, and flow noise increases. High-velocity systems also cost more to operate, since pumping energy rises with the cube of velocity.

The acceptable velocity range depends entirely on what's flowing. A potable water main can comfortably run at low velocities because the fluid carries negligible solids; a raw sewage rising main cannot.

Velocity limits by fluid type

The table below summarises typical design velocity envelopes drawn from WIMES guidance and general industry practice for common fluids in water and wastewater infrastructure. These are starting points for design, site-specific factors (pipe gradient, solids loading, duty cycle) can justify adjustment, and the final selection should always be reviewed by a competent engineer.

Fluid Min velocity Max velocity
Clean / potable water 0.25 m/s 2.5 m/s
Raw water (untreated) 0.5 m/s 2.0 m/s
Treated effluent 0.5 m/s 2.0 m/s
Raw sewage 0.75 m/s 1.8 m/s
Wastewater — low solids 0.5 m/s 2.0 m/s
Wastewater — high solids / grease & scum 1.0 m/s 2.0 m/s
Thin sludge (< 2% DS) 0.75 m/s 2.0 m/s
Thick sludge (2–12% DS) 0.5 m/s 1.2 m/s

Notice the pattern: fluids that carry more solids (sewage, sludge, high-solids wastewater) have higher minimum velocities to stay self-cleansing, but lower or narrower maximum velocities, since they're more abrasive and the consequences of high-velocity operation are more severe. Clean water sits at the opposite end as it can run slow without settlement risk, and fast without meaningfully eroding the pipe.

From flow range to standard diameter

Once you have a velocity envelope, the sizing process is a matter of working the continuity equation from both ends of your expected flow range:

Working from the flow range
Dmin = √(4 · Qmax / (π · Vmax))  →  smallest diameter that keeps peak flow within the velocity limit

Dmax = √(4 · Qmin / (π · Vmin))  →  largest diameter that keeps minimum flow self-cleansing

This gives you a theoretical diameter range — anything between Dmin and Dmax would, in theory, keep velocity within limits across your full flow range. The final step is to round to the nearest manufactured nominal diameters (DN) and check that each candidate size keeps velocity inside the envelope at both ends of your flow range — not just at the design midpoint.

Standard DN sizes: Pipe is manufactured in a defined series of nominal diameters — DN100, DN125, DN150, DN200, DN250, DN300 and so on. You can't specify an arbitrary 227 mm pipe; you select the nearest standard size that satisfies your velocity constraints, which is why the usable range often narrows to just one or two practical options. Occasianally it is unavoidable that a standard DN may barely fall outside of the acceptable velocity ranges. As such, small deviations from the velocity table are accepted.

Worked example: sizing a potable water main

Take a pumped potable water main with an expected operating range of 15–100 l/s (0.015–0.1 m³/s), carrying clean/potable water (velocity envelope 0.25–2.5 m/s):

Step 1 — minimum diameter, from peak flow at max velocity
Dmin = √(4 × 0.1 / (π × 2.5)) = 0.226 m → 226 mm → first standard size above: DN250

Step 2 — maximum diameter, from minimum flow at min velocity
Dmax = √(4 × 0.015 / (π × 0.25)) = 0.276 m → 276 mm → last standard size below: DN250

Both bounds land on the same standard size, DN250 is the only nominal diameter that keeps velocity within the 0.25–2.5 m/s envelope across the entire 15–100 l/s operating range. Checking the result confirms it: at DN250 (internal area ≈ 0.049 m²), 15 l/s gives a velocity of roughly 0.31 m/s, and 100 l/s gives roughly 2.04 m/s. These are both comfortably inside the limit, with no margin to spare at either end. A DN225 would push peak velocity over 2.5 m/s; a DN300 would let minimum-flow velocity drop below the self-cleansing threshold. This is exactly the kind of narrow, flow-range-dependent result that makes manual iteration tedious, which is exactly what this pipe sizing calculator automates.

Key takeaways

  • Size against the full expected flow range: minimum and maximum (not a single design flow)
  • Minimum velocity protects against sediment deposition; maximum velocity protects against erosion, surge and excess pumping cost.
  • Velocity envelopes vary significantly by fluid; solids-bearing fluids need higher minimums and tighter maximums than clean water.
  • Always round to standard manufactured DN sizes, and verify velocity at both ends of the flow range for the candidate diameter.
  • The acceptable DN range can be narrow (sometimes a single size) which is why a flow-range-based check matters more than a single-point calculation.