Free Engineering Tool · NFPA 13

Hardy Cross Pipe Network Calculator

Balance the flow in looped sprinkler piping with the Hardy Cross method: the split between two to four parallel paths, or the flows in a two-loop grid, using the NFPA 13 Hazen-Williams formula with pipe lengths, fitting equivalent lengths and C-factors, with every iteration shown.

  • Based on NFPA 13
  • Free, runs in your browser; your inputs stay on your device
  • Screening tool, not reviewed or sealed by a licensed engineer
  • Last updated October 2026

Screening tool, not engineering advice. This calculator estimates results with simplified published methods. It has not been reviewed or sealed by a licensed engineer for your project, and DGA does not warrant that its results are accurate, complete or suitable for any use. Check every result independently and have the licensed professional responsible for your project review it before you rely on it. Use is subject to the Terms of Use.

Network

Pipe Data

Fittings: total equivalent length of fittings and valves in the pipe (NFPA 13 tables are for C = 120; adjust for other C-factors). Steel inside diameters: Schedule 40 and Schedule 10.

Result

Pressure loss, inlet to outlet
0
Iterations to balance
0
Flow in pipe 3
0
Highest velocity
0

Hardy Cross Iterations

Balanced Flows

Keep these results

About This Tool

In looped and gridded piping, water reaches a point by more than one route. The flows settle where two conditions hold: the flows into and out of every junction add up, and every route between the same two junctions loses the same pressure. Each pipe’s friction loss follows the Hazen-Williams formula used in NFPA 13, p = 4.52 Q1.85 / (C1.85 d4.87) psi per foot, with Q in gpm and d the inside diameter in inches, applied to the pipe length plus the equivalent length of its fittings. The tool uses the 1.85 exponent of the NFPA 13 form rather than 1.852.

The Hardy Cross method starts from any set of flows that satisfies the junctions, here an even split. For each loop it adds up the friction losses, counting clockwise flow as positive, and applies a flow correction ΔQ = −Σp / (1.85 Σp/Q) around the loop. A pipe shared by two loops takes both corrections. The steps repeat until the losses around every loop cancel. NFPA 13 hand calculations accept a balance within 0.5 psi at hydraulic junctions; the tool reports when that is reached and keeps going to 0.0001 psi. The iteration table shows the loop imbalances shrinking and the flow in a cross-connection changing direction when the first guess was wrong.

For parallel paths between the same two points, the balanced split also has a direct answer: each path carries flow in proportion to (1/R)0.54, where R is its resistance (the loss at unit flow). The tool solves the paths with Hardy Cross and the result matches that direct split.

Worked example

A grid takes 600 gpm in at corner A and delivers it at the opposite corner D. The outer pipes are 4 in. Schedule 10 (C = 120): 140 ft equivalent on pipes 1 and 4, which turn the corners, and 70 ft on pipes 2 and 5. The cross-connection, pipe 3, is 2-1/2 in. Schedule 40, 50 ft equivalent. Starting from 300 gpm in each outer pipe and nothing in pipe 3, the loops balance within 0.5 psi after three corrections. The result is 329 gpm through pipe 2, 57 gpm down the cross-connection from B to C, 271 gpm through pipes 1 and 4, and a loss of 4.22 psi from A to D by either route.

Assumptions and limits

Flow enters and leaves only at the marked points, the piping is level, and velocity pressure is not included. A real grid with flowing sprinklers has outflows along every branch line and needs a full hydraulic calculation, usually with software. The diameters are for steel Schedule 10 and 40 pipe; equivalent lengths of fittings come from the NFPA 13 table for C = 120 and should be adjusted for other C-factors before they are entered.

When to bring in an engineer

Hand balancing is useful for checking a computer calculation, sizing a loop or a parallel feed, and understanding why a grid behaves the way it does. Sprinkler system calculations for permit are prepared with the actual layout and flowing sprinklers. DGA prepares sprinkler hydraulic calculations and provides third-party review of calculations for gridded and looped systems.

References

  1. NFPA 13, Standard for the Installation of Sprinkler Systems, National Fire Protection Association, 2025 edition: hydraulic calculation procedures, the Hazen-Williams formula, equivalent lengths of fittings and valves with C-factor adjustment, and pressure balance at hydraulic junction points.
  2. H. Cross, “Analysis of Flow in Networks of Conduits or Conductors,” University of Illinois Engineering Experiment Station, Bulletin No. 286, 1936.
  3. G.S. Williams and A. Hazen, Hydraulic Tables, Wiley, New York, 1905.

Frequently Asked Questions

What is the Hardy Cross method?

It is an iterative way to find the flows in a pipe network. Starting from assumed flows that satisfy every junction, it computes the net friction loss around each loop and corrects the loop flow by minus that loss divided by 1.85 times the sum of loss over flow for the pipes in the loop. Repeating the corrections drives the loss around every loop to zero.

Why can the flow in a cross-connection reverse?

The first guess only has to satisfy the junctions, so it can send water the wrong way through a pipe that connects two loops. The corrections move the flow until the pressure losses balance, which can mean flow in the opposite direction. The iteration table and the arrows on the diagram show the final direction.

Does the tool use 1.85 or 1.852 for the exponent?

It uses 1.85, the exponent in the NFPA 13 form of the Hazen-Williams formula and in most sprinkler hydraulic programs. Some general water references use 1.852; the difference in results is well under 1 percent.

How close do the loops need to balance?

NFPA 13 hydraulic calculations accept pressures that balance within 0.5 psi at junction points. The tool shows the iteration where every loop is within 0.5 psi and then continues to 0.0001 psi so the flows are effectively exact.

Related Tools and Services

More water supply and hydraulics calculators

Engineering aid only, provided as is and without warranty. Results depend on the inputs and on the simplifying assumptions of the method summarized on each tool page, and DGA has not verified them for your application. They do not replace code-required design, testing or review by the licensed engineer responsible for the project. Use of the tools is subject to the Terms of Use.

Related Reading

Articles from DGA Insights on the code and the method behind this calculator.

Quick inquiry

Need these results reviewed for a submittal?

Your name, a way to reach you, and where the project is. One of our licensed PEs replies within one business day. No sales calls.

Prefer to describe it first? Open the Project Desk