Plumbing, Piping & Hydraulics Water Supply & Distribution Sizing IPC Appendix E friction-loss segment method

Water Service and Distribution Pipe Size Calculator

This calculator sizes a water service or distribution main the way a plan reviewer checks it: build a pressure budget, spend what is left on friction, and pick the smallest pipe that fits inside both the friction allowance and the velocity limit. Enter your peak demand, the static pressure at the source, how far the highest fixture sits above it, and the developed length of the run. You get the pressure available for friction, the allowable loss per 100 feet, and a size-by-size table showing which bores pass and which fail — and why each one fails, since friction and velocity are separate tests.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Peak demandProbable simultaneous flow, not the sum of every fixture — convert fixture units first with the WSFU calculator.11 gpm
Static pressure at the sourceMeasured at a hose bibb with nothing running, or the utility's minimum guaranteed street pressure.65 psi
Height of highest fixture above sourceVertical rise from the meter or well tank to the highest outlet. A fixture below the source takes a negative value.20 ft
Residual pressure required at the fixtureThe minimum flowing pressure the outlet needs — commonly 15 psi for tank-type fixtures and 25 psi for flushometers.15 psi
Developed length of the runMeasured along the pipe from source to the most remote fixture, following every rise and offset.120 ft
Fittings allowancePercentage added to developed length for elbows, tees and valves. 50% is the usual first-pass allowance.50 %
Water meter pressure lossFrom the meter manufacturer's loss curve at your peak flow; take zero on a well system with no meter.8 psi
Softener, filter and backflow lossSum of the pressure drops through every treatment device and backflow preventer at peak flow.0 psi
Pipe materialSets the list of real inside diameters the calculator tests. Bore, not nominal size, drives the answer.Type L copper (ASTM B88 bores)
Hazen-Williams C150 for plastic, 140 for copper, 120 for new steel, 100 for aged galvanised or unlined iron.140
Velocity limit8 ft/s for cold water in copper; drop to 5 ft/s for hot water and follow the manufacturer for plastics.8 ft/s

It returns

  • Smallest size that passes — The smallest listed bore whose friction loss fits the budget and whose velocity stays under the limit.
  • Pressure available for friction
  • Allowable loss per 100 ft
  • Equivalent length used
  • Velocity at that size
  • Friction loss at that size
  • Residual pressure at the fixture

The formula

Pfric=PstaticPres0.4331HPmeterPdev
p100=PfricLeq100
Δp=4.52Q1.852C1.852d4.87Leq

In plain text: Available friction = P_static − P_residual − 0.4331·H − P_meter − P_devices

  • P_staticStatic pressure at the meter or well tank (psi)
  • P_resResidual pressure the most remote fixture requires (psi)
  • HHeight of that fixture above the source (ft)
  • P_meterPressure loss through the water meter at peak flow (psi)
  • P_devLoss through softeners, filters and backflow preventers (psi)

Whatever remains after those deductions is the only pressure available to overcome pipe friction. Divide it by the equivalent length and multiply by 100 to get the allowable loss per 100 ft, then pick a bore that stays under it.

Updated Category Water Supply & Distribution Sizing Verified against published test cases Reading time 11 min

Pipe sizing is a pressure budget, not a flow chart

The question people ask is "what size water line do I need?" The question the calculation answers is "how much pressure do I have left, and which pipe fits inside it?" Those are the same question, but framing it the second way makes the answer obvious and shows you exactly which assumption to change when the answer is unwelcome.

You start with the static pressure at the source. Four things take a bite before any water moves through pipe. The fixture at the end needs a minimum flowing pressure, commonly 15 psi for a tank-type fixture and 25 psi for a flushometer valve. Elevation takes 0.433 psi for every foot the fixture sits above the source, which the psi to feet of head converter makes explicit. The water meter takes its share, read from the manufacturer's curve at your peak flow. And every softener, filter and backflow preventer takes its own.

