Home Systems Guide · No. 7 · Theory guide, set v2 · draft 1

Plumbing Strategy

How a house's water supply is sized for flow and pressure, how distribution layout and pipe material set velocity, noise and hammer, how hot water reaches a fixture and what recirculation costs, how drains and vents keep trap seals and fit the framing, what each stage of water treatment removes, and what a repipe changes beyond the pipe.

Refer to the following guides for concepts:

  • HVAC, DHW & Ventilation (hot water storage, setpoint and recovery; heat pump water heater arrangement; the hydronic loop and routing zones)
  • Framing (notching and boring limits, no cutting of truss members, pad footings below the slab)
  • Soundproofing (structure-borne noise, flanking through chases, machine mounts)
  • Electrical Panel Strategy (the grounding electrode system and bonding)
  • Insulation (the thermal boundary, pipes in exterior walls and attics)
  • Solar & Battery (the water heater as a thermal store)

Applied to this house: House Project Guide, chapter 7

DepthModerate
Governing code2025 California Plumbing Code (2024 UPC), from 1 January 2026
AlsoCALGreen §4.303; Energy Code §150.0(j)1, §150.2(b)1H
Reference set2½ baths, kitchen, laundry, two hose bibbs
VersionSet v2 draft 1 · 2026-10-23

Read this first

  1. Supply is sized from a probability of simultaneous use, not a sum of fixture flows, and the code offers a table, a friction method and a newer demand calculator that can differ by a pipe size near a table boundary. Part 1
  2. The pressure that reaches a second-floor fixture is what is left after elevation, the meter and friction, so a pressure budget, not pipe size alone, sets whether a remote shower works. Part 1
  3. Code velocity limits protect fittings; quiet operation needs lower velocities, which a home-run layout gives each fixture regardless of what else is running. Part 2
  4. Hot water waits for the pipe volume between heater and fixture to clear, so pipe diameter and layout decide the wait more than distance alone. Part 3
  5. A recirculation loop turns the wait into a standing heat loss; on heat, demand control beats an insulated continuous loop unless the loop is reheated more than about fifteen times a day. Part 3
  6. Vents exist to protect trap seals, and drain slope and joist depth together limit where a horizontal drain can run. Part 4
  7. Whole-house and point-of-use treatment remove different contaminants; neither is a cheaper version of the other. Part 5
  8. A plastic water service can remove the house's grounding electrode, so the repipe decision carries an electrical consequence. Part 6
Decisions this guide informs
DecisionDepends onTreated in
D1 Service, meter and main size; pressure regulationFixture inventory; demand method; street pressure; elevation; developed lengthPart 1
D2 Distribution layout and pipe materialSimultaneous use per branch; noise goals; hammer; fittings and accessPart 2
D3 Hot water delivery: heater location, pipe sizes, recirculation and its controlDistance and volume to each fixture; draw rates; loop losses; the Energy Code's alteration rulesPart 3
D4 Drain, waste and vent layout and materialFixture units; trap arm limits; joist depth and direction; slab routes; drain noisePart 4
D5 Water treatment stages and where they sitWater quality report; disinfectant type; hardness; discharge rulesPart 5
D6 Repipe scope and routingExisting materials; routing zones; grounding electrodes; access to the slabPart 6, 4
Table 1 Which part treats which component
PartSupplyHot waterDrainage
1 · Demand and pressureDesign flow, pressure budget, service size——
2 · DistributionLayout, velocity, hammer, materialSame layouts—
3 · Hot water delivery—Wait, waste, recirculation, temperature limits—
4 · Drain, waste and vent——Fixture units, traps, vents, slope, noise
5 · Water qualityTreatment stagesScale at the heaterReject and brine discharge
6 · Routing and the repipeRoutes, electrode, transitionsHeater installationRoutes through framing and slab
7 · Code, permitsBackflow, pressure, flow limitsInsulation, recirculation ruleTests, cleanouts

Table 1 maps the parts to the three components. Subsections that cover one component carry an Applies to tag. An Informs tag marks the subsections behind each decision above.

1 · Demand and pressure: how much water, at what pressure

Bottom line. Design flow is a probability: fixtures rarely run together, so the code converts weighted fixture counts to a flow, and the pipe is sized so that the pressure left at the farthest fixture after elevation, meter and friction stays above a minimum.

Design flow comes from weighted fixture units through a probability curve

SupplyHot waterDrainage

Informs D1

The CPC assigns each fixture a water supply fixture unit (WSFU) weight that combines its flow and how long and how often it runs (Table 610.3, private use: a 1.6 gpf tank water closet 2.5, a lavatory 1.0, a bathtub 4.0, a shower head 2.0, a clothes washer 4.0). The sum converts to a design flow through Hunter's curve, derived in the 1940s from the probability that a given number of fixtures run at once (Figure 1). The reference set of Table 2, two and a half baths with a kitchen, laundry and two hose bibbs, totals 29.5 WSFU and about 23 gpm, against 35 gpm if every fixture ran at once.

Table 2 Reference fixture set: supply and drainage fixture units
FixtureCountWSFU eachWSFUDFU eachDFU
Water closet, 1.6 gpf or less, tank32.57.539
Lavatory41414
Bathtub or tub/shower14422
Shower, per head12222
Kitchen sink11.51.522
Dishwasher11.51.522
Clothes washer14433
Laundry sink11.51.522
Hose bibb, first12.52.5——
Hose bibb, each additional111——
Total29.526

