Water Supply Pipe Size Calculator
Size water supply pipes based on fixture count and flow demand using code tables. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Abdullah, Technical Content Specialist
Water Supply 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: Q = 0.2083 x (C/100)^1.852 x d^4.8655 x (S/100)^0.54
Worked example โ 1-inch copper main supply line recommended for reliable flow and pressure
Formula
Q = 0.2083 x (C/100)^1.852 x d^4.8655 x (S/100)^0.54
Where Q = flow in GPM, C = Hazen-Williams roughness coefficient (150 for copper), d = pipe inside diameter in inches, S = friction loss in psi per 100 feet of pipe. Fixture units are converted to demand flow using the Hunter curve method.
Worked Examples
Example 1: Single-Family Home Water Main
Problem:A two-story home has 30 fixture units, 80 feet of pipe run, 60 psi supply pressure, and 12 feet of elevation rise. What pipe size is needed?
Solution:Elevation pressure loss = 12 x 0.433 = 5.2 psi Available pressure = 60 - 5.2 = 54.8 psi Allowable friction loss = (54.8 x 0.8 x 100) / 80 = 54.8 psi per 100 ft Demand flow (Hunter curve) = 5 + (20-5) x 0.8 + (30-20) x 0.5 = 22 GPM Minimum diameter calculated = approximately 0.75 inches Recommended pipe size = 1 inch (next standard size up for safety margin)
Result:1-inch copper main supply line recommended for reliable flow and pressure
Example 2: Small Commercial Building
Problem:An office building has 120 fixture units, 200 feet of pipe run, 55 psi supply pressure, and 25 feet of elevation. Size the main supply.
Solution:Elevation pressure loss = 25 x 0.433 = 10.8 psi Available pressure = 55 - 10.8 = 44.2 psi Allowable friction loss = (44.2 x 0.8 x 100) / 200 = 17.7 psi per 100 ft Demand flow (Hunter curve) = 17 + (100-20) x 0.5 + (120-100) x 0.3 = 63 GPM Minimum diameter calculated = approximately 1.8 inches Recommended pipe size = 2 inches
Result:2-inch main supply line needed to handle 63 GPM peak demand at adequate pressure
Frequently Asked Questions
How do I determine the number of fixture units for my building?
Fixture units are standardized values assigned to each plumbing fixture based on how much water it uses and how often it is used simultaneously. A typical bathroom sink counts as 1 fixture unit, a toilet counts as 2.5 to 4 fixture units, a bathtub is about 2 units, and a kitchen sink is about 1.5 units. You can find complete fixture unit tables in the Uniform Plumbing Code (UPC) or International Plumbing Code (IPC). Add up all the fixture units for every plumbing fixture connected to the water supply line to get your total. Commercial buildings use different values than residential ones, so check the appropriate code section for your project type.
What is the Hunter curve method for estimating water demand?
The Hunter curve is a probabilistic method developed by Roy B. Hunter at the National Bureau of Standards to estimate peak water demand in buildings. Rather than assuming all fixtures run simultaneously, it uses statistical probability to estimate the maximum likely simultaneous demand. The method converts fixture units to an estimated flow rate in gallons per minute using a logarithmic curve. For small fixture unit counts the demand per unit is higher because there is less diversity. As fixture units increase the probability of all running at once decreases, so the per-unit demand drops. This method has been the standard in plumbing codes for decades.
What pipe velocity is considered safe for water supply lines?
Most plumbing codes recommend keeping water velocity below 8 feet per second in supply piping to prevent noise, erosion, and water hammer. The ideal velocity range is between 4 and 6 feet per second, which provides good flow with minimal friction losses and quiet operation. Velocities below 2 feet per second can lead to sediment buildup and stagnation. High velocities above 8 feet per second cause pipe erosion over time, create loud rushing and banging noises, and increase the risk of water hammer that can damage pipes and fittings. For hot water recirculation lines, even lower velocities of 2 to 3 feet per second are preferred.
How does elevation affect water supply pipe sizing?
Elevation creates a static pressure loss of 0.433 psi for every foot of vertical rise in the piping system. This means a building with a 20-foot elevation change between the water main and the highest fixture loses about 8.66 psi just from gravity. This pressure loss reduces the available pressure that can be used to push water through the pipes, which in turn affects the pipe size calculation. In multi-story buildings, this elevation penalty becomes significant and may require larger pipes or booster pumps. The elevation loss must be subtracted from the available supply pressure before calculating the allowable friction loss per 100 feet of pipe.
What is the Hazen-Williams equation used in pipe sizing?
The Hazen-Williams equation is an empirical formula used to calculate the flow of water through pipes based on pipe diameter, roughness coefficient, and pressure gradient. The formula is Q = 0.2083 times C divided by 100 raised to the 1.852 power times the diameter raised to the 4.8655 power times the slope raised to the 0.54 power. The C coefficient represents the internal roughness of the pipe material, with values of 150 for copper, 140 for PEX, and 120 for older galvanized steel. This equation works well for water at normal temperatures but is not accurate for fluids with different viscosities. It remains one of the most commonly used methods in plumbing design.
Should I use copper, PEX, or CPVC for water supply lines?
Each pipe material has distinct advantages depending on the application and local code requirements. Copper is the traditional choice with excellent durability, a Hazen-Williams C factor of 150, and resistance to bacteria, but it is expensive and requires soldering or press fittings. PEX tubing has become the most popular choice for residential construction due to its flexibility, ease of installation, freeze resistance, and lower cost, with a C factor of around 140. CPVC is a rigid plastic alternative that handles hot water well and costs less than copper, but it can become brittle over time. Local plumbing codes may restrict which materials are permitted, so always check before selecting pipe material.
How do I account for fittings and valves in pipe sizing?
Fittings and valves create additional pressure losses beyond the straight pipe friction loss, and these must be accounted for in the design. The standard method is to use equivalent length, which converts each fitting to an equivalent length of straight pipe that would produce the same pressure drop. For example, a 90-degree elbow in a 1-inch copper pipe adds approximately 2.5 feet of equivalent length, while a gate valve adds about 0.5 feet. A typical rule of thumb adds 50 percent to the measured pipe length to account for fittings in a standard residential installation. For more accurate calculations, count each fitting individually and use the manufacturer equivalent length tables for the specific fitting type.
What is the minimum pipe size for a residential water main?
Most plumbing codes require a minimum water service pipe size of 3/4 inch for single-family residential homes, though some jurisdictions still allow 1/2 inch for very small dwellings with few fixtures. For houses with more than 2.5 bathrooms, outdoor irrigation, or long supply runs exceeding 80 feet, a 1-inch service line is strongly recommended. The interior distribution piping typically steps down from the main line, with 3/4-inch trunk lines serving multiple fixture groups and 1/2-inch branch lines feeding individual fixtures. When in doubt, always size up rather than down because undersized pipes lead to poor water pressure, slow fixture fill times, and noisy operation that are expensive to fix after construction.
Why does my water pressure drop when multiple fixtures are used?
Pressure drops during simultaneous use occur because the pipe system has a finite capacity determined by its size, length, and the available supply pressure. When more fixtures open, the total flow demand increases, which increases the velocity of water through the pipes and creates higher friction losses. Undersized pipes amplify this effect dramatically because friction loss increases roughly with the square of the flow rate. The solution involves properly sizing the main supply line and distribution piping using fixture unit counts and demand calculations rather than just connecting everything to the same small pipe. Strategic use of manifold systems or larger trunk lines with smaller branches can also help maintain consistent pressure throughout the building.
How do local codes and climate affect water supply pipe sizing?
Local plumbing codes can significantly affect pipe sizing requirements because different jurisdictions adopt different code editions and may impose additional requirements. Some areas require larger minimum pipe sizes due to low municipal water pressure or long distances from the water main. In cold climates, pipes must be buried below the frost line and may need insulation, which can increase the total run length and affect sizing calculations. Hot climates may require UV-resistant materials for exposed piping. Water quality also plays a role because hard water areas may experience mineral buildup that reduces the effective pipe diameter over time, making it wise to oversize slightly. Always consult your local building department for specific requirements before finalizing your design.
References
Background & Theory
History
Reviewed for accuracy by Abdullah, Technical Content Specialist ยท Editorial policy
Related Calculators
๐งฎWater Main Size Calculator
Determine water main pipe size from fixture count, demand, and street pressure.
๐งฎPipe Size Calculator
Calculate pipe size with inputs, formulas, and instant results.
๐งฎTankless Water Heater Size Calculator
Size a tankless water heater from peak flow rate and temperature rise requirements.
๐งฎSump Pump Size Calculator
Calculate the right sump pump size from pit dimensions, water inflow rate, and head height.
๐งฎWater Softener Salt Calculator
Calculate salt usage and refill frequency for water softeners from hardness and household size.
๐งฎIrrigation System Calculator
Design a sprinkler irrigation system by calculating GPM, pipe size, and zones.
๐งฎWater Channel Flow Calculator
Calculate water channel flow with inputs, formulas, and instant results.
๐งฎPipe Weight Calculator
Calculate pipe weight with inputs, formulas, and instant results.