What survives all four deductions is the friction budget. Divide it by the equivalent length of the run and you have an allowable loss per 100 feet — the single number that selects the pipe. Every published friction table is written in those units precisely so this comparison is a lookup.

Then there is a second, independent test. Velocity has to stay under the limit for the material, regardless of what the friction budget allows. A short run with generous pressure will often pass the friction test at a bore that runs at 15 ft/s, and that pipe will erode and howl. Both tests must pass, and the calculator reports which one fails on every size.

Getting each input right

Peak demand is the probable simultaneous flow, not the sum of the fixtures. A house with 25 gpm of installed fixture capacity might peak at 12 gpm, because nobody runs everything at once. Convert a fixture schedule properly with the water supply fixture unit calculator, which applies the Hunter probability curve.

Static pressure should be the utility's guaranteed minimum, not the reading you took on a Tuesday afternoon. Street pressure swings seasonally and drops during peak-hour demand on the main. Sizing on a summer-morning high reading is how a system that works at commissioning fails in August.

Developed length is measured along the pipe, following every rise, drop and offset, from the source to the most remote fixture — the one with the worst combination of distance and elevation, which is not always the farthest one horizontally.

The fittings allowance converts elbows, tees and valves into extra pipe. Adding 50% of the developed length is the standard first-pass assumption and is usually conservative on a straight service run and optimistic in a fitting-dense mechanical room. If you have the equivalent-length table for your fittings, count them and use the exact figure instead.

Meter loss is frequently the largest single deduction and the one most often left out. A 3/4-inch displacement meter at 20 gpm can take 10 psi or more. Read it from the manufacturer's curve at your actual peak flow, because the loss rises roughly with the square of the flow.

Worked example: a two-storey house on 65 psi street pressure

A house draws a peak of 11 gpm. Street pressure is 65 psi. The highest fixture is 20 ft above the meter. Developed length to it is 120 ft. There is a 3/4-inch meter costing 8 psi at that flow, no treatment devices, Type L copper, and the fixture needs 15 psi residual.

  1. Elevation cost. 20 ft × 0.4331 psi/ft = 8.66 psi.
  2. Budget. 65 − 15 − 8.66 − 8 − 0 = 33.34 psi available for friction.
  3. Equivalent length. 120 ft × 1.50 = 180 ft.
  4. Allowable loss. 33.34 ÷ 180 × 100 = 18.52 psi per 100 ft.
  5. Test 1/2-inch (0.545 in bore). Hazen-Williams at C = 140: 4.52 × 111.852 ÷ (1401.852 × 0.5454.87) = 4.52 × 84.85 ÷ (9,433 × 0.05203) = 383.5 ÷ 490.8 = 0.7813 psi/ft, or 78.1 psi per 100 ft. That is four times the budget. Velocity is 0.4085 × 11 ÷ 0.545² = 15.1 ft/s, nearly twice the limit. It fails both tests.
  6. Test 3/4-inch (0.785 in bore). 0.7854.87 = 0.30764, so the loss is 383.5 ÷ (9,433 × 0.30764) = 383.5 ÷ 2,902 = 0.13215 psi/ft, or 13.21 psi per 100 ft — inside the 18.52 allowance. Velocity is 0.4085 × 11 ÷ 0.616 = 7.29 ft/s, under the 8 ft/s limit. It passes both.
  7. Check the delivered result. Total friction is 0.13215 × 180 = 23.79 psi. Residual at the fixture is 65 − 8.66 − 8 − 23.79 = 24.6 psi, comfortably above the 15 psi required.

So a 3/4-inch service is correct — but with only 9.55 psi of the 33.34 psi friction budget left unspent, and 7.29 ft/s already at 91% of the velocity limit. If the peak demand estimate is low by 2 gpm, that margin disappears. This is the arithmetic that makes 1-inch services so common on new construction.

Typical residual pressure requirements