WSFU from CPC Table 610.3 (private), DFU from Table 702.1, as reproduced from the 2022 edition by secondary sources; 2025 values under Verify.

Hunter curve: design flow by water supply fixture units, flush-tank systemsThe curve rises steeply at first and flattens: 10 WSFU about 15 gpm, 30 about 23, 50 about 29. The reference set at 29.5 WSFU is about 23 gpm; the sum of its fixture flows is 35 gpm.0102030400102030405060Water supply fixture unitsDesign flow, gpmreference set 29.5 WSFU, 23 gpmevery fixture at once, 35 gpmtwo-thirds, IAPMO example ratio (illustrative)
Figure 1. Each added fixture adds less design flow than the one before, the probability effect the method exists to capture. The dark curve is the flush-tank Hunter curve; the dot is the reference set; the open circle marks two-thirds of it, an illustrative point at the ratio of IAPMO's published single-family comparison, not a calculator result. The dashed line is the simultaneous sum, a reference.

Hunter's data came from fixtures that used several times today's water. The CPC's Appendix M (the IAPMO Water Demand Calculator), available in California as an alternate method since July 2024, estimates peak demand from present fixture flows and use probabilities; in IAPMO's published single-family example it returned about 20 gpm where the fixture-unit method gave about 30, one pipe size smaller. The method is chosen with the building department; a calculator run on the actual fixture schedule replaces the illustrative ratio used below.

Pressure at the farthest fixture is what elevation, meter and friction leave

SupplyHot waterDrainage

Informs D1

P_available for friction = P_static − 0.433 × Δz − ΔP_meter − P_min,fixture

P_static street pressure at the meter, psi · Δz height of the highest fixture above the meter, ft · ΔP_meter meter loss at design flow · P_min residual pressure at the fixture, 15 psi minimum (CPC 608.1) or the fixture maker's figure

street pressure, less what lifting water to the top fixture and pushing it through the meter cost, less what the fixture needs, is what the pipe may lose to friction.

The CPC offers two routes. Within its range, Table 610.4 sizes the meter and building supply directly from the total WSFU, the static pressure band and the developed length: at 46–60 psi and 100 ft, a ¾ in meter with a 1 in building supply serves up to 33 WSFU, so the 29.5 WSFU reference set takes 1 in. Appendix A works from friction instead: it divides the pressure available for friction by the developed length to the farthest fixture plus a fitting allowance, and sizes each segment for the flow it carries at that one friction rate per 100 ft.

Friction budget for the reference case

60 psi static, a shower 17 ft above the meter (7.4 psi), a ¾ in meter losing 8.9 psi at 23 gpm (typical, from a 15 psi loss at its 30 gpm maximum) and 15 psi at the fixture leave 29 psi over 100 ft of developed length, or 19 psi per 100 ft with fittings counted as half again (Figure 2). A sediment and carbon stage takes about 8 psi more at design flow, typical, and a pressure regulator sets the static figure to its outlet setting.

Above 80 psi static the code requires a pressure regulator (608.2). The friction budget moves with static pressure one for one, so a 45 psi street leaves less than half the budget of a 60 psi street (Table 3).

Table 3 Friction budget by street pressure: each 10 psi of static pressure is worth about 7 psi per 100 ft of friction
Static, psiAvailable for friction, psipsi per 100 ftWith treatment stages
451494
5019127
60291914
70392620
80493227

Reference elevation, meter and fixture minimum at 23 gpm; developed length 100 ft with fittings +50%; treatment 8 psi.

Pressure budget from street to the farthest fixture60 psi static split into elevation 7.4, meter 8.9, friction allowance 28.7, and fixture minimum 15 psi.elevation7.4 psimeter8.9 psifriction allowance28.7 psifixture minimum15.0 psi0102030405060psi of the 60 psi static pressure at the meterDesign flow 23 gpm; developed length 100 ft; fittings +50%
Figure 2. Friction gets what is left after the fixed costs. Each segment is a share of the street pressure, a neutral quantity: lift to the top fixture, the meter at design flow, the friction allowance the pipe sizes are chosen against, and the minimum the fixture needs.
Table 4 Service pipe under the friction method at two design flows: the flow assumed decides the size
Pipepsi/100 ft at 23 gpmft/spsi/100 ft at 15 gpmft/s
¾ in PEX9921.04714.0
1 in PEX2912.7148.5
1¼ in PEX118.555.7

Hazen–Williams, C = 150, PEX inside diameters. Budgets 19 and 22 psi/100 ft; shaded cells exceed them. 15 gpm is the illustrative two-thirds point.

Table 4 applies the friction method to the service alone, a simplification since the full design flow runs only that far. At the Hunter flow a 1 in PEX service loses 29 psi per 100 ft, over the 19 psi budget, so the method gives 1¼ in where Table 610.4 gives 1 in; the difference comes from the assumed meter loss and fitting allowance, which the table builds in differently. At the lower flow 1 in fits. Velocity is a second criterion: the copper limit is 8 ft/s, and PEX follows the maker's published limit. Friction rises with about the 1.85 power of flow and falls with the 4.87 power of diameter, so one nominal size roughly triples or thirds it.

Verify

Table 610.4 values here come from a UPC study guide (33 WSFU at 100 ft for a ¾ in meter and 1 in supply, 46–60 psi); the Hunter values follow the flush-tank curve of CPC Appendix A and IPC Table E103.3(3). Both, and the Appendix M result for the actual fixture schedule, are confirmed against the adopted CPC before a service is sized.

2 · Distribution: layout, velocity, hammer and material

