FOR PLUMBERS, BUILDERS, DESIGNERS AND CURIOUS OWNERS

How big should the water pipe be?

List the fixtures, how much each one draws and how often it runs in the busiest hour. The page works out the peak flow each pipe really has to carry with Hunter's 1940 probability method, done exactly for your mix of fixtures. Then it sizes every segment from the pressure you have and shows what is left at each fixture. Free, and it runs in your browser.

How it is worked out, with Hunter's own table checked

1. Fixture types

Flow is the fixture's rated gpm. Seconds per use and uses in the busiest hour give the share of time it runs. The example values are illustrative assumptions, not measurements: replace them with your own.

Namegpms per useuses / peak hrruns %

2. Pressure and pipe

Static pressure is what a gauge reads at the meter or tank with no water running. Fixed losses are the meter, a backflow preventer, a softener or filter: from their data sheets at the design flow.

3. Pipe segments

One segment starts at the meter; every other one starts from the segment it branches off. Give each segment its length, how far it climbs, and the fixtures it feeds directly. Fixtures further on are counted automatically.

Save or load as JSON

The same file the command line reads (node cli.mjs system.json).

Result

Peak demand, whole building
-
Everything at once
-
Allowable friction
-
Service size
-

Segments

SegmentgpmSizeft/spsi/100 ftLoss psi

Pressure at each end

EndDeveloped ftRise ftpsi left

Developed length is the pipe length plus the fittings allowance. The tightest path sets one friction rate for every segment (the uniform friction-rate method).

Questions

Is this the fixture-unit table in my plumbing code?

No. Code tables convert fixtures to fixture units and read a demand curve. This tool goes back to the probability model those curves came from (Hunter, 1940) and works it exactly for your fixtures' flows and how often they run. Your local code and inspector decide what is accepted; use this to understand and check a design, not in place of the code method.

Why is the peak demand so much less than every fixture running at once?

Because fixtures rarely all run together. A shower that runs 16 minutes in the busiest hour is flowing about a quarter of the time; two showers, a toilet filling and the kitchen tap all at once is rare. The tool finds the flow that is exceeded only 1% of the time (or the share you choose) in that busy period.

Where do the fixture timings come from?

From you. The example's flows and timings are illustrative, not measured data. Use the flow rating on each fixture and how long and how often it runs in your building's busiest hour. Hunter's 1940 values for flush valves, flush tanks and bathtubs are included as a historical baseline.

Is my data uploaded?

No. Every calculation runs in your browser. An optional anonymous counter in this browser's local storage records only that a calculation ran and the day.