🔧 Plumbing

Pipe Sizing Calculator

Size water supply pipes for buildings using fixture unit method. Calculate pipe diameter based on demand units per IPC.

📐 Standard: IPC
✅ Free to use
📄 PDF export
📱 Mobile friendly
🔧
Pipe Sizing Calculator Calculator
Reference: IPC
🔧 Plumbing
Size water supply pipes for buildings using fixture unit method. Calculate pipe diameter based on demand units per IPC.
Inputs
Results
Calculation confidence: Planning-levelSuitable for early design, estimating and feasibility checks. Verify the final design against the governing code and a licensed engineer before construction or procurement.
Was this helpful?
💬 Suggest an improvement

About This Calculator

Proper pipe sizing ensures adequate water flow to all fixtures without excessive velocity or pressure drop. This calculator uses the fixture unit method to aggregate demand, applies diversity through probability of simultaneous use, and selects pipe diameter based on velocity limits per IPC (Basic Requirements of Water Supply) and IPC.

IPC govern plumbing design for buildings in the US. The fixture unit method aggregates all connected fixtures into a design demand that accounts for the probability that not all fixtures operate simultaneously. Key velocity limits prevent water hammer, noise, and erosion. Minimum residual pressure: 1.0 bar at highest/furthest fixture. Pipe materials: CPVC (ASTM F442) or uPVC (ASTM D1785) for cold water; CPVC or PPR for hot water.

Pipe Sizing by Fixture Unit Method

IPC