Bottom line. Layout decides how much flow each pipe sees at once; velocity in that pipe sets noise, erosion and hammer; material sets how violent a hammer is and how the pipe can run through framing.

Three layouts differ in what one pipe carries at a time

Informs D2 D3

A trunk-and-branch layout runs a large main past the fixtures with short branches off it; a home-run layout gives each fixture its own small line from a manifold; a hybrid serves a fixture group (a bathroom) from a manifold port. Home runs use more pipe and fewer fittings, give each fixture a shutoff at the manifold, and keep one fixture's flow out of every other fixture's pipe (Figure 3). A trunk shares its flow, which is economical in pipe and is where the velocity of a busy branch rises.

Trunk-and-branch and home-run manifold layoutsLeft: one main with branches to six fixtures. Right: a manifold with a separate line to each of six fixtures.Trunk and branchHome run from a manifoldsourcebranches share the mainmanifold with a valve per lineeach fixture has its own line
Figure 3. A trunk carries the combined flow of every fixture beyond it; a home run carries one fixture's flow. Blue lines are water piping; circles are fixtures; teal notes are annotations.

Code velocity limits protect fittings; quiet needs less

SupplyHot waterDrainage

Informs D2

V = 0.4085 × Q ÷ d²

V velocity, ft/s · Q flow, gpm · d inside diameter, in

velocity rises with flow and falls with the square of the bore, so a pipe one size smaller runs about twice as fast.

The CPC limits copper systems, and other tubing joined with copper fittings, to 8 ft/s cold and 5 ft/s hot (610.12), to keep erosion-corrosion out of fittings and hammer moderate; PEX velocities follow the maker's installation guide. Flow noise in the pipe and at valves becomes audible well below 8 ft/s, and the 4–5 ft/s often used for quiet operation is practice, not code (Figure 4). A ½ in home run to a 1.8 gpm shower runs 3.3 ft/s whatever else is open. A ¾ in PEX branch serving two baths with both showers and both lavatories running carries 6.0 gpm at 5.4 ft/s, above the quiet range, and above the 5 ft/s that would apply to a copper hot line; the same draw on a ½ in branch would run 10.9 ft/s.

Velocity by flow in half, three-quarter and one inch PEXLines rise linearly with flow; half inch reaches 8 ft/s near 4.4 gpm, three-quarter near 8.8 gpm, one inch near 14.5 gpm.04812048121620Flow, gpmVelocity, ft/s½ in¾ in1 in8 ft/s copper cold limit5 ft/s copper hot limitone shower, ½ intwo baths at once, ¾ in
Figure 4. A home run keeps each fixture on the left of the chart; a shared branch moves right as fixtures open together. Lines are PEX sizes, neutral; dashed lines are the CPC limits for copper systems.

Pipe elasticity sets the size of a hammer surge

SupplyHot waterDrainage

Informs D2

Δp = ρ · a · Δv; a = √(K/ρ) ÷ √(1 + K·D ÷ (E·e))

ρ water density · a pressure-wave speed · Δv velocity stopped · K bulk modulus of water · D diameter · E pipe wall modulus · e wall thickness

a valve that stops flow suddenly raises pressure by the momentum stopped times the speed at which the pipe carries the wave; a stretchier pipe carries it slower.

A quick-closing valve, a washer or dishwasher solenoid or a single-lever faucet, stops the column faster than a pressure wave can travel the pipe and back. Stopping 5 ft/s raises pressure by about 283 psi in copper, where the wave runs near 4,206 ft/s, and about 68 psi in PEX, near 1,015 ft/s (Table 5). The surge travels as structure-borne noise through straps and studs (Soundproofing · Rigid connections). The CPC requires an arrestor at quick-closing valves (609.10); lower velocity reduces the surge in proportion.

Table 5 Hammer surge on stopping 5 ft/s, by pipe: PEX carries a quarter of copper's surge
PipeWave speed, ft/sSurge, psiAgainst 60 psi static
Copper, type L4,206283343 psi peak
PEX, SDR 91,01568128 psi peak

Wave speeds from water bulk modulus 2.2 GPa with copper E 117 GPa, D/e 18, and PEX E 0.7 GPa, D/e 7; class-typical.

Pipe materials compared

SupplyHot waterDrainage

Informs D2

Table 6 Supply materials compared: flexibility suits home runs, rigidity suits exposed and short runs
MaterialJoiningStrengthsLimits
PEX-ACold-expansion fittingsMost flexible; long unbroken runs; fittings near full bore; survives an occasional freezeExpansion tool; UV degrades it; not for exposed outdoor runs
PEX-BCrimp or clamp rings, insert fittingsFlexible; common toolingInsert fittings reduce the bore, which raises velocity at each joint
Copper, type LSolder or pressRigid; UV stable; long service record; an electrode where buriedFittings at every turn; erosion at high hot-water velocity; dissimilar-metal joints need isolation
CPVCSolvent cementRigid; lower cost than copperBrittle when cold or old; cement cure time

Table 6 compares the common materials. Potable PEX needs no oxygen barrier: potable water is replaced with oxygenated water at every draw, so the barrier would change nothing, while in a closed hydronic loop it keeps oxygen from reaching ferrous parts (HVAC · The hydronic loop). Brass fittings in some PEX systems have failed by dezincification in aggressive water, which the fitting alloy, not the barrier, addresses. All fittings and fixtures carrying drinking water in California meet the lead-free limit of 0.25% weighted average on wetted surfaces (Health and Safety Code §116875).