Minimum flowing pressure at the fixture outlet. Values in this range are what plumbing codes in the IPC tradition specify; confirm against your adopted code and the fixture manufacturer.
Fixture or deviceTypical minimum residual (psi)Typical flow (gpm)
Lavatory faucet81.5–2.0
Kitchen sink faucet81.8–2.2
Shower head81.8–2.5
Bathtub filler84.0
Water closet, flush tank153.0
Water closet, flushometer valve2525–35
Urinal, flushometer valve1515
Hose bibb85.0
Dishwasher82.75
Clothes washer84.0

Size the whole system on the most demanding branch, which is normally a flushometer if one is present — its 25 psi residual and high instantaneous flow set the budget for everything upstream of it.

Above 80 psi you must reduce, and that changes the sizing

Plumbing codes in the IPC tradition cap static pressure in a building water distribution system at 80 psi and require a pressure-reducing valve where the supply exceeds it. That matters here because the budget must then start from the reduced pressure, not the street pressure. A 120 psi street reduced to 60 psi gives you a 60 psi budget, and the 60 psi you gave away is not recoverable by pipe sizing.

The reverse trap catches well systems. A pressure tank cycles between a cut-in and a cut-out — 40/60 psi is a common setting — and the system must work at cut-in, the lowest pressure it ever sees. Size on 40 psi, not on 60.

Assumptions and limits of this method

  • It sizes one segment, not a whole system. Real distribution piping steps down: the service is sized for full demand, a branch feeding two fixtures for far less. Run the calculator once per segment with that segment's own demand and length.
  • It uses Hazen-Williams. That is the standard method in plumbing sizing tables, but it is a water-only empirical fit — see the Hazen-Williams calculator for its range of validity, and Darcy-Weisbach for anything else.
  • The fittings allowance is an estimate. A percentage of length is a stand-in for counting fittings. On a complex layout, count them properly.
  • It does not check the code's own tables. Some jurisdictions size by a prescriptive table rather than by calculation, and where they do, the table governs even if your calculation says a smaller pipe would work.
  • It assumes the peak demand you enter is right. Everything downstream of that number inherits its error, and demand is the input people estimate most loosely.
  • It does not size the meter. Meter sizing has its own rules and its own loss curve, and a meter one size up often buys back more pressure than a pipe one size up.

What to do when nothing passes

When the budget goes negative, no pipe size can help — the pressure simply is not there. The levers, roughly in order of cost, are: reduce the residual requirement if the fixture selection allows it; replace a high-loss meter or treatment device; reduce the developed length by rerouting; and finally add a booster pump. Upsizing pipe does nothing at all in this case, which is why the calculator says so explicitly instead of returning the largest size in the list.

When the budget is positive but every size fails on velocity, the demand is simply too high for the pipe family you selected, and the answer is a larger diameter than the list covers or a second parallel run. Check the velocity figure against the material limits in the pipe water velocity calculator before deciding the limit itself is negotiable — for hot water it drops from 8 ft/s to 5, and that alone will change the answer.

When several sizes pass, take the smallest one but look at the margin. A size that lands at 95% of the friction allowance and 91% of the velocity limit has nothing left for a demand estimate that turns out low, for scale build-up over twenty years, or for the extra bathroom someone adds later. One trade size up is cheap during rough-in and expensive afterwards.

The method's basis, and where a code review can diverge from it

This calculator implements the friction-loss segment method set out in IPC Appendix E: build an explicit pressure budget by subtracting residual, elevation, meter and device losses from static pressure, then divide what is left across the developed length and pick a bore that fits inside both the resulting friction allowance and a velocity limit. That is a calculation route, and it is the one a plan reviewer expects to see justified step by step when a design departs from a prescriptive minimum.

Other codes in the plumbing tradition, including the Uniform Plumbing Code's Appendix A, offer a second route: a prescriptive table that maps a fixture-unit or flow total directly to a pipe size for stated pressure ranges, without requiring the designer to build a friction budget by hand. Both routes ultimately rest on the same starting point — converting a fixture count to a probable simultaneous demand, the step Roy Hunter's 1940 National Bureau of Standards work established and that the water supply fixture unit calculator carries out. This calculator picks up from the gpm figure that step produces.

