How the sprinkler pipe friction calculator works
This calculator uses the Hazen-Williams equation to find friction loss in sprinkler pipe. NFPA 13 names this formula as the standard way to size water-based fire sprinkler piping. You enter the pipe size, material, flow, and length. The tool returns the pressure lost along the run.
It also adds the length of every fitting you list, converts the total to a pressure loss, and then adds the effect of any rise or drop. A curve below the results shows how loss changes as flow changes for the same pipe.
The Hazen-Williams formula in plain words
The equation reads p = 4.52 x Q^1.85 / (C^1.85 x d^4.87). Here, p is pressure loss in psi per foot of pipe. Q is flow in gallons per minute. C is a roughness number for the pipe material. And d is the true inside diameter in inches.
Two features of this formula explain most field problems. First, flow carries a power of 1.85, so doubling the flow raises friction loss by about 3.6 times. Second, diameter carries a power of 4.87. A pipe with twice the diameter loses only about one twenty-ninth as much pressure.
Multiply the psi-per-foot result by total length to get pressure lost in that run. Then add elevation. Water gains or loses 0.433 psi for every foot of height, so a riser that climbs 20 feet costs about 8.7 psi.
C-factors by pipe material
The C-factor measures how smooth the inside of a pipe is. A higher C means less friction. NFPA 13 lists fixed values, so designers do not guess.
| Pipe material | C-factor |
|---|---|
| Unlined cast or ductile iron | 100 |
| Black steel, dry and preaction systems | 100 |
| Black steel, wet and deluge systems | 120 |
| Galvanized steel | 120 |
| Cement-lined cast or ductile iron | 140 |
| Copper tube or stainless steel | 150 |
| Listed plastic pipe, such as CPVC | 150 |
Dry and preaction systems use a lower C because air can speed up corrosion inside black steel. Wet systems fill the pipe with water, which keeps oxygen supply low after the first fill.
Inside diameter, not nominal size
A pipe sold as 2 inch does not have a 2 inch hole. Schedule 40 steel pipe has an inside diameter of 2.067 inches in that size. Schedule 10 pipe has thinner walls and a larger hole at 2.157 inches. The calculator uses the true inside diameter, and it lets you type your own for CPVC or copper.
| Flow (gpm) | 1.5" | 2" | 2.5" | 3" | 4" | 6" |
|---|---|---|---|---|---|---|
| 25 | 0.024 | 0.007 | 0.003 | 0.001 | 0.000 | 0.000 |
| 50 | 0.088 | 0.026 | 0.011 | 0.004 | 0.001 | 0.000 |
| 100 | 0.317 | 0.094 | 0.040 | 0.014 | 0.004 | 0.000 |
| 150 | 0.672 | 0.199 | 0.084 | 0.029 | 0.008 | 0.001 |
| 200 | 1.144 | 0.339 | 0.143 | 0.049 | 0.013 | 0.002 |
| 300 | 2.422 | 0.717 | 0.302 | 0.105 | 0.028 | 0.004 |
Look at the 2 inch column. Friction at 300 gpm is more than seven times the loss at 100 gpm. That jump is why long runs with small pipe often fail in hydraulic reviews.
Fittings add equivalent pipe length
Every elbow, tee, and valve disturbs the flow. Designers handle this by adding an equivalent length of straight pipe for each fitting. The numbers come from NFPA 13 and apply to Schedule 40 steel pipe with a C of 120. For other C-factors, the tool scales the length by (C / 120) raised to the 1.85 power.
| Fitting | 2" | 2.5" | 3" | 4" | 6" |
|---|---|---|---|---|---|
| 90° standard elbow | 5 | 6 | 7 | 10 | 14 |
| 45° elbow | 2 | 3 | 3 | 4 | 7 |
| Tee or cross, flow turned | 10 | 12 | 15 | 20 | 30 |
| Gate valve | 1 | 1 | 1 | 2 | 3 |
| Swing check valve | 11 | 14 | 16 | 22 | 32 |
A swing check valve costs far more length than a gate valve. If a run feels too lossy, count your checks first.
Water velocity and why it matters
Velocity in feet per second equals 0.4085 x Q / d^2. NFPA 13 does not set one fixed limit. Many designers still keep velocity near or below 20 feet per second. Fast water raises friction, adds noise, and can stress fittings.
The calculator flags any result above that line. Treat the flag as a design hint, not a code violation.
Worked example for a 2 inch branch run
Suppose a branch line carries 100 gpm through 2 inch Schedule 40 black steel pipe. The straight run is 80 feet. It has two 90 degree elbows, one tee, and one gate valve.
- Friction per foot is 0.094 psi at 100 gpm.
- Fittings add 2 x 5 + 10 + 1 = 21 feet of equivalent length.
- Total length is 80 + 21 = 101 feet.
- Friction loss is 0.094 x 101, or about 9.5 psi.
Velocity is 0.4085 x 100 / 2.067^2, which is 9.6 feet per second. That is a comfortable number. For the whole system, add each run in turn. Our fire sprinkler hydraulic calculator does that step by step.
Where Texas fits in
Texas fire marshals review hydraulic calculations as part of sprinkler plan review. Licensed contractors prepare them, and many jurisdictions use NFPA 13 as written. A quick check with this calculator can help you spot an undersized pipe before a reviewer does.
Frequently asked questions
What is the Hazen-Williams formula for fire sprinklers?
It is p = 4.52 x Q^1.85 / (C^1.85 x d^4.87). The result is friction loss in psi per foot. NFPA 13 recognizes it for sizing sprinkler piping.
What C-factor should I use for black steel pipe?
Use 120 for wet and deluge systems and 100 for dry and preaction systems. Galvanized steel uses 120. Copper, stainless steel, and listed plastic use 150.
How much pressure does elevation add?
Water changes pressure by 0.433 psi for each foot of height. Pipe that runs uphill from the supply costs pressure. Pipe that runs downhill gains it.
Why does a bigger pipe help so much?
Diameter carries a power of 4.87 in the formula. Moving from 2 inch to 4 inch pipe cuts friction loss by roughly 29 times at the same flow.
Do I use nominal or inside diameter?
Use the true inside diameter. Schedule 40 pipe in 2 inch nominal size measures 2.067 inches inside. Using the nominal size gives results that are too optimistic.
Is 20 feet per second a code limit?
No. NFPA 13 does not set a single velocity limit. Many designers use 20 feet per second as a practical ceiling to limit friction and noise.
Related Texas fire safety guides
- Texas NFPA 10 compliance guide
- Texas fire protection regulations for business owners
- Fire protection services in Texas
Sources and standards
These references shaped the numbers and rules on this page. Always read the edition your local fire marshal has adopted.
- NFPA 13, Standard for the Installation of Sprinkler Systems
- Engineering ToolBox, Hazen-Williams equation reference
- Texas Department of Insurance, State Fire Marshal's Office
Last reviewed October 13, 2026.