3 · Hot water delivery: the wait, the waste and recirculation

Bottom line. Hot water arrives only after the cooled water in the pipe has run out, so the wait is the pipe's volume divided by the fixture's flow; recirculation removes the wait by keeping the pipe hot, which costs a standing loss that its control decides.

The wait is the pipe volume divided by the draw rate

SupplyHot waterDrainage

Informs D3

t = (V_pipe ÷ Q) × f; V_pipe = Σ L × π d² ÷ 4 × 12 ÷ 231

L length of each segment, ft · d inside diameter, in · Q fixture flow, gpm · f warm-up factor for the pipe wall, about 1.2–1.5

the wait is how long the fixture takes to empty the pipe between it and the heater, stretched a little by the pipe itself warming up.

½ in PEX holds 0.0092 gal per ft and ¾ in 0.0184; ¾ in copper holds 0.0251. Diameter matters more than distance: a lavatory at 1.2 gpm on a home run of 50 ft of ⅜ in waits about 12 s, on a trunk of 40 ft of ¾ in and 10 ft of ½ in about 41 s, and the water run to drain is the same volume every time (Figure 5, Table 7). Low-flow fixtures lengthen the wait in proportion. The EPA WaterSense labeled-home specification caps the stored volume between the heater or loop and a fixture near half a gallon.

Wait for hot water by pipe length and size at 1.5 gpmLines for three-eighths, half and three-quarter inch PEX and three-quarter copper; at 60 ft the wait is about 12, 22, 44 and 60 seconds.015304560020406080100Pipe length from heater or loop, ftSeconds at 1.5 gpm, before warm-up⅜ in PEX½ in PEX¾ in PEX¾ in copper½ gal at 1.5 gpm
Figure 5. The wait scales with bore squared: halving the pipe size quarters it. Teal shades are PEX sizes, gray dashed is ¾ in copper, all neutral; the dashed horizontal line is half a gallon at 1.5 gpm, a reference.
Table 7 Wait in seconds by run and fixture: a small home run halves the wait of a trunk
Run from heaterGallonsShower, 1.8 gpmKitchen faucet, 1.8 gpmLavatory, 1.2 gpmLow-flow lavatory, 0.8 gpm
Trunk and branch: 40 ft of ¾ in, 10 ft of ½ in0.8328284162
Home run: 50 ft of ½ in0.4615152335
Home run: 50 ft of ⅜ in to a lavatory0.25881219
Compact: 15 ft of ½ in0.1455710

Pipe volume only; the warm-up of the pipe wall adds 20–50%.

A recirculation loop trades the wait for a standing heat loss

SupplyHot waterDrainage

Informs D3

E_continuous = UA_loop × L × ΔT × 24; E_event ≈ C_loop × L × ΔT; N_break = E_continuous ÷ E_event

UA_loop loss per ft per °F · C_loop heat capacity of water and pipe per ft · ΔT hot water above surrounding air

a loop kept hot loses heat all day; a loop heated only on demand costs one loop-full of heat per event; demand wins until the events outnumber the ratio of the two.

A loop brings hot water close to every fixture and returns it to the heater. Kept hot continuously, 120 ft of ¾ in PEX at 120 °F in 65 °F space loses about 665 W bare and 254 W with ¾ in insulation, 16 and 6.1 kWh of heat a day; a heat pump water heater supplies that at about a third of the electricity. Reheating the cold loop costs about 0.39 kWh a time, so demand control, a pump started by a call and stopped when the loop is hot, uses less heat than an insulated continuous loop until about 15 events a day, and less than a bare one until about 41 (Figure 6). The insulated loop's time constant is about 1.6 h, so a loop reheated within an hour of its last use costs less than a full reheat.

Loop loss inputs

¾ in PEX, 0.875 in outside diameter; insulation k 0.25 Btu·in/h·ft²·°F. With ¾ in of insulation UA = 2πk ÷ ln(r₂/r₁) = 0.131 Btu/h·ft·°F; bare pipe with a surface coefficient of 1.5 Btu/h·ft²·°F gives 0.344. At ΔT 55 °F over 120 ft: 254 W and 665 W. Heat capacity of water and pipe 0.20 Btu/°F per ft, so one reheat of a cold loop is 0.20 × 120 × 55 ÷ 3,412 = 0.39 kWh, and the insulated loop's time constant C ÷ UA is 1.6 h. Timer case: two 3 h windows plus two reheats.

Daily heat lost from a 120 ft recirculation loop by controlContinuous bare 16 kWh, continuous insulated 6.1, timer 2.3, demand six events 2.4, no loop zero.Continuous, bare loop16.0 kWhContinuous, ¾ in insulation6.1 kWhTimer, 2 × 3 h2.3 kWhDemand, 6 draws a day2.4 kWhNo loop0.0 kWh0481216
Figure 6. Control matters more than insulation once the pipe is wrapped. Bars are daily heat loss, a neutral quantity; electricity is about a third of it with a heat pump water heater. The no-loop case pays its cost in water run to drain instead.

Table 8 compares the arrangements.

Table 8 Recirculation arrangements compared: demand control removes most of the standing loss
ArrangementHow it worksWaitNotes
NonePipe cools between usesPipe volume ÷ flowWater to drain every cold draw; no standing loss
Dedicated return, continuous or timerPump runs on a schedule through a return lineNear zero in hours runStanding loss; a return pipe to route; timers alone do not meet the alteration rule
Demand, manualA button starts the pump; a temperature rise or time limit stops itSeconds after the callRA4.4.9; the prescriptive choice in alterations
Demand, sensorAn occupancy or flow sensor starts the pumpSeconds after the callRA4.4.10; performance approach in alterations
Demand through the cold linePump at the far fixture returns cooled hot water through the cold pipeSeconds after the callNo return pipe; cold line briefly warm; RA4.4.9 permits the cold line as the return
Watch out

