Sizing & How-to

How to Calculate the Right Pipe Size for Your Flow Rate

Pipe size comes from the flow you need and how fast you'll let water move. Too small and it's noisy and loses pressure; too big costs more than it needs to. Here's the formula in US and metric units, with tables.

Updated 5 min read 1 sources cited
Water flowing through pipes of different diameters with pressure gauges, for matching pipe size to flow rate
The short answer

Minimum internal diameter: d (inches) = √(0.4085 × GPM ÷ velocity in ft/s), or in metric d (mm) = √(21.22 × L/min ÷ velocity in m/s). At 10 GPM and a 5 ft/s limit, that's 0.90 inch, so a 1-inch pipe, because a 3/4-inch copper tube's real bore (about 0.79 inch) would push water to about 6.6 ft/s. In metric, 30 L/min at 1.5 m/s needs about 21 mm internal diameter. Always compare with the pipe's actual bore, then check friction loss over the length.

0.90 inminimum bore for 10 GPM at 5 ft/s
≈ 21 mmminimum bore for 30 L/min at 1.5 m/s
Bore, not nominaluse the pipe's real internal diameter
On this page
  1. The quick answer
  2. How the calculation works
  3. Key variables that change the answer
  4. Common mistakes
  5. Related calculators you might need
  6. The bottom line

The quick answer

Minimum theoretical internal diameter by flow rate, at two common velocity limits:

Flow rateMin. diameter at 5 ft/sMin. diameter at 8 ft/s
5 GPM0.64 in0.51 in
10 GPM0.90 in0.71 in
15 GPM1.11 in0.88 in
20 GPM1.28 in1.01 in
30 GPM1.57 in1.24 in
50 GPM2.02 in1.60 in

5 ft/s is the conservative velocity ceiling widely used for residential branch lines to limit noise and erosion; 8 ft/s is a higher limit sometimes applied to short trunk or main runs. These are theoretical minimums — always round up to the next actual nominal pipe size, since real pipe internal diameter is smaller than the nominal size (a “3/4-inch” pipe is not 0.75 inches inside).

Skip the math: Use the Pipe Size & Flow Rate Calculator to get an exact minimum diameter for your flow rate and velocity target.

How the calculation works

The relationship between flow, velocity, and pipe cross-sectional area is the continuity equation, converted into plumbing-friendly units:

Q (GPM) = 3.117 × V (ft/s) × A (in²)

Since A = πd²/4, solving for diameter gives d = √(4Q ÷ (3.117 × π × V)), which simplifies to:

d = √(0.4085 × Q ÷ V)

In metric: d (mm) = √(21.22 × Q ÷ V), with Q in litres per minute and V in metres per second. Example: 30 L/min at 1.5 m/s gives √(21.22 × 30 ÷ 1.5) = √424 ≈ 20.6 mm.

Worked example — 10 GPM target flow, 5 ft/s maximum velocity:

  • d² = 0.4085 × 10 ÷ 5 = 0.817
  • d = √0.817 = 0.904 inches minimum internal diameter

Checking a 3/4-inch copper pipe (actual internal diameter about 0.785 inch for Type L): velocity at 10 GPM works out to about 6.6 ft/s — over the 5 ft/s target. Checking a 1-inch pipe (actual internal diameter roughly 1.025 inches): velocity drops to 3.89 ft/s, comfortably under the limit. That’s why the 0.90-inch theoretical minimum rounds up to a full 1-inch nominal pipe in practice, not the 3/4-inch size its raw number sits closest to.

Key variables that change the answer

Nominal size versus actual internal diameter. This is the single biggest source of pipe-sizing error. Pipe is sold by nominal size, but the actual bore is smaller — sometimes by 15–20% — once wall thickness is accounted for, and the exact figure varies by material (copper, PVC, PEX, galvanized steel all differ). Always check the manufacturer’s actual internal diameter for your specific pipe type and schedule, not the nominal label.

Velocity limit chosen. Plumbing codes and engineering guidance don’t specify one universal maximum velocity — 5 ft/s is common for continuous residential branch lines, while some codes and applications allow up to 8 ft/s for short runs. A higher velocity limit lets you use a smaller pipe for the same flow, at the cost of more noise, higher friction loss, and faster erosion in metal pipe over the system’s life.

