Calculate pipe inside diameter from flow and velocity, reverse-solve capacity or speed, convert units, and screen a Schedule 40 PVC nominal candidate plus flow sensitivity.

Uses a full circular inside area. This is a flow-geometry estimate; pressure loss, pipe ratings and application velocity limits require separate design checks.

GPM to Pipe Size Formula

The following formula is used to convert GPM to pipe size, in this case, a diameter.

D = sqrt(4 × (GPM / (1728 / 231)) / (pi × V))
  • Where D is the diameter of the pipe (ft)
  • GPM is the flow rate through the pipe (US liquid gallons per minute)
  • V is the velocity of the flow (ft/minute)

To calculate pipe size, divide the US GPM by 1728/231 (about 7.48052), then by the velocity in ft/min and by pi. Multiply this result by 4, then take the square root.

Flow Rate and Velocity to Pipe Diameter Conversion (D(in) = √((77/(60π)) × Q/V), Q in US GPM, V in ft/s)
Flow Rate (GPM) Velocity (ft/s) Pipe Diameter (in) Pipe Diameter (mm)
0.550.2025.134
150.2867.260
250.40410.267
350.49512.575
450.57214.520
550.63916.234
7.550.78319.883
1050.90422.959
1551.10728.118
2051.27832.468
2551.42936.301
3051.56639.765
4051.80845.917
5052.02151.337
6052.21456.237
7552.47562.874
8052.55764.936
10052.85872.601
15053.50188.918
20054.042102.674
* Rounded to 3 decimals. D(in) = √((77/(60π)) × Q/V) ≈ 0.639138 × √(Q/V), with Q in US GPM and V in ft/s. 1 inch = 25.4 mm.

GPM to Pipe Size Definition

Converting a GPM to pipe size is done using the formula Q=V*A, where Q is the volumetric flow rate (GPM), V is the velocity, and A is the cross-sectional area.

In this case, we know Q and V, but not the area (aka pipe size). Solving for the area we get a formula of A= Q/V. Substituting area with the formula for the area of a circle and solving for D we get the formula above.

Example Problem

How to calculate Pipe Size from GPM?

First, determine the volumetric flow rate of the fluid through the pipe. In this case, we want the flow rate to be in gallons per minute. After measuring we determine the flow rate to be 40 gallons per minute.

Next, convert 40 US gallons/minute to cubic feet/minute using 231/1728 ft³ per US gallon.

= 40 × 231/1728 ≈ 5.34722 ft³/min

Next, determine the linear velocity of the fluid. Measuring the flow yields a velocity of 4 ft/min.

Finally, calculate the pipe diameter using the formula above:

D = √(4 × 5.34722 / (4 × π)) ≈ 1.30463 ft

= 15.6556 in (about 397.65 mm)

Similarly, the cross-sectional area can be calculated as:

A = Q/V

= 5.34722/4

= 1.33681 ft²