Under the Energy Code, adding or replacing a recirculation system in an alteration is limited prescriptively to manual demand recirculation (RA4.4.9): a button at the kitchen, the baths and any fixture 20 ft or more from the heater starts the pump, which stops on a 10 °F rise, at 102 °F, or after 5 minutes. Other controls need the performance approach. Accessible pipes in the loop are insulated when the water heater is replaced.

Storage temperature and delivery temperature are separate limits

SupplyHot waterDrainage

Informs D3

Storing at 140 °F with a mixing valve stretches the tank and keeps it above the range where Legionella grows (HVAC · Peak-hour draw). The CPC limits what reaches people: shower and tub-shower valves are pressure-balancing or thermostatic, set to a maximum of 120 °F (408.3), and bathtub fillers have a limiting device to 120 °F (409.4). A thermostatic mixing valve at the heater sets the distribution temperature; the fixture limits remain. Dead legs between a loop and a fixture, and branches that carry water only occasionally, are where water sits in the growth range.

4 · Drain, waste and vent: seals, slope and noise

Bottom line. Every fixture drain holds a water seal against sewer gas; vents admit air so draining water cannot pull that seal out, and gravity drains need slope that framing depth and direction limit.

Vents protect trap seals from siphonage

SupplyHot waterDrainage

Informs D4

A trap holds 2–4 in of water (CPC 1005). A slug of water leaving a fixture pulls a partial vacuum behind it; without air admitted nearby, that vacuum siphons the seal (Figure 7). A vent connected to the trap arm within a set distance relieves it. The allowed distance grows with the trap arm's size because a larger pipe runs partly full and draws less vacuum (Table 9). An S-trap, whose only air path is the drain itself, siphons its own seal and is prohibited (1004), as are drum and bell traps and double trapping. Air admittance valves are limited in the CPC to uses the building department approves. Fixtures in a bathroom group can share vents: a common vent serves two traps at one connection, and wet venting lets a lavatory's drain serve as the vent for a water closet or tub downstream (CPC 908), which is how most bathroom groups are laid out.

A vented P-trap compared with an S-trapLeft: P-trap with trap arm to a vent tee; the vent admits air behind the draining water. Right: S-trap drops straight down; the falling water siphons the seal.Vented P-trapventtrap arm ≤ Table 1002.2seal staysair inS-trapseal siphonedno air path
Figure 7. The vent admits air on the far side of the seal so the draining water cannot pull a vacuum through it. Blue is the trap seal, dashed where it is lost; green and red mark whether the seal survives; teal notes are annotations.
Table 9 Trap arm length to a vent by size, at ¼ in per ft: larger arms may run farther
Trap armMaximum distance to ventTypical fixtures
1¼ in2 ft 6 inLavatory
1½ in3 ft 6 inBathtub, kitchen sink, laundry sink
2 in5 ftShower, washer standpipe
3 in6 ft—
4 in10 ft—
Water closet6 ft from flange to vent—

CPC Table 1002.2; the minimum is two pipe diameters.

Drains are sized by drainage fixture units and slope

SupplyHot waterDrainage

Informs D4

Drainage fixture units (DFU, Table 702.1) weight each fixture's discharge; the reference set totals 26 DFU. Table 703.2 gives each size a capacity at ¼ in per ft: a 3 in horizontal drain carries 35 DFU and no more than three water closets, a 3 in stack 48 and four; a 2 in drain carries 8 DFU horizontal and no water closet. A 4 in building drain is typical for a house. Horizontal drains slope ¼ in per ft (2%, CPC 708.1); larger drains may run flatter where the building department approves. Cleanouts are required at the upper end of each horizontal drain, every 100 ft, and where horizontal changes of direction total more than 135° (707.4), so a line can be rodded without opening a finish (Table 2 lists the reference DFU).

Slope and joist depth limit a horizontal drain in the floor

SupplyHot waterDrainage

Informs D4 D6

L_max = (h_joist − D_outside − clearances) ÷ s

h_joist joist depth, in · D_outside pipe outside diameter, in · s slope, in per ft

a drain running along a joist bay can drop only as far as the joist is deep, so the slope sets how far it can go before it leaves the floor.

Between floors a drain runs either along a joist bay or across joists. Along a bay, a 3 in drain (3.5 in outside) at ¼ in per ft with ½ in clearance top and bottom runs about 19 ft in a 2×10 and 27 ft in a 2×12 before it reaches the ceiling below (Figure 8). Across sawn joists a bored hole may not exceed a third of the depth (Framing · Notching and boring): 3.08 in in a 2×10, which a 3 in drain cannot pass, and 3.75 in in a 2×12, which it passes at the limit; each hole steps down ¼ in per ft, and with holes kept 2 in from each edge a 3 in drain can cross 2×12s for about 15 ft. Engineered I-joists take holes only where the maker's chart allows, and no truss member is cut (Framing · Truss members). On a slab, ground-floor drains run below the slab and a new one means a saw cut and a trench; pad footings occupy the same ground (Framing · Footings on a slab).

Drain run arithmetic