Pipe material and friction (Hazen-Williams C factor). The diameter formula above sizes for velocity only. Friction loss over distance depends heavily on interior pipe roughness — smooth materials like PEX and copper have a higher Hazen-Williams C factor (less friction) than older or corroded galvanized steel, which can develop enough internal roughness to need a size increase over what a new-pipe calculation would suggest.

Simultaneous fixture demand. Sizing a branch line for one fixture and then feeding multiple fixtures from a shared main understates the actual peak flow the main has to carry — main and trunk lines need to be sized to the sum of likely simultaneous demand, not a single fixture’s flow.

Length of run. The velocity-based diameter formula doesn’t change with pipe length, but total pressure loss does — a long run at the same diameter and flow loses more pressure to friction than a short one, which is a separate calculation from diameter sizing but often pushes toward a larger pipe on long runs to keep total pressure drop acceptable.

Common mistakes

Rounding to the nearest nominal size instead of up to the next size that actually clears the target. As the worked example shows, the theoretical minimum can sit closer to a nominal size that, once actual bore is accounted for, doesn’t actually meet the velocity target.

Ignoring the difference between nominal and actual internal diameter. Using nominal diameter directly in the formula (0.75 inches for “3/4-inch pipe”) instead of the true bore overstates the pipe’s real capacity.

Sizing branch lines without considering simultaneous demand on the shared main. A main line sized only for one fixture’s flow will starve pressure the moment a second fixture on the same branch opens.

Treating velocity limit as fixed rather than context-dependent. Applying an 8 ft/s limit to a long, continuously-used branch line (better suited to a 5 ft/s design) trades a smaller pipe now for more noise and faster wear over the system’s service life.

Before sizing pipe, confirm the flow rate you’re actually designing for with the Water Flow Rate Calculator — pipe sizing is only as accurate as the GPM figure feeding into it. If the line is feeding a pump rather than a fixture, cross-check against the Pump Horsepower & Flow Rate Calculator, since undersized pipe on the discharge side of a pump adds friction head the pump has to overcome. And if you’re troubleshooting low pressure at a fixture rather than sizing new pipe, the Water Pressure Calculator helps separate a pipe-sizing problem from a supply-pressure problem.

The bottom line

Minimum bore = √(0.4085 × GPM ÷ ft/s) in inches, or √(21.22 × L/min ÷ m/s) in millimetres. Compare it with the pipe's real internal diameter, not its nominal size, size mains for the flow of several fixtures together, and check friction loss over long runs, which often calls for a size larger than velocity alone suggests.

Frequently asked questions

What size pipe do I need for 10 GPM?

At a conservative 5 ft/s velocity limit, the minimum internal diameter is about 0.90 inches, which means specifying 1-inch nominal pipe — a 3/4-inch line’s real internal diameter isn’t quite enough to hold velocity under 5 ft/s at that flow. Use the Pipe Size & Flow Rate Calculator for other flow rates.

How do I calculate pipe size from flow rate?

Use d = √(0.4085 × Q ÷ V), where Q is flow in GPM and V is your target maximum velocity in ft/s; in metric, d (mm) = √(21.22 × L/min ÷ m/s). The result is the minimum internal diameter in inches — round up to the nearest pipe size whose actual (not nominal) internal diameter meets or exceeds that figure.

Why is my 3/4-inch pipe not delivering the flow I expected?

Nominal pipe size overstates actual bore. A “3/4-inch” pipe’s real internal diameter is often closer to 0.8 inches once wall thickness is factored in, which can push velocity — and pressure loss — higher than a sizing calculation based on the nominal 0.75-inch figure would suggest.

What’s a safe water velocity for home plumbing pipes?

5 ft/s is a commonly used conservative maximum for continuously-used residential branch lines; some applications allow up to 8 ft/s on short runs. Higher velocity means more noise and faster wear, particularly in metal pipe.

Sources and review

Unit conversions on this page come from this reference; pipe sizes are calculated from the continuity equation.

  1. NIST — Special Publication 811, Guide for the Use of the International System of Units. Conversion factors for horsepower, watts, gallons and litres (1 hp = 745.7 W).
John Mac, PE
Licensed Professional Engineer (Texas) · Water Systems Specialist

John has spent 13+ years designing, sizing and fixing residential and light-commercial water storage systems across more than 180 tank projects. He writes and reviews every guide and calculator on WaterTankCalculator.com.

Published · Last reviewed