Works on this device
Water Pipe Size Calculator
Find the inside diameter a water pipe needs for a flow, within the velocity and friction loss you allow or the pressure your supply gives. Check the velocity and friction loss of one size, find the flow a size delivers, or make a sizing chart of the pipes you can buy.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose what you want to work out. Pipe size for a flow uses a velocity limit and, if you type one, a friction loss limit.
- Type the flow. If you have a total of fixture units, turn it into a flow with the table of your plumbing code first.
- Type your limits. They come from your plumbing code or design guide; the starting values are examples.
- To pick from real pipes, type the inside diameters (bores) of the sizes you can buy, or fill in an example set from the menu, and check the bores against the maker.
- Choose Calculate. The working shows each step.
The formulas
- Size for a velocity: D = √(4 × Q ÷ (π × v)), from Q = v × A and A = π × D² ÷ 4.
- Hazen-Williams (cold water): v = k × C × R^0.63 × S^0.54, with R = D ÷ 4, S the head loss for each metre of pipe, and k = 1.318 in feet (0.849 in metres).
- Darcy-Weisbach (any temperature): h_f = f × (L ÷ D) × v² ÷ (2g), with f from the Colebrook equation.
- Pressure available for friction = supply pressure − ρ × g × lift − pressure needed at the outlet − other losses (meter, backflow preventer, heater). Divided by the developed length, it is the friction loss the pipe may have.
- Flow a size delivers: the flow whose friction loss over the developed length uses up that pressure.
Worked examples
A flow of 1.2 L/s (19 gpm) with a velocity limit of 1.5 m/s needs D = √(4 × 0.0012 ÷ (π × 1.5)) = 0.0319 m, so 31.9 mm. Of the example copper bores, 35 mm copper (32.6 mm bore) fits, at 1.44 m/s. With a friction limit of 40 kPa for each 100 m as well (C = 140), the pipe needs 37.1 mm, so 42 mm copper.
The supply gives 400 kPa. The highest outlet is 6 m up (58.7 kPa for water at 20 °C), needs 100 kPa, and the meter and other parts take 35 kPa. That leaves 206.3 kPa for friction over 60 m of developed length. By Hazen-Williams (C = 140) 1.2 L/s needs 23.9 mm for the pressure, and 31.9 mm for the velocity limit, so the velocity sets the size.
In a 32.6 mm bore, 1.2 L/s moves at 1.44 m/s and loses 75.3 kPa for each 100 m (3.33 psi for each 100 ft) by Hazen-Williams with C = 140.
Limits you should know
- The tool holds no plumbing code table, no fixture unit table, no smallest pipe size and no velocity or pressure limit. Your plumbing code and its tables decide those. The starting values and the example bores are examples only.
- Hazen-Williams is an empirical formula for cold water in full pipes of ordinary size. For hot water, small pipes or another liquid, choose Darcy-Weisbach with the right temperature.
- Fittings add loss. Count them in the developed length (as an equivalent length) the way your method asks. The Pipe Flow Calculator adds fittings by their loss coefficients, and sizes pipes for steam, gas and other liquids.
- Drains and sewers run part full under gravity: see the Manning Equation Calculator. The water demand of fixtures is on the Plumbing Flow Demand Calculator.
- A water system must follow your local plumbing code and be checked by a qualified engineer or plumber. This is not professional advice.