Along a bay: L = (h − 3.5 in − 0.5 in − 0.5 in) ÷ 0.25 in/ft, so 19 ft in a 9.25 in 2×10 and 27 ft in an 11.25 in 2×12. Across 2×12s: holes no larger than 3.75 in and kept 2 in from each edge leave 11.25 − 4 − 3.5 = 3.75 in of fall, 15 ft at ¼ in per ft.

Longest horizontal drain run within a joist bay at a quarter inch per footFor 2×10, 2×12, 11 7/8 in and 14 in I-joists: 3 in drains 19, 27, 30 and 38 ft; 2 in drains 24, 32, 34 and 43 ft.2×10, 3 in drain19 ft2×10, 2 in drain24 ft2×12, 3 in drain27 ft2×12, 2 in drain32 ft11⅞ in I-joist, 3 in drain30 ft11⅞ in I-joist, 2 in drain34 ft14 in I-joist, 3 in drain38 ft14 in I-joist, 2 in drain42 ft010203040
Figure 8. Deeper joists buy run length at a fixed slope. Dark teal is a 3 in drain, light teal a 2 in drain; both neutral. Bay depth is the joist depth less the pipe and ½ in clearance at top and bottom.

Drain noise follows pipe mass and how the pipe touches the frame

SupplyHot waterDrainage

Informs D4

Water falling in a stack and turning at the base radiates from the pipe wall as airborne sound and passes into studs and joists at every strap. Mass per foot governs the airborne part: cast iron no-hub runs about three times the weight of Schedule 40 PVC of the same size, and its makers report about 10 dB lower levels at the same flow; independent test data are sparse, so the figure is typical. The structure-borne part is controlled where the pipe meets the frame, with resilient clamps, sleeves at penetrations and no contact with drywall (Soundproofing · Rigid connections). A stack in a chase beside a bedroom is a flanking path a wall rating does not include (Soundproofing · Flanking). Table 10 compares the materials.

Table 10 Drain materials compared on noise, weight and joining
MaterialWeight, 3 in, lb/ftJoiningNoise
ABS1.0Solvent cementLightest; loudest
PVC Schedule 401.5Solvent cementSimilar to ABS; wraps of mass-loaded vinyl reduce the airborne part
Cast iron, no-hub4.5Clamped couplings with gasketsAbout 10 dB lower, manufacturer data; heavier supports

Weights typical by class.

5 · Water quality: what each treatment stage removes

Bottom line. Treatment stages act on different contaminant classes: carbon on disinfectant taste and organics, ion exchange on hardness, reverse osmosis on dissolved salts and trace contaminants at one tap; the water quality report says which problems exist.

Each stage acts on a different class of contaminant

Informs D5

The utility's annual Consumer Confidence Report gives hardness, disinfectant type, and any detected regulated contaminants for the system, free. Point-of-entry stages treat all the water at whole-house flow; point-of-use stages treat one tap (Figure 9). Chloramine, used by many California systems for a stable residual, needs catalytic carbon and longer contact than free chlorine. Hardness scales heat exchangers and water heater elements, faster at higher temperature and with the volume heated. Reverse osmosis removes dissolved salts, nitrate, arsenic and most PFAS but rejects water to drain and runs at a few gallons an hour, which confines it to a drinking-water tap; its drain discharges through an air gap (CPC 611.2). Table 11 gives the water it rejects.

Treatment train from the service to the drinking tapService, then sediment filter, then carbon (catalytic for chloramine), then optional softener, then the house; at the kitchen a reverse osmosis unit feeds one tap and rejects to drain.ServiceSedimentparticlesCarbondisinfectant, organicsSoftenerhardness, if neededHouseevery fixtureReverse osmosisone tap: salts, nitrate, PFASreject to drain through an air gap
Figure 9. Point-of-entry stages protect every fixture and the water heater; reverse osmosis serves the tap people drink from. Teal boxes are treatment stages; the dashed softener is conditional on hardness; teal notes say what each removes.
Table 11 Water rejected by a drinking-water reverse osmosis unit, five people: the reject ratio sets the cost
Reject to productGallons rejected a year
1:12,738
2:15,475
3:18,212
4:110,950

1.5 gal per person a day for drinking and cooking, typical. Units with a permeate pump or a recirculating design run near 1:1.

A salt-regenerated softener discharges brine to the sewer at each regeneration. California allows local agencies to restrict self-regenerating softeners where brine affects water recycling (Health and Safety Code §116775 onward), and several have, so the sewer agency's rule decides whether a softener is an option. A softened supply also raises sodium at the drinking tap, which a reverse osmosis stage removes.

6 · Routing and the repipe

Bottom line. Pipes compete with ducts, wiring and structure for the same framing; replacing a metal water service changes the grounding system, and transitions between metals and the water heater's installation have their own rules.

Routes follow the same three zones as other services

Informs D6

The attic, the floor framing between stories and the slab are the routing zones described in HVAC · Routing zones. Flexible supply lines fit all three; a drain fits only where slope and depth allow (Part 4), which makes it the least flexible occupant of a shared chase. Supply in an attic sits outside the thermal boundary and is insulated; in a mild climate freezing is rare, and PEX tolerates an occasional freeze where copper splits. Pipes in an exterior wall sit on the warm side of the insulation (Insulation · Air barrier).

Existing materials decide whether a repipe is optional

SupplyHot waterDrainage

Informs D6

