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.
Reviewed for accuracy by Abdullah, Technical Content Specialist
Pipe Size 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)) | Head Loss = f x (L/D) x (V^2 / 2g)
Worked example โ Nominal Size: 1 inch | Actual Velocity: 4.09 ft/s | Reynolds: 30,441 | Pressure Drop: 4.62 PSI
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 Required area = 0.02228 / 5 = 0.004456 sq ft Calculated diameter = sqrt(4 x 0.004456 / pi) = 0.0753 ft = 0.904 in Next standard size = 1 inch nominal Actual area (1 in) = pi x (1/24)^2 = 0.00545 sq ft Actual velocity = 0.02228 / 0.00545 = 4.09 ft/s Reynolds 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 Required area = 0.0557 / 5 = 0.01114 sq ft Calculated diameter = sqrt(4 x 0.01114 / pi) = 0.1191 ft = 1.429 in Next standard size = 1.5 inch nominal Actual velocity with 1.5 in pipe = 4.53 ft/s Friction loss over 200 ft = 5.8 ft head = 2.51 PSI Elevation pressure = 10 x 0.4335 = 4.34 PSI Total 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).
What is the Hazen-Williams equation and when is it used?
The Hazen-Williams equation is an empirical formula widely used in water distribution system design for calculating friction head loss in pressurized pipe systems. The formula is h = 10.67 x L x Q^1.852 / (C^1.852 x D^4.87), where h is head loss in feet, L is pipe length, Q is flow in GPM, C is the Hazen-Williams roughness coefficient, and D is pipe diameter in feet. The C coefficient varies by material: new steel pipe uses C=140, cast iron uses C=130, PVC uses C=150, and aged/corroded pipes can drop to C=80-100. This equation is simpler than the Darcy-Weisbach equation but is only valid for water at normal temperatures (40-75 degrees F) and for turbulent flow conditions. For other fluids, temperatures, or laminar flow, the Darcy-Weisbach equation with the Moody chart should be used instead.
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.
How do I calculate pipe size for a multi-fixture plumbing system?
For plumbing systems serving multiple fixtures, use the fixture unit method from the Uniform Plumbing Code (UPC) or International Plumbing Code (IPC). Each fixture is assigned a unit value based on its flow demand: a lavatory is 1 unit, a shower is 2 units, a bathtub is 3 units, a kitchen sink is 2 units, and a toilet is 3-5 units. Sum all fixture units on each branch and trunk line. Look up the total fixture units in code tables that account for demand diversity (not all fixtures operate simultaneously). For example, 20 fixture units requires approximately 15 GPM, which needs a 1-inch main supply line. The code tables factor in a diversity factor similar to electrical demand calculations, since a 10-fixture bathroom building will rarely have all fixtures running simultaneously. Individual fixture connections use minimum sizes specified by code regardless of calculation results.
What is the difference between nominal and actual pipe dimensions?
Nominal pipe size (NPS) is a label that does not correspond exactly to any physical measurement of the pipe. For pipes 14 inches and smaller, the nominal size is related to but not equal to the inside diameter. A nominal 1-inch Schedule 40 steel pipe has an outside diameter of 1.315 inches and an inside diameter of 1.049 inches, which is neither 1 inch outside nor inside. The outside diameter is standardized for each nominal size regardless of wall thickness (schedule), so different schedules of the same nominal size have the same OD but different IDs and wall thicknesses. Schedule 40 is standard weight, Schedule 80 is extra strong with thicker walls (and smaller ID). Copper pipe uses a different system where Type K has the thickest walls, Type L is standard, and Type M is the thinnest. PVC pipe uses the same nominal and schedule system as steel. Always verify actual inside diameter when calculating flow, as using nominal size produces significant errors.
How does elevation change affect pipe sizing and pressure?
Elevation change directly affects the pressure available in a piping system through hydrostatic pressure. Every foot of elevation gain reduces pressure by 0.4335 PSI (the weight of a 1-foot column of water). Conversely, every foot of drop adds 0.4335 PSI. A building with a water source 100 feet below needs to overcome 43.35 PSI of static head just from elevation before adding friction losses. This means pipes on upper floors of tall buildings experience lower pressure than ground-floor pipes. For a 10-story building (roughly 100 feet), the top floor has 43 PSI less pressure than the ground floor. Pressure booster pumps are typically needed when supply pressure minus elevation loss minus friction loss drops below the minimum required pressure (typically 15-20 PSI at the highest fixture). Gravity-fed systems like rooftop tanks use elevation to create pressure, with each 10 feet of head providing about 4.3 PSI.
References
Background & Theory
History
Reviewed for accuracy by Abdullah, Technical Content Specialist ยท Editorial policy
Related Calculators
๐Bra Size Calculator
Find your correct bra size
๐Clothing Size
International clothing and shoe sizes
๐งฎWater Supply Pipe Size Calculator
Size water supply pipes based on fixture count and flow demand using code tables.
๐งฎWater Main Size Calculator
Determine water main pipe size from fixture count, demand, and street pressure.
๐งฎIrrigation System Calculator
Design a sprinkler irrigation system by calculating GPM, pipe size, and zones.
๐งฎPipe Weight Calculator
Calculate pipe weight with inputs, formulas, and instant results.
๐งฎBreaker Size Calculator
Calculate breaker size with inputs, formulas, and instant results.
๐งฎWire Size Calculator
Calculate wire size with inputs, formulas, and instant results.