Where the two routes matter is which one governs on a given job. A calculated result smaller than the prescriptive table's answer is not automatically acceptable; it is acceptable only where the adopted code explicitly permits an engineered or calculated method as an alternative to the table, and the reviewing authority may still ask to see every deduction in the budget rather than accept the final size on its own. Check which route your adopted code and jurisdiction expect before treating the output above as the submittal figure.

Frequently asked questions

What size water line do I need for a house?

Most single-family services land on 3/4-inch or 1-inch, and which one depends on your pressure and distance, not on the number of bathrooms alone. Work the budget: with 65 psi at the street, a 20 ft rise, an 8 psi meter and 120 ft of developed length, 3/4-inch copper carries about 11 gpm within the allowance. Add distance, add elevation, or lose street pressure and 1-inch becomes necessary. Enter your own figures rather than relying on a rule of thumb.

How do I find my static pressure?

Thread a pressure gauge onto an outside hose bibb and read it with nothing in the house running. That is your static pressure at that elevation. For design, use the utility's stated minimum guaranteed pressure instead if you can get it, because street pressure varies with time of day and season and your reading captures one moment. On a well, use the pressure switch cut-in setting, which is the lowest pressure the system ever operates at.

What is developed length and how is it different from distance?

Developed length is measured along the pipe, following every vertical rise, drop and horizontal offset, from the source to the most remote fixture. A fixture 40 ft away in a straight line might have 110 ft of developed length once the pipe goes up a wall, across a joist bay and back down. Always measure the route the pipe actually takes, then add the fittings allowance on top of it.

Why does the calculator subtract meter loss separately?

Because a meter is not pipe and its loss does not scale with length. A displacement meter's loss depends on flow through that specific meter — commonly several psi at ordinary residential peaks and considerably more near its rated capacity — and it comes straight off the top of the budget. Leaving it out is one of the most common reasons a service that calculates fine performs poorly.

Can I just use a bigger pipe to be safe?

Oversizing has real costs, so it is not free insurance. A larger pipe holds more water, so the residence time between draws rises, disinfectant residual decays further and the first draw sits colder or warmer than it should. It also costs more in material and in the fittings and hangers that go with it. Size on the calculation and take one trade size of margin where the numbers are tight, not everywhere.

Does this work for a well system with a pressure tank?

Yes — enter the pressure switch cut-in setting as the static pressure, since that is the lowest pressure the system delivers and everything must work at it. Set the meter loss to zero if there is no meter, and remember to include the loss through any sediment filter, softener or UV unit in the device loss, because those are frequently the largest single deduction on a well system.

What friction loss per 100 feet should I be aiming for?

Whatever your budget produces — there is no universal target, which is precisely why this calculation exists. In practice residential services often come out somewhere between 2 and 8 psi per 100 ft, but a short run with high pressure can legitimately allow 20 and a long run with low pressure might allow 2. Aiming at a fixed number instead of computing the allowance is how systems get both oversized and undersized on the same job.

Do I need to size hot and cold separately?

Yes. Hot and cold branches carry different fixture-unit loads, and the velocity limit for hot water is lower — 5 ft/s up to 140 °F against 8 ft/s cold. Size the cold distribution for the cold WSFU total, size the hot for the hot total plus the water heater's own recovery draw, and reduce the velocity limit on the hot side before you read the table.

References

  • International Plumbing Code, Chapter 6 and Appendix E — Sizing of Water Piping Systems — International Code Council
  • Uniform Plumbing Code, Chapter 6 and Appendix A — International Association of Plumbing and Mechanical Officials
  • Copper Tube Handbook — Copper Development Association
  • Hunter, R. B., Methods of Estimating Loads in Plumbing Systems, Building Materials and Structures Report BMS65 — National Bureau of Standards