Houses of 1985–2005 carry one of four supply materials, each with its own failure mode (Table 12). Polybutylene, used until about 1995, degrades in chlorinated water and fails at fittings without warning. PEX-AL-PEX sold as Kitec, about 1995–2007, fails at its brass fittings by dezincification. Type M copper, the thinnest wall, pinholes in some waters after decades. Type L copper and plain PEX have no class-wide failure. The material is identified where the pipe is visible, at the water heater, under sinks or at the main shutoff.

Table 12 Supply materials found in houses of the archetype's era and how each is identified
MaterialEraFailure modeIdentified by
Polybutyleneto about 1995Degrades in chlorinated water; fitting failuresGray or blue plastic marked PB2110
PEX-AL-PEX (Kitec)about 1995–2007Brass fittings dezincifyOrange or blue tubing; fittings stamped Kitec
Copper, type MthroughoutPinholes in aggressive waterRed printing on the pipe
Copper, type L; PEXthroughoutNone class-wideBlue printing (type L); PEX markings

A plastic water service can remove a grounding electrode

SupplyHot waterDrainage

Informs D6

A metal water pipe in direct contact with earth for 10 ft or more is a grounding electrode (NEC 250.52(A)(1)) and must be bonded into the electrode system. Replacing the buried service with PEX or other plastic removes it; the remaining electrodes then carry the system, and a single rod needs a second unless it measures 25 Ω or less (Electrical · Grounding). A repipe that keeps a metal service and replaces the interior changes nothing at the electrode. Galvanized-to-copper joints corrode galvanically without a dielectric fitting, often inside a wall, and a dielectric union also interrupts the bonding path, which a jumper restores.

The water heater installation has its own plumbing rules

SupplyHot waterDrainage

Informs D3 D6

The CPC requires a storage water heater to be strapped against earthquake motion in its upper and lower thirds, the lower strap at least 4 in above the controls (507.2); a temperature and pressure relief valve whose discharge runs full size to a safe point outside or to an indirect waste (504.6); and a thermal expansion tank where a check valve, backflow preventer or pressure regulator closes the system (608.3). A heat pump water heater adds a condensate drain and an air volume or ducting requirement, and an Energy Code backup-heat rule where its inlet air is unconditioned; that rule and the choice between a dedicated heater and a shared heat pump belong to HVAC · Shared heat pump or dedicated; its location sets every hot-water run in Part 3.

7 · Code, permits and documentation

Which codes apply

The 2025 California Plumbing Code (Title 24 Part 5, based on the 2024 UPC) applies to permits from 1 January 2026, with CALGreen (Part 11) for fixture flow rates and the Energy Code (Part 6) for pipe insulation and recirculation. AB 130 (2025) holds residential standards at this cycle until 1 June 2031. For houses built on or before 1 January 1994, Civil Code §1101.1 onward requires noncompliant fixtures (toilets over 1.6 gpf, showerheads over 2.5 gpm, faucets over 2.2 gpm) to be replaced as a condition of final approval of a permitted alteration; houses built later are outside it. Table 13 lists the provisions a plumbing remodel engages.

Which provisions a plumbing remodel engagesQuestions: fixtures replaced; supply repiped; water heater replaced; drains moved; recirculation added. Each yes engages a set of provisions.Fixtures replaced?yesCALGreen 4.303 flow rates · 408.3 / 409.4 temperature limitsSupply repiped?yes610 sizing · 608 pressure · 603 backflow · 609 test · electrode (NEC 250)Water heater replaced?yes507.2 straps · 504.6 relief · §150.2(b)1H · §150.0(j)1 insulationDrains or vents moved?yes702–703 sizing · 1002 trap arms · 707 cleanouts · 712 testRecirculation added?yesRA4.4.9 demand, manual control · loop insulation
Figure 10. The questions are independent; each yes engages the provisions beside it in teal. Replacing fixtures alone engages only the first row.
Table 13 Provisions a residential plumbing remodel engages, 2025 cycle
SectionRequirementWhy
CPC 610.4, Appendix A, Appendix MSupply sized by table, by friction, or by the demand calculatorAdequate flow at every fixture
CPC 608.1, 608.2, 608.315 psi minimum residual; regulator above 80 psi; expansion control in a closed systemFixture function; pipe and heater protection
CPC 610.12Copper systems ≤ 8 ft/s cold, 5 ft/s hotErosion and hammer
CPC 603, 611.2, 807.4Backflow: vacuum breakers at hose bibbs; air gaps at RO and dishwasher drainsProtecting the potable supply
CPC 408.3, 409.4Shower and tub valves limited to 120 °FScalding
CPC 1002, 1004, 1005Trap arm lengths, prohibited traps, seal depthSewer gas
CALGreen 4.303.1Showerheads 1.8 gpm at 80 psi; lavatory faucets 1.2 gpm at 60 psi; kitchen faucets 1.8 gpm; water closets 1.28 gpfWater use; also the design flows here
Energy Code §150.0(j)1; CPC 609.12.2Hot water pipe insulation at least as thick as the pipe diameter, 2 in aboveDistribution loss
Energy Code §150.2(b)1H, RA4.4.9Water heater alterations; added or replaced recirculation limited to manual demand control, prescriptivelyStanding loss

Permits and inspection

A repipe, a water heater replacement and any drain or vent change need a plumbing permit; Figure 10 draws which provisions each engages. Rough inspection sees the supply under test, at working pressure or as the code's test requires (609.4), and the drain and vent system under a water test of 10 ft of head or an air test (712), before walls close. The water heater's straps, relief discharge and expansion tank are seen at final, with the Energy Code forms for an alteration (CF1R at permit; CF2R from the installer).

Verify

