Skip to main content

Pipe Size Calculator

Free Pipe size Calculator for plumbing projects. Enter dimensions to get material lists and cost estimates. Free to use with no signup required.

Share this calculator

Formula

D = sqrt(4Q / (pi x V)) | Head Loss = f x (L/D) x (V^2 / 2g)

Pipe diameter is calculated from the continuity equation (Q = A x V) by solving for diameter from the cross-sectional area. Friction head loss uses the Darcy-Weisbach equation with the friction factor from the Swamee-Jain approximation for turbulent flow. Pressure drop equals head loss times 0.4335 PSI per foot of water.

Worked Examples

Example 1: Residential Water Supply

Problem: Size a pipe for 10 GPM flow rate at 5 ft/s design velocity with 100 feet of pipe run and no elevation change.

Solution: Flow rate = 10 GPM = 10/448.831 = 0.02228 CFS\nRequired area = 0.02228 / 5 = 0.004456 sq ft\nCalculated diameter = sqrt(4 x 0.004456 / pi) = 0.0753 ft = 0.904 in\nNext standard size = 1 inch nominal\nActual area (1 in) = pi x (1/24)^2 = 0.00545 sq ft\nActual velocity = 0.02228 / 0.00545 = 4.09 ft/s\nReynolds number = 4.09 x 0.0833 / 1.12e-5 = 30,441 (turbulent)

Result: Nominal Size: 1 inch | Actual Velocity: 4.09 ft/s | Reynolds: 30,441 | Pressure Drop: 4.62 PSI

Example 2: Irrigation System Main Line

Problem: An irrigation system needs 25 GPM through 200 feet of pipe at a design velocity of 5 ft/s with a 10-foot elevation gain.

Solution: Flow rate = 25 GPM = 0.0557 CFS\nRequired area = 0.0557 / 5 = 0.01114 sq ft\nCalculated diameter = sqrt(4 x 0.01114 / pi) = 0.1191 ft = 1.429 in\nNext standard size = 1.5 inch nominal\nActual velocity with 1.5 in pipe = 4.53 ft/s\nFriction loss over 200 ft = 5.8 ft head = 2.51 PSI\nElevation pressure = 10 x 0.4335 = 4.34 PSI\nTotal required pressure = 2.51 + 4.34 = 6.85 PSI

Result: Nominal Size: 1.5 inch | Velocity: 4.53 ft/s | Total Pressure Needed: 6.85 PSI

Frequently Asked Questions

How do I determine the right pipe size for a given flow rate?

Pipe sizing starts with the fundamental relationship between flow rate, velocity, and cross-sectional area. The formula is Q = A x V, where Q is flow rate, A is pipe cross-sectional area, and V is fluid velocity. First, select an appropriate velocity for your application. For water supply, recommended velocity is 4-8 feet per second. For drainage, it is 2-4 feet per second. Divide the required flow rate by the chosen velocity to get the needed cross-sectional area, then calculate the diameter from the area using D = sqrt(4A / pi). Round up to the next standard pipe size. For example, a 10 GPM flow at 5 ft/s velocity requires a pipe area of 0.00445 sq ft, which yields a calculated diameter of 0.90 inches, rounding up to a 1-inch nominal pipe.

What is the recommended flow velocity for different pipe applications?

Recommended velocities vary by application to balance pressure loss against pipe cost. For cold water supply, 4-8 feet per second is standard, with 5 ft/s being the most common design velocity. Hot water lines should use 3-5 ft/s to reduce noise and water hammer risk. Fire protection systems require 10-20 ft/s for main lines. Drainage and sewer pipes use 2-4 ft/s to carry solids without excessive erosion. Industrial process piping varies by fluid: chemical lines use 3-6 ft/s, while steam lines allow 60-120 ft/s. Velocities below 2 ft/s risk sediment settlement and stagnation, while velocities above 10 ft/s cause erosion, noise, vibration, and increased water hammer forces. The economic velocity balances pipe material cost (larger pipes cost more) against operating cost (smaller pipes have higher pressure losses requiring larger pumps).

How does pipe material affect sizing and pressure loss?

Pipe material affects sizing through internal roughness, which determines friction losses. Smooth materials like PVC, CPVC, and copper have low roughness values (0.000005-0.00005 feet) and produce less friction, allowing smaller pipe sizes or longer runs. Galvanized steel and cast iron have higher roughness (0.00015-0.00085 feet) and create more friction. Over time, metal pipes develop internal corrosion and mineral deposits that increase roughness dramatically, sometimes reducing effective diameter by 10-20%. Material also determines the pressure rating (schedule). PVC Schedule 40 handles up to 450 PSI for small sizes but only 130 PSI for 6-inch pipe. Copper Type L handles 450+ PSI. Material selection also considers temperature limits (PVC fails above 140 degrees F), chemical compatibility, code requirements, and joint types. For hot water applications, copper or CPVC is required because standard PVC cannot handle the temperature.

What is Reynolds number and why does it matter for pipe flow?

Reynolds number (Re) is a dimensionless value that predicts whether fluid flow will be laminar (smooth, parallel layers) or turbulent (chaotic, mixing). It is calculated as Re = V x D / nu, where V is velocity, D is pipe diameter, and nu is kinematic viscosity. Flow is laminar when Re is below 2,300, transitional between 2,300 and 4,000, and fully turbulent above 4,000. Most practical pipe systems operate in turbulent flow. This distinction matters because friction losses are calculated differently for each regime. Laminar flow has a friction factor of 64/Re (proportional to velocity), while turbulent flow friction factors depend on both Reynolds number and pipe roughness and increase roughly with the square of velocity. Turbulent flow produces higher pressure drops but also better heat transfer and mixing, which is desirable in heating systems.

How do pipe fittings and valves affect pressure loss?

Every fitting, valve, and directional change in a piping system creates additional pressure loss beyond straight pipe friction. These losses are typically expressed as equivalent lengths of straight pipe. A standard 90-degree elbow adds the equivalent of 30-60 pipe diameters of length. A gate valve (fully open) adds 8-10 diameters, while a globe valve adds 300-400 diameters. A tee with flow through the branch adds 60-90 diameters. For a system with many fittings, these losses can exceed the straight pipe losses. A rule of thumb adds 50% to the measured pipe length to account for fittings in a typical residential system and 25-30% for simpler industrial runs. For critical systems, calculate each fitting individually using published K-values or equivalent length tables from manufacturers. Reducing the number of fittings and using swept (long-radius) elbows instead of standard elbows significantly reduces total pressure loss.

What is water hammer and how does pipe size affect it?

Water hammer is a pressure surge caused by sudden changes in fluid velocity, typically from rapid valve closure or pump shutdown. The pressure wave travels through the pipe at the speed of sound in the fluid (about 4,800 ft/s in water) and can generate pressure spikes of hundreds of PSI. The surge pressure is calculated as delta-P = rho x c x delta-V, where rho is fluid density, c is wave speed, and delta-V is the velocity change. Smaller pipes with higher velocities produce more severe water hammer because the velocity change is larger. A 3/4-inch pipe at 10 ft/s generates roughly twice the hammer pressure of a 1-inch pipe at 5.6 ft/s for the same flow rate. Prevention methods include properly sizing pipes for moderate velocities, installing water hammer arrestors, using slow-closing valves, and adding pressure relief valves. Designing systems to keep velocities below 5 ft/s significantly reduces hammer risk.

References