Total Fixture Units (FU): WC cistern = 8 FU; WC flush valve = 10 FU Wash basin = 1 FU; Bath tub = 4 FU; Shower = 2 FU Kitchen sink = 3 FU; Dishwasher = 1.5 FU Design Flow (from FU): Q = 0.25 × FU^0.5 (Hunter's curve approximation for >12 FU) Pipe Velocity Check: V = Q / A; A = π/4 × D² Limit: V ≤ 2.5 m/s (supply); V ≤ 3.0 m/s (mains) Pressure Drop (Hazen-Williams): hf = 10.67 × Q^1.852 / (C^1.852 × D^4.87) × L

Worked Example

A small residential block has 4 WC flush valves (10 FU each), 4 wash basins (1 FU), 4 showers (2 FU) and 2 kitchen sinks (3 FU): Total FU = 40 + 4 + 8 + 6 = 58 FU. Using Hunter's curve approximation: Q = 0.25 × √58 ≈ 1.9 L/s.

To keep velocity within the 2.5 m/s limit, required area A = Q/V ≈ 0.00076 m², giving a minimum internal diameter of about 31 mm - so a 32 mm (1¼") nominal pipe is selected for the building's main riser, which the fixture unit method confirms is adequate for this fixture count.

Pipe Sizing Reference & Design Guide (IPC / ASHRAE)

How the Pipe Sizing Calculator Works

Sizing a pipe is a trade-off between two costs: a pipe too small runs fast, noisy and lossy (and erodes over time), while a pipe too large wastes material and money. This calculator finds the size that keeps the fluid in the sweet spot using the velocity and friction-loss methods referenced by the International Plumbing Code (IPC), the ASPE Data Book and the ASHRAE Handbook. Enter the flow (GPM) — directly, or from plumbing fixture units — and the tool returns the pipe diameter that holds velocity and friction within accepted limits, along with the resulting velocity and head loss so you can confirm the choice for water supply, hydronic or process service.

The Pipe Sizing Formulas

  • Velocity: V = 0.408 × Q ÷ d² (ft/s, Q in GPM, d in inches)
  • Diameter for a target velocity: d = √(0.408 × Q ÷ V)
  • Friction (Hazen-Williams, water): hf = 0.2083 × (100 ÷ C)1.852 × (Q1.852 ÷ d4.8655) per 100 ft
  • Fixture-unit to flow: convert Water Supply Fixture Units (WSFU) to GPM using the Hunter probability curve (IPC Appendix E)

The two governing limits are velocity (for noise, erosion and water hammer) and friction loss (for pump energy and available pressure). Water-supply piping is typically held to ≤ 8 ft/s cold, ≤ 5 ft/s hot, and hydronic piping to 2–4 ft/s in occupied areas for quiet operation.

Variable & Unit Reference

SymbolQuantityUS UnitSI Unit
QFlow rateGPML/s
dInside diameterinmm
VVelocityft/sm/s
hfFriction lossft/100 ftPa/m
CHazen-Williams roughness
WSFUWater supply fixture unitsunitsunits

Unit handling: US pipe sizing uses GPM, feet per second, inches and fixture units — exactly what this calculator uses in imperial mode. Conversions: 1 GPM = 0.0631 L/s, 1 ft/s = 0.3048 m/s, 1 inch = 25.4 mm. Roughness coefficients: C ≈ 150 for PEX/PVC/copper (smooth), 130 for new steel, 100 for old/tuberculated cast iron.

Step-by-Step Pipe Sizing

  1. Establish the design flow (GPM) — directly for hydronic/process, or by summing fixture units and converting through the Hunter curve for plumbing supply.
  2. Pick the governing limit — a velocity cap (8 ft/s cold water, 4 ft/s hydronic) or a friction target (often ~4 ft/100 ft).
  3. Solve for diameter and round up to the next standard pipe size.
  4. Check the actual velocity and friction in the chosen size against both limits.
  5. Add fitting losses as equivalent length to get the total head loss for the run.
  6. Verify available pressure — the friction plus static plus fixture-pressure requirement must fit within the supply pressure.

Worked Example 1 — Plumbing Water Supply Branch

A copper branch serves fixtures totaling 20 WSFU of cold water; the Hunter curve gives about 14 GPM. Hold velocity to the 8 ft/s cold-water limit.

  1. Diameter for 8 ft/s: d = √(0.408 × 14 ÷ 8) = √0.714 = 0.85 in → 1-inch copper (Type L, ID ≈ 1.025 in).
  2. Actual velocity in 1-inch: V = 0.408 × 14 ÷ 1.025² = 5.4 ft/s ✓ (under the 8 ft/s cap).
  3. Friction: ≈ 4.5 ft per 100 ft — acceptable for a supply branch.

Answer: 1-inch copper. Sizing to the fixture-unit demand rather than the sum of all fixture flows is what keeps plumbing pipe economical — the Hunter curve accounts for the low probability that every fixture runs at once.

Worked Example 2 — Hydronic Chilled-Water Line

Size a chilled-water pipe for 40 GPM with a quiet-operation velocity target of 4 ft/s.

  1. Diameter for 4 ft/s: d = √(0.408 × 40 ÷ 4) = √4.08 = 2.02 in → 2-inch pipe.
  2. Actual velocity in 2-inch (ID ≈ 2.067 in): V = 0.408 × 40 ÷ 2.067² = 3.8 ft/s ✓.
  3. Friction: ≈ 2.4 ft per 100 ft — low, good for pump energy.

Answer: 2-inch pipe. Hydronic systems use a lower velocity target than domestic water because they run continuously — quiet operation and low pump energy matter more than squeezing the pipe size down.

Standards & Code References

  • International Plumbing Code (IPC), Chapter 6 & Appendix E — water-supply sizing, fixture units and the Hunter curve.
  • Uniform Plumbing Code (UPC) — the alternative model plumbing code used in many western states.
  • ASPE Data Book — detailed plumbing-engineering sizing procedures.
  • ASHRAE Handbook — HVAC Systems — hydronic pipe sizing and recommended velocities.
  • ASTM material standards — ASTM B88 (copper), ASTM F876/F877 (PEX), ASTM D1785 (PVC), ASTM A53 (steel).
  • Secondary: the velocity and friction physics are universal; only the units and fixture-unit tables change internationally.

Key Facts to Remember

  • Two limits govern every pipe: velocity (noise/erosion) and friction (energy/pressure) — check both.
  • Cold water ≤ 8 ft/s, hot water ≤ 5 ft/s, hydronic ≤ 4 ft/s in occupied areas — hot and continuous systems run slower.
  • Plumbing supply is sized from fixture units via the Hunter curve, not the arithmetic sum of fixture flows.
  • Smooth materials (copper, PEX, PVC) have C ≈ 150; old steel and cast iron drop to 100 as they tuberculate.
  • Velocity above ~8 ft/s accelerates erosion-corrosion, especially in copper hot-water lines.
  • Oversized pipe wastes money and can let water sit and stagnate; undersized pipe is noisy and pressure-starved.
  • Fitting losses add up — include them as equivalent length on long or fitting-heavy runs.
  • Available supply pressure must cover static lift + friction + the residual pressure required at the fixture.

Pipe Capacity Guide (the "money table")

Pipe Size~GPM @ 4 ft/s~GPM @ 8 ft/sTypical Use
½″24Single fixture
¾″59Small branch
1″1020Branch / riser
1¼″1632Riser
1½″2345Main branch
2″4284Main / hydronic
3″92184Building main
4″160320Service / large main

Fixture-unit guide: lavatory 1 WSFU, water closet (flush tank) 2.2, shower 2, kitchen sink 1.4, clothes washer 1.4, hose bibb 2.5. Sum the fixture units on a branch and convert with the Hunter curve to get design GPM.

Real-World Applications

  • Domestic water supply mains, risers and branches sized from fixture units.
  • Hydronic heating and chilled-water distribution piping.
  • Condenser-water and cooling-tower piping.
  • Booster-pump discharge and building-service sizing.
  • Irrigation and site-water distribution.
  • Compressed-air and process-liquid lines (with fluid-specific limits).
  • Recirculating hot-water loops sized for low velocity to limit erosion.
  • Retrofit and re-piping evaluations for capacity and pressure.

Common Mistakes

  • Sizing plumbing to the sum of fixture flows instead of the fixture-unit demand, grossly oversizing pipe.
  • Ignoring the hot-water velocity limit, causing erosion-corrosion of copper.
  • Checking velocity but not friction (or vice-versa) — both must be satisfied.
  • Omitting fitting losses on long runs, then running short of pressure at the far fixture.
  • Using the wrong roughness coefficient for the material or its age.
  • Forgetting the residual pressure required at the fixture or equipment.
  • Undersizing recirculation lines, causing noise and premature pipe wear.
  • Mixing nominal and inside diameter — always compute velocity on the actual ID.

Velocity, Erosion & Water Hammer

Velocity is the quiet enemy of piping systems. Beyond the noise it creates, sustained high velocity causes erosion-corrosion — the mechanical wearing-away of the protective oxide layer inside the pipe, which is why copper hot-water lines are held to about 5 ft/s and recirculation loops even lower; run them faster and pinhole leaks appear years early. High velocity also stores more kinetic energy in the moving column of water, so when a valve or solenoid closes quickly the resulting water hammer pressure spike is proportionally larger, banging pipes and stressing joints. The pressure rise from an instantaneous valve closure can be estimated by the Joukowsky relation and is directly proportional to velocity, so keeping velocity moderate is the first and cheapest line of defense — followed by arrestors and slow-closing valves where needed. Sizing pipe generously enough to hold velocity in the recommended band therefore does more than control friction: it protects the pipe from erosion and the system from water-hammer damage, extending service life. This calculator reports the actual velocity for the chosen size so you can keep it safely within the material's limit.

Design Tips from the Field

  • Size to fixture units, not fixture sums, for plumbing — it's the single biggest economy in supply piping.
  • Keep hot and recirculating lines slow (≤ 5 ft/s, ideally 2–3 ft/s recirc) to prevent erosion.
  • Design mains to a friction target (~4 ft/100 ft) and let branches be velocity-governed.
  • Reserve pressure for the top-floor, far-corner fixture — the worst case sets the design.
  • Add water-hammer arrestors at quick-closing valves and appliances.
  • Confirm ID, not nominal size — copper Type L, PEX and steel of the same nominal size have different bores.

Pipe Materials Compared

The material affects both the size you need and the way the system behaves. Copper (Type L/M) is the long-standing standard for water — durable, smooth (C ≈ 150) and code-accepted everywhere — but it is expensive and vulnerable to erosion-corrosion above ~5 ft/s in hot water. PEX has taken over much of residential plumbing: flexible, freeze-tolerant, quiet and quick to install, though it has a slightly smaller bore than copper of the same nominal size (so check the ID when computing velocity) and must be protected from UV. CPVC handles hot water at low cost but is more brittle. PVC is used for cold water, drainage and irrigation but not hot supply. Steel (black or galvanized) is used for large mains, fire and some hydronic service; galvanized water pipe corrodes and tuberculates with age, dropping its C toward 100 and shrinking its effective bore — a major reason old buildings suffer low pressure. When you size a pipe, match the roughness coefficient and the actual inside diameter to the material, and let the service (hot, cold, continuous, buried) guide the material choice as much as the size.

Hot-Water Recirculation Sizing

Recirculation loops — which keep hot water instantly available at distant fixtures — need special sizing attention because they run continuously. The recirc return line is sized not for fixture demand but for the small flow needed to replace the loop's heat loss, typically a fraction of a GPM to a few GPM, and it is deliberately kept at low velocity (2–3 ft/s or less). The reason is erosion: hot water moving continuously at high velocity strips the protective oxide film from copper and drills pinhole leaks within a few years, and recirc loops are the single most common victim of this failure. Size the recirc line generously (small pipe, but low velocity), select a low-flow circulator, and balance multiple loops so none runs fast. The supply side of the loop is sized normally for demand; it's the return, running around the clock, that must be kept slow. Getting recirc velocity wrong is one of the most expensive plumbing mistakes because the failures appear years later, hidden in walls.

Thermal Expansion & Support

Water pipe grows and shrinks with temperature, and hot-water and hydronic systems move enough to matter. Copper expands about 1.1 inches per 100 ft per 100°F rise, and plastics like PEX and CPVC move several times more, so a long hot-water run can grow an inch or more between cold and hot conditions. If that movement is restrained, the pipe buckles, ticks and stresses its joints; if it's allowed to move without guidance, it can sag or chafe. Good design accommodates expansion with loops, offsets or expansion joints, correctly spaced hangers that guide rather than clamp, and awareness of where the pipe is anchored. Support spacing itself is code-specified by material and size — copper and steel are supported at wider intervals than flexible plastics, which need frequent support to prevent sag. Sizing the pipe is step one; supporting and allowing it to expand safely is what keeps the system quiet and leak-free over decades of thermal cycling.

The Pressure Budget

Sizing a pipe only succeeds if the result fits within the available pressure. The water entering a building at, say, 60 psi must cover four demands before it reaches the far, top-floor fixture: the static lift (0.433 psi per foot of height — about 43 psi to reach the top of a 100 ft building), the pipe and fitting friction at design flow, any pressure-reducing valve or backflow preventer loss, and the residual pressure the fixture itself needs (commonly 15–25 psi, more for flush valves and some appliances). If the sum exceeds the supply pressure, the fixture dribbles — and the fix is usually a larger pipe to cut friction, or a booster pump to add pressure. This is why the worst-case fixture (highest, farthest) governs the design: satisfy it and everything closer is fine. Conversely, where street pressure is very high, a pressure-reducing valve protects the system and fixtures. Always tally the pressure budget for the critical path; a pipe sized only for velocity can still fail if the friction eats the pressure the far fixture needed.

Supply vs Drainage: A Different Kind of Sizing

Water-supply pipe is pressurized and sized by flow, velocity and friction — but drainage piping is a gravity system and follows entirely different rules. Drains are sized by Drainage Fixture Units (DFU) rather than WSFU, and the governing physics is slope, not pressure: horizontal drains must be pitched (commonly ¼ inch per foot for pipes up to 3 inches) so that solids and liquids move together, and vertical stacks must carry the flow without over-pressurizing and siphoning trap seals. A drain sized too small clogs; one sized too large actually performs worse, because the flow doesn't fill the pipe enough to scour solids along. Drainage design also requires a properly sized vent system to admit air, protect trap seals and let the drains flow freely. So while this calculator focuses on pressurized supply and hydronic piping, remember that the drain, waste and vent (DWV) side of a plumbing system is sized by DFU, slope and venting rules under IPC Chapter 7 — a parallel discipline with its own tables and a very different design logic from the supply side.

Backflow & Cross-Connection Protection

Sizing a supply pipe isn't complete without accounting for the backflow-prevention devices the code requires to keep contaminated water from being siphoned or pushed back into the potable supply. Reduced-pressure zone (RPZ) assemblies, double-check valves, pressure vacuum breakers and hose-bibb vacuum breakers each protect against a level of hazard — and each imposes a pressure loss (an RPZ can drop 8–12 psi) that must be included in the pressure budget and can force a larger pipe or a booster to preserve downstream pressure. Cross-connections between potable and non-potable systems (irrigation, boilers, fire lines, process water) are where backflow devices are mandated. When you size a service or a branch feeding equipment, identify the required backflow protection early, add its pressure loss to the friction tally, and confirm the far fixture still receives adequate residual pressure. Overlooking a backflow device's loss is a frequent reason a correctly sized pipe still delivers weak pressure once the assembly is installed.

Sizing for Simultaneous Demand

The central insight of water-supply sizing is that not all fixtures run at once, and capturing that statistically is what keeps pipe economical. The Hunter fixture-unit method translates the connected fixture units into a probable peak flow — sharply less than the arithmetic sum for anything beyond a few fixtures — because the odds of every fixture operating in the same instant fall rapidly as the count grows. This diversity is why a 200-unit apartment building's main is far smaller than 200 times a single apartment's demand. Continuous-flow loads (irrigation, cooling-tower make-up, some process equipment) are the exception: they run steadily and must be added to the fixture-unit-derived demand at their full rate, not diversified. Getting the diversity right in both directions — applying the Hunter curve to intermittent fixtures while adding continuous loads at 100% — is what produces a main that is neither wastefully oversized nor pressure-starved at peak. This calculator sizes to the design GPM you provide; deriving that GPM correctly from fixture units plus continuous loads is the engineering judgment that precedes it.

Quick Reference Summary

To size a pipe fast: for a target velocity, diameter = √(0.408 × GPM ÷ V), then round up to the next standard size and confirm both the actual velocity and the friction loss are acceptable. Hold cold water to 8 ft/s, hot water to 5 ft/s, and continuous hydronic and recirculation lines to 2–4 ft/s to prevent erosion. For plumbing supply, size from fixture units through the Hunter curve rather than summing fixture flows, and add continuous loads (irrigation, make-up water) at their full rate. Quick capacity anchors at 4 ft/s: ¾-inch ≈ 5 GPM, 1-inch ≈ 10 GPM, 1½-inch ≈ 23 GPM, 2-inch ≈ 42 GPM, 3-inch ≈ 92 GPM and 4-inch ≈ 160 GPM. Match the roughness coefficient and true inside diameter to the material (copper, PEX, CPVC, PVC or steel), tally the pressure budget for the worst-case top-floor far-corner fixture, and include backflow-device and fitting losses. Provide water-hammer arrestors at quick-closing valves. This calculator returns the size, velocity and friction; deriving the design GPM from fixture units and verifying the full pressure budget are the engineering steps around it that produce a quiet, adequately pressured, long-lasting system.

Limitations & Disclaimer

This calculator provides a professional first-pass pipe size using standard velocity and friction methods. It is not a substitute for a complete plumbing or hydronic design that evaluates the full pressure budget, simultaneous-demand diversity, thermal expansion, water-hammer transients, backflow protection and the specific code adopted by your jurisdiction. Fixture-unit tables and permitted velocities vary between the IPC, UPC and local amendments. Confirm the final design against the applicable code and have it reviewed by a licensed plumbing or mechanical engineer before construction.

Frequently Asked Questions

What size water pipe do I need for a given flow? +
Size it to keep velocity within limits: for cold water at the 8 ft/s cap, diameter = √(0.408 × GPM ÷ 8). For example, 14 GPM needs about a 1-inch pipe (5.4 ft/s actual), and 40 GPM at a quiet 4 ft/s hydronic target needs 2-inch. Always round up to the next standard size and then confirm both the actual velocity and the friction loss are acceptable for the service.
What is the maximum water velocity in a pipe? +
Common limits are 8 ft/s for cold water, 5 ft/s for hot water, and 2–4 ft/s for continuously running hydronic and recirculation lines. Hot and recirculating lines are held slower because sustained high velocity causes erosion-corrosion of copper, leading to premature pinhole leaks. High velocity also increases noise and water-hammer severity, so moderate velocity protects the whole system.
How do I size plumbing pipe from fixture units? +
Sum the Water Supply Fixture Units (WSFU) served by the pipe — for example lavatory 1, water closet 2.2, shower 2, kitchen sink 1.4 — then convert the total to design GPM using the Hunter probability curve in IPC Appendix E. Size the pipe to that GPM at the velocity limit. Fixture units account for the low probability that every fixture runs simultaneously, which keeps supply piping economical.
Why not just add up all the fixture flow rates? +
Because fixtures rarely run all at once. Adding every fixture's peak flow would size the pipe for a demand that essentially never occurs, wasting material and money and leaving water to stagnate in oversized lines. The fixture-unit method with the Hunter curve statistically predicts the realistic simultaneous demand, which is far lower than the arithmetic sum for anything beyond a couple of fixtures.
What velocity should hydronic (HVAC) piping use? +
Design hydronic chilled- and hot-water piping for about 2–4 ft/s in occupied areas, and up to 6–8 ft/s in mechanical rooms and large mains where noise is less of a concern. Because hydronic systems run continuously, lower velocity keeps them quiet and minimizes pump energy — friction loss rises steeply with velocity, so a modestly larger pipe often pays back quickly in reduced pumping power.
Does pipe material affect the size I need? +
Yes, through the roughness coefficient and the inside diameter. Smooth materials like copper, PEX and PVC have a Hazen-Williams C of about 150, while new steel is 130 and old cast iron drops to 100 as it corrodes, so rougher or aged pipe needs to be larger for the same friction. Also, copper Type L, PEX and steel of the same nominal size have different actual bores, so always compute velocity on the true inside diameter.
How does pipe size relate to water hammer? +
Water hammer — the pressure spike from a quick valve closure — is directly proportional to the fluid velocity, so a smaller, faster pipe produces a larger and more damaging surge. Sizing pipe to keep velocity moderate is the first defense, followed by water-hammer arrestors at quick-closing valves and appliances and slow-closing valves where practical. Oversized-velocity lines bang, stress joints and shorten system life.
What size main water line does a typical house need? +
Most single-family homes are served by a ¾-inch or 1-inch water service, with a 1-inch service common for larger homes or those with many fixtures, irrigation, or long runs from the meter. Inside, the main distribution is typically ¾-inch dropping to ½-inch at individual fixtures. The exact size depends on the total fixture units, the available street pressure, and the distance and elevation to the farthest fixture — size from fixture units and confirm the pressure budget rather than defaulting to a habit or a standard size, especially where street pressure is low or the run to the farthest fixture is long.
Is this pipe sizing calculator code compliant? +
It uses the velocity and Hazen-Williams friction methods and the fixture-unit approach that underpin the IPC, UPC and ASHRAE procedures, so it is an excellent design and estimating tool. The final design must still be verified against the specific plumbing code adopted by your jurisdiction (IPC vs UPC and local amendments), the full pressure budget, and backflow and thermal-expansion requirements, and reviewed by a licensed engineer where required.

Related Calculators

🧮 110 Free MEP Calculators

Browse all HVAC, Electrical, Plumbing, Fire, Gas and Mechanical calculators - IS/IBC/ASHRAE compliant, free PDF export.

Browse All Calculators →

⚠️ Disclaimer: For preliminary engineering design only. Verify all results with a licensed engineer before use. Full disclaimer →