Pipe Sizing Calculator
Calculate pipe sizing accurately for your build. Get material quantities, waste allowances, and project cost breakdowns.
Pipe Sizing Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: D = sqrt(4Q / (pi x V_max)) where Q = flow rate, V_max = maximum velocity
Worked example โ Recommended pipe size is 1-1/4 inch with actual velocity of 3.20 ft/s
Formula
D = sqrt(4Q / (pi x V_max)) where Q = flow rate, V_max = maximum velocity
The minimum pipe inside diameter is calculated from the continuity equation. Convert the flow rate from GPM to cubic feet per second, then divide by the maximum allowable velocity to get the minimum cross-sectional area. The diameter is then found from the area using the circle formula. Select the next available standard pipe size with an inside diameter at least as large as the calculated minimum.
Worked Examples
Example 1: Residential Water Supply Main
Problem:Size a pipe for 15 GPM with a maximum velocity of 5 ft/s for a house supply line.
Solution:Q = 15 x 0.002228 = 0.03342 cfs A_min = 0.03342 / 5 = 0.006684 sq ft D_min = sqrt(4 x 0.006684 / pi) x 12 = 1.11 inches Select 1-1/4 inch (ID = 1.38 in) Actual velocity = 3.20 ft/s
Result:Recommended pipe size is 1-1/4 inch with actual velocity of 3.20 ft/s
Example 2: Commercial HVAC Chilled Water
Problem:Size a pipe for 50 GPM chilled water with a maximum velocity of 6 ft/s.
Solution:Q = 50 x 0.002228 = 0.1114 cfs A_min = 0.1114 / 6 = 0.01857 sq ft D_min = sqrt(4 x 0.01857 / pi) x 12 = 1.85 inches Select 2 inch (ID = 2.067 in) Actual velocity = 4.78 ft/s
Result:Recommended pipe size is 2 inch with actual velocity of 4.78 ft/s
Frequently Asked Questions
How do I determine the correct pipe size?
Pipe sizing starts with the required flow rate in GPM and a maximum allowable velocity. The minimum pipe inside diameter is calculated from the flow rate and velocity using the continuity equation: Area = Flow / Velocity. Then select the next standard pipe size with an inside diameter equal to or larger than the calculated minimum. For residential water supply, velocity should not exceed 5-6 ft/s. For commercial mains, up to 8 ft/s is acceptable. Fire protection systems may allow 10 ft/s.
What velocity should I use for pipe sizing?
The maximum velocity depends on the application. Residential water supply lines should stay below 5 ft/s to minimize noise and water hammer. HVAC hot and chilled water systems typically design for 4 ft/s in branches and 6-8 ft/s in mains. Steam lines operate at much higher velocities: 100-120 ft/s for superheated steam. Compressed air systems typically use 20-30 ft/s. Always check local codes as they may specify maximum velocities for different applications.
What is the difference between nominal pipe size and actual inside diameter?
Nominal pipe size (NPS) is a standard designation that does not directly correspond to any physical dimension. For sizes 1/8 through 12 inches, the nominal size is only approximately equal to the inside diameter. The actual ID depends on the wall thickness (schedule). For example, a nominal 1-inch Type L copper tube has an inside diameter of 1.049 inches, while a 1-inch Schedule 40 steel pipe has an ID of 1.049 inches as well. Always use the actual ID for flow calculations.
How does pipe material affect sizing?
Pipe material affects sizing through roughness (friction loss) and available sizes. Copper and PEX have very smooth interiors, resulting in lower friction losses and potentially allowing smaller pipe sizes for the same flow. Steel and iron pipes have rougher interiors, especially after years of service, requiring larger sizes to maintain adequate pressure. Material also determines the available wall thicknesses and standard sizes. Always size based on the actual inside diameter of the specific pipe type you are using.
What is the continuity equation and how does it drive pipe sizing?
Continuity states that for steady incompressible flow the volumetric flow rate equals cross-sectional area times mean velocity. Rearranged, the area needed is the flow divided by the velocity you are willing to accept, and the diameter follows from the area of a circle. This is why sizing is really a velocity decision: pick the limit, and the geometry is fixed. Because area varies with the square of diameter, small size increases buy large velocity reductions.
When should pressure drop govern the size instead of velocity?
Velocity limits protect against noise, erosion and water hammer, and they usually control short runs inside a building. On long distribution mains, a velocity that sounds acceptable can still accumulate an unusable friction loss over hundreds of feet, so the design is instead set by an allowable drop per hundred feet, or by the residual pressure required at the least favourable outlet. Size on whichever criterion demands the larger bore, then check the other.
Why do copper hot water lines carry a lower velocity limit than cold lines?
High velocity strips the protective oxide film from the bore, and the fresh metal exposed then corrodes and is stripped again; this erosion-corrosion attacks elbows and tees first, where the flow turns. The mechanism accelerates with temperature, so recirculating hot water systems are held to a noticeably lower velocity than cold lines of the same material. Entrained air, grit and poorly reamed cut ends all make it worse by adding local turbulence.
How does fixture unit demand become a design flow in gallons per minute?
Plumbing supply loads are counted in water supply fixture units, which weight each fixture for its flow, duration and how often it is used. The total is then converted to a probable simultaneous demand using a probability curve rather than by simple addition, because not every fixture runs at once. That conversion is what keeps building mains from being grossly oversized, and it is why a large building's design flow is a small fraction of the sum of its fixture ratings.
How is sizing a gravity drain different from sizing a pressure line?
A pressure line is sized from continuity and a velocity or friction-loss limit, with the pump supplying the energy. A gravity drain has only the slope, so it is sized with an open-channel relation such as Manning's equation, using the hydraulic radius of the partly full section and the pipe roughness. Drains are also designed to run partly full so air can move above the flow, which is why drainage tables give capacity at half or two-thirds full.
How much does going up one nominal size actually reduce friction loss?
A great deal, because loss falls roughly with the fifth power of the internal diameter at fixed flow. Moving from a Schedule 40 one inch line, bore 1.049 inches, to a one and a quarter inch line, bore 1.380 inches, is only a 31 percent gain in diameter, yet it cuts friction loss to about a quarter of the original. That is why upsizing one step is usually cheaper than adding pump head to overcome an undersized run.
References
Background & Theory
History
Reviewed for accuracy by Abdullah, Technical Content Specialist ยท Editorial policy
Related Calculators
๐งฎSwale Sizing Calculator
Calculate swale sizing with inputs, formulas, and instant results.
๐งฎPipe Weight Calculator
Calculate pipe weight with inputs, formulas, and instant results.
๐งฎGenerator Sizing Calculator
Calculate generator sizing with inputs, formulas, and instant results.
๐งฎRain Gutter Sizing Calculator
Calculate rain gutter sizing with inputs, formulas, and instant results.
๐งฎPipe Friction Loss Calculator
Calculate pipe friction loss with inputs, formulas, and instant results.
๐งฎPipe Heat Loss Calculator
Calculate pipe heat loss with inputs, formulas, and instant results.
๐งฎPipe Slope Required Calculator
Calculate pipe slope required with inputs, formulas, and instant results.
๐งฎPipe Volume Calculator
Calculate pipe volume with inputs, formulas, and instant results.