Find the pipe size for a flow in GPM using a typical 5 ft/s water velocity or your own, with the nearest Schedule 40 PVC size and a GPM by pipe size chart.

5 ft/s is a common design velocity for water lines; 2–8 ft/s is the usual range. Lower velocity gives a bigger pipe.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Inside diameter from flow and velocityFinds the inside diameter a full round pipe needs to carry a flow at a chosen velocity, and the smallest Schedule 40 PVC size that meets itRequires the flow rate and the average fluid velocity
Flow from inside diameter and velocityFinds the flow a pipe of a known inside diameter carries at a chosen velocityRequires the actual inside diameter and the average fluid velocity
Velocity from flow and inside diameterFinds the average velocity of a known flow in a pipe of a known inside diameterRequires the flow rate and the actual inside diameter

Flow rate is entered in US gal/min, L/min or m³/h, velocity in ft/s, m/s or ft/min, and diameter in inches or millimeters. The velocity field starts at 5 ft/s and can be changed. Every result also shows the inside diameter in both inches and millimeters and the cross-sectional area in mm².

GPM to Pipe Size Formulas

D = √(4 × Q ÷ (π × V)) [1]
DInside diameter of the pipe (m)
QVolumetric flow rate (m³/s). One US gallon is 0.003785412 m³ [2]
VAverage velocity of the fluid across the pipe (m/s)

The formula comes from Q = V × A, where A = π × D² ÷ 4 is the cross-sectional area of a round pipe flowing full [1]. Entries in other units are converted to m³/s, m/s and meters before the calculation, and the answer is converted back.

Inside diameter from flow and velocity

The main formula applies directly. With flow in US gal/min, velocity in ft/s and diameter in inches, it reduces to:

D = √(0.4085 × GPM ÷ V) [3]

A flow of 40 US gal/min at 5 ft/s needs √(0.4085 × 40 ÷ 5) = 1.808 in of inside diameter. The result is an inside diameter, which is not the nominal size printed on the pipe. The calculator also names the smallest Schedule 40 PVC size from ½ in to 8 in whose listed inside diameter is at least the answer, with each inside diameter taken as the average outside diameter minus twice the minimum wall thickness in the manufacturer’s pipe data [4]. For 1.808 in that is the 2 in size, at 2.067 in.

Flow (US gal/min)Inside diameter at 5 ft/s (in)Inside diameter at 5 ft/s (mm)
10.2867.3
20.40410.3
50.63916.2
100.90423.0
151.10728.1
201.27832.5
301.56639.8
401.80845.9
502.02151.3
752.47562.9
1002.85872.6
1503.50188.9
2004.042102.7
3004.951125.7
5006.391162.3

Flow from inside diameter and velocity

Q = V × π × D² ÷ 4

In US units this is GPM = 2.448 × D² × V, with D in inches and V in ft/s. A pipe with a 2.067 in inside diameter carries 2.448 × 2.067² × 5 = 52.3 US gal/min at 5 ft/s. The result also lists the flow at 3, 5 and 8 ft/s for comparison. The table below gives the flow in Schedule 40 PVC pipe at three velocities, using the listed inside diameters [4].

Nominal sizeInside diameter (in)GPM at 2 ft/sGPM at 5 ft/sGPM at 8 ft/s
½ in0.6221.94.77.6
¾ in0.8243.38.313.3
1 in1.0495.413.521.6
1¼ in1.3809.323.337.3
1½ in1.61012.731.750.8
2 in2.06720.952.383.7
2½ in2.46929.874.6119.4
3 in3.06846.1115.2184.3
4 in4.02679.4198.4317.4
5 in5.047124.7311.8498.8
6 in6.065180.1450.2720.4
8 in7.981311.9779.61,247.4

Velocity from flow and inside diameter

V = 4 × Q ÷ (π × D²)

In US units this is V = 0.4085 × GPM ÷ D² [3]. A flow of 40 US gal/min in a pipe with a 2.067 in inside diameter moves at 0.4085 × 40 ÷ 2.067² = 3.82 ft/s. The result also shows the velocity at 80% and 120% of the entered flow.

Limits of This Estimate

  • The pipe is treated as round and flowing full. A partly full drain or sewer line carries less than these figures.
  • The result is flow geometry only. It does not include pressure loss, pressure rating, pump performance or the velocity limit of a given pipe material. One PVC and CPVC pipe manufacturer advises keeping flow velocity at or below 5 ft/s [3].
  • Flow cannot be found from pressure and pipe size alone with this method. That needs the pipe length, fittings and friction loss as well.
  • The Schedule 40 PVC sizes are a first screen. Inside diameter differs between schedules and between PVC, copper, PEX and steel of the same nominal size, so the actual inside diameter of the chosen product should be entered.

Sources

  1. U.S. Bureau of Reclamation, Water Measurement Manual, Chapter 2, Section 4: discharge as velocity times flow area, and continuity
  2. NIST, Guide for the Use of the International System of Units (SP 811), Appendix B.8: factors for US gallons, inches and feet
  3. Charlotte Pipe and Foundry, Plastics Technical and Installation Manual (TM-PL), Water Velocities: velocity from US gal/min and inside diameter in inches, and the 5 ft/s velocity notice
  4. Charlotte Pipe and Foundry, Dimensional Catalog (DC-PR), PVC Schedule 40 Pipe, Plain End: outside diameters and minimum wall thicknesses behind the Schedule 40 inside diameters