Test pressures and durations, the CPC's position on air admittance valves and wet venting, the adopted Appendix M status, the 2025 wording of §150.2(b)1H and RA4.4.9 (the summary used is the 2022 edition) and the sewer agency's softener rules are confirmed with the building department.

Where it goes wrong

  1. A shared branch sized on fixture units alone runs fast and loud when the fixtures it serves open together; fixture units describe the house, not one branch (Part 2).
  2. No arrestor at a quick-closing valve. Washer and dishwasher solenoids hammer, and in copper the surge is several times the static pressure (Part 2).
  3. Insert fittings that choke a small line. PEX-B insert fittings reduce the bore at every joint, raising velocity and pressure loss in a ⅜ or ½ in home run (Part 2).
  4. A recirculation pump on a timer in an alteration. It delivers hot water and does not meet the prescriptive rule (Part 3).
  5. Large hot-water mains to small fixtures. A ¾ in trunk to a lavatory doubles the wait of a ½ in line and the water run to drain (Part 3).
  6. An S-trap to save a vent. It passes a visual check and siphons its seal in use (Part 4).
  7. A drain drawn across joists it cannot pass, or a horizontal run longer than the bay depth allows at ¼ in per ft (Part 4).
  8. A stack strapped rigidly in a bedroom wall. The wall's rating does not include the pipe (Part 4).
  9. A softener installed where brine discharge is restricted, or carbon chosen for chlorine on a chloraminated supply (Part 5).
  10. A plastic water service without the electrode replaced, found at the electrical final or not at all (Part 6).
  11. A dielectric union with no bonding jumper, which isolates a section of metal piping from the bond (Part 6).
  12. Relief valve discharge reduced or run uphill, which the final inspection checks (Part 6).
  13. An existing Kitec or polybutylene system left in place behind new finishes, where its fitting failures then occur (Part 6).

Reference

Glossary

Appendix M
The CPC appendix adopting IAPMO's Water Demand Calculator for peak demand in dwellings, an alternate to fixture units.
Developed length
Length of a pipe run along its centerline including fittings, as distinct from straight-line distance.
DFU
Drainage fixture unit: the weight of a fixture's discharge for sizing drains (Table 702.1).
Demand recirculation
A recirculation pump started by a call (button or sensor) and stopped by a temperature or time limit.
Home run
A dedicated supply line from a manifold to one fixture.
Hunter curve
The probability curve converting supply fixture units to a design flow.
Point of entry, point of use
Treatment of all water entering the house, or of one tap.
Reject ratio
Water a reverse osmosis unit sends to drain per unit of treated water.
Trap arm
The drain between a trap's outlet and its vent.
Water hammer
The pressure surge when a valve stops flowing water faster than a pressure wave can travel the pipe and back.
WSFU
Water supply fixture unit: a fixture's weight for sizing supply (Table 610.3).

Formula sheet

Velocity V = 0.4085 Q ÷ d² (ft/s, gpm, in) Pipe volume V/L = π d² ÷ 4 × 12 ÷ 231 (gal per ft) Friction (Hazen–Williams) Δp/100 ft = 452 Q^1.852 ÷ (C^1.852 d^4.87) (psi; C = 150 PEX and copper) Pressure budget P_friction = P_static − 0.433 Δz − ΔP_meter − P_min Allowable friction Δp/100 ft = P_friction ÷ (L_developed × 1.5) × 100 Hammer Δp = ρ a Δv; a = √(K/ρ) ÷ √(1 + K D ÷ (E e)) Hot water wait t = V_pipe ÷ Q × f; f ≈ 1.2–1.5 Loop loss E = UA L ΔT × 24; insulated pipe UA = 2πk ÷ ln(r₂/r₁) Demand break-even N = E_continuous ÷ (C_loop L ΔT) Drain run in a joist bay L = (h − D − clearances) ÷ s

Pipe size and what it supports

Table 14 gives each PEX size's volume per foot and the flow it carries at three velocities.

Table 14 PEX sizes: volume per foot and the flows at three velocities
SizeInside diameter, inGal per ftgpm at 4 ft/sgpm at 5 ft/sgpm at 8 ft/s
⅜ in PEX0.3500.00501.21.52.4
½ in PEX0.4750.00922.22.84.4
¾ in PEX0.6710.01844.45.58.8
1 in PEX0.8620.03037.39.114.6

SDR 9 copper-tube-size PEX; inside diameters typical by maker.

Figure color legend

Red: deficient, or fails the stated criterionAmber: marginal or conditionalGreen: meets the criterionGray: existing or baselineTeal: neutral quantity, reference line or annotation; never a grade

Blue marks water piping and water in traps, as in the HVAC guide. In Figure 7 green and red grade whether the trap seal survives.

Code points and inputs to confirm

Sources

Set v2 draft 1, 2026-10-23: rewritten as a generic theory guide to spec set v2 from the v1 guide (archived). Fixture-unit weights corrected to CPC Table 610.3 (v1 used values about 30% low) and the Hunter reading corrected; Table 610.4 and Appendix M added beside the friction method; existing supply materials added; recirculation controls split into RA4.4.9 and RA4.4.10; cleanout, insulation and air-gap citations corrected after review; the 8 ft/s limit restated as the copper rule with 5 ft/s for hot water; pressure budget, hammer, loop-loss, drain-in-framing and reverse osmosis arithmetic added; the Energy Code's alteration rule for recirculation corrected to RA4.4.9; house values moved to the House Project Guide. Values from one script.

↑ Back to top