Sprinkler Systems · Calculation
How are sprinkler hydraulic calculations done?
General guidance, not a code determination for any project. Confirm the adopted code and local amendments with the authority having jurisdiction.
A sprinkler hydraulic calculation starts at the most remote sprinkler in the design area, finds the pressure it needs to discharge its share of the design density, then works back to the water supply pipe by pipe, adding friction, fitting and device losses, elevation and each sprinkler’s flow along the way. The total flow in gallons per minute (gpm) and pressure in pounds per square inch (psi) at the supply connection, plus a hose allowance, is the system demand. The design passes when a current flow test shows the supply can deliver that pressure at that flow, with any margin the authority having jurisdiction (AHJ) requires.
NFPA 13, the National Fire Protection Association’s standard for sprinkler systems, sets the method in its hydraulic calculation chapter. This article covers the inputs, the formulas, a light hazard example traced node by node to the street main, the errors that fail review, and when the method needs software or a licensed Professional Engineer (PE).
At a Glance: Sprinkler Hydraulic Calculations
- What is calculated: the flow and pressure the sprinkler system needs at the base of the riser and at the water supply connection when every sprinkler in the hydraulically most demanding design area discharges at once, with the hose allowance added.
- Method in one line: start at the most remote sprinkler with Q = K√P, add Hazen-Williams friction, fitting equivalent lengths and elevation pipe by pipe back to the supply, and compare the total with the flow test at that flow.
- Inputs needed: hazard class, design density and area, sprinkler K-factor and spacing, pipe sizes, lengths, fittings and C-factor, elevations, device losses, the hose allowance and a current flow test.
- Code and section: NFPA 13 (2022) Chapter 28 for the calculation (Chapter 27 in the 2019 edition and Chapter 23 in the 2016 edition used in New York City), Chapter 19 for the design criteria and hose allowance, and Section 4.5.1.1 for the 12-month limit on the flow test (the same limit is 4.6.1.1 in 2019 and 23.2.1.1 in 2016).
- Typical result range (units): a flow in gpm at a pressure in psi. A light hazard density/area design with no reductions starts from 150 gpm (0.10 gpm per sq ft over 1,500 sq ft), and the worked example below needs 167.83 gpm at 45.92 psi before 100 gpm of hose.
- Most common input error: calculating a convenient design area instead of the hydraulically most demanding one.
What does a sprinkler hydraulic calculation prove?
A sprinkler hydraulic calculation proves that every sprinkler in the design area can discharge at least the required density at the same time, through the pipe sizes actually drawn, while the hose allowance flows too. The design area is the floor area over which the design assumes sprinklers will open in a fire, placed where the piping makes it hardest to supply. The result is a demand: a flow in gpm at a pressure in psi, stated at the base of the riser and at the point where the water supply was tested.
The calculation sets the pipe sizes on the shop drawings and decides whether the building needs a larger service or a fire pump, and the reviewer checks it before a permit is issued. Its results also go on the hydraulic design information sign at the riser (NFPA 13 (2022) Section 29.4), so a later owner or tenant can see what the system was designed to do.
The method is the same NFPA 13 procedure in every state DGA works in; the edition and its chapter numbers change, and New York City drops the hose allowance. As of November 2026, New York State and New Jersey use NFPA 13 (2022), where the procedure is Chapter 28, and the Delaware State Fire Marshal reviews to NFPA 13 (2025), also Chapter 28. Pennsylvania uses NFPA 13 (2019), Chapter 27, as do New Jersey applications filed under the prior 2021-based codes through February 17, 2027.
New York City uses NFPA 13 (2016) as modified by Appendix Q of the 2022 New York City Building Code, where the procedure is Chapter 23. In Maryland, the county building permit reviews sprinklers to NFPA 13 (2019) through the 2021 International Building Code (IBC), while the State Fire Prevention Code (NFPA 1, 2024) references NFPA 13 (2022).
What inputs does a sprinkler hydraulic calculation need?
Every number in a hydraulic calculation has to trace to a source the reviewer can check: the standard, a listing, the drawings or a test. The table lists the inputs, where each comes from and the value used in the worked example below.
| Input | Where it comes from | Worked example value |
|---|---|---|
| Hazard classification | Occupancy classification in NFPA 13 (2022) Section 4.3, or the storage chapters for stored goods | Light hazard (office) |
| Design density and area | Density/area method in NFPA 13 (2022) Chapter 19, from Table 19.2.3.1.1 for the hazard class | 0.10 gpm per sq ft over 1,500 sq ft |
| Sprinkler K-factor and coverage | The sprinkler’s listing; spacing from the layout drawing | K-5.6 at 12.5 ft by 15 ft, 187.5 sq ft each |
| Pipe, fittings and C-factor | Layout drawing; C-factor and fitting equivalent lengths from NFPA 13 (2022) Tables 28.2.4.8.1 and 28.2.3.1.1 | Schedule 40 black steel in a wet system, C = 120 |
| Elevations | Drawings or survey: height of the sprinklers above the base of the riser, and of the riser relative to the test gauge | Sprinklers 13 ft above the base of the riser (5.63 psi) |
| Device losses | Listed loss curves for backflow preventers, meters, and alarm, dry pipe or deluge valves | Backflow preventer 5.00 psi at 167.83 gpm |
| Hose allowance and duration | NFPA 13 (2022) Table 19.2.3.1.2 by hazard class; no hose allowance in New York City under Appendix Q | 100 gpm for 30 minutes |
| Water supply | Hydrant flow test no more than 12 months old at working plan submittal unless the AHJ approves otherwise (NFPA 13 (2022) Section 4.5.1.1) | 54 psi static, 36 psi residual at 800 gpm |
Some jurisdictions add to the water supply input. The Delaware State Fire Marshal wants the flow test on the water utility’s letterhead. New York City asks for a Department of Environmental Protection (DEP) statement of the minimum pressure in the main for systems fed by street pressure and for fire pumps (2022 New York City Building Code Section 903.1.2).
How does the calculation work, step by step, from the most remote sprinkler to the supply?
A hydraulic calculation works backward from the most remote sprinkler, the one that is hardest to supply, because the pressure needed at that end sets the pressure needed everywhere upstream. NFPA 13 (2022) Chapter 28 sets the procedure, and each step uses one of the four relationships in the formula card below.
- Set the criteria. Classify the hazard and take the density and design area NFPA 13 sets for that hazard class; for most occupancies other than storage, that is the density/area method in NFPA 13 (2022) Chapter 19, where Table 19.2.3.1.1 gives one density and area per hazard class for new systems. The 2016 and 2019 editions used in New York City, Pennsylvania and the Maryland county permits give the density and design area as curves.
- Place the design area. Put it where the demand is highest, as a rectangle whose side along the branch lines is at least 1.2 times the square root of the area. Divide the area by the coverage of one sprinkler and round up to get the number of sprinklers that flow.
- Start at the most remote sprinkler. Its flow is the density times its coverage area, or its listed minimum if that is higher, and its pressure is (Q ÷ K)2, never less than 7 psi.
- Walk toward the riser one pipe at a time. Add the Hazen-Williams friction loss for the pipe length plus the equivalent length of its fittings, and the elevation change. The pressure at the next sprinkler is the sum, and that sprinkler’s flow is K√P.
- Balance every junction. Where two flow paths meet, the higher pressure governs and the other path’s flow is raised in proportion to the square root of the pressure ratio; NFPA 13 requires the pressures at a junction to balance within 0.5 psi.
- Carry the total to the supply. Continue through the cross main, feed main, riser, valves, underground pipe and backflow preventer to the point where the flow test was read.
- Add the hose allowance and compare. Add the hose flow at the point the standard names, then compare the total demand with what the water supply delivers at that flow.
Figure 1: The four relationships behind every node
Sprinkler discharge: Q = K × √P, so P = (Q ÷ K)2, where Q is the flow in gpm, P is the pressure at the sprinkler in psi and K is the K-factor from the sprinkler’s listing (5.6 in the worked example).
Friction loss (Hazen-Williams): p = 4.52 × Q1.85 ÷ (C1.85 × d4.87), where p is the loss in psi per foot of pipe, C is the friction loss coefficient and d is the actual inside diameter in inches. The loss in a run is p times the pipe length plus the equivalent length of its fittings and valves.
Elevation: 0.433 psi for each foot the sprinklers sit above the point being calculated.
Velocity pressure: Pv = 0.001123 × Q2 ÷ d4, in psi. Most calculations leave it out, which slightly overstates each sprinkler’s flow and errs on the conservative side; NFPA 13 allows it to be included.
The friction step is the one worth checking by hand. DGA’s Hazen-Williams friction loss calculator runs it for a single pipe run, with the fitting equivalent lengths and the C-factor and pipe schedule adjustments NFPA 13 uses.
Worked example: How does a Light Hazard design area trace back to the supply?
A one-story office is light hazard, protected by a wet pipe system of Schedule 40 black steel with K-5.6 sprinklers spaced 12.5 ft along the branch lines and 15 ft between lines, so each covers 187.5 sq ft. The design basis is 0.10 gpm per sq ft over 1,500 sq ft, with no reductions taken. The most remote sprinkler must therefore discharge 0.10 × 187.5 = 18.75 gpm.
The design area holds 1,500 ÷ 187.5 = 8 sprinklers. Its side along the branch lines must be at least 1.2 × √1,500 = 46.5 ft, so 4 sprinklers flow on each of 2 branch lines, covering 50 ft. The sketch shows the piping between those 8 sprinklers and the street main.
Figure 2: Design area and piping in the worked example
The table follows the calculation node by node. Each pressure is the one above it plus the loss in the pipe between, and each sprinkler’s flow is 5.6 times the square root of its pressure.
| Node | Flow, gpm | Pressure, psi | Pipe to the next node | Loss to the next node, psi |
|---|---|---|---|---|
| Sprinkler 1 (most remote) | 18.75 | 11.21 | 1 in., 12.5 ft | 1.44 |
| Sprinkler 2 | 19.92; 38.67 in the next pipe | 12.65 | 1-1/4 in., 12.5 ft | 1.45 |
| Sprinkler 3 | 21.03; 59.70 in the next pipe | 14.10 | 1-1/4 in., 12.5 ft | 3.24 |
| Sprinkler 4 | 23.32; 83.02 in the next pipe | 17.34 | 1-1/4 in., 6 ft plus 6 ft for the tee at the cross main | 5.72 |
| Branch line 1 at the cross main | 83.02 | 23.06 | 2 in. cross main, 15 ft | 1.00 |
| Branch line 2 at the cross main | 84.81 from line 2; 167.83 in the next pipe | 24.06 | 2-1/2 in. feed main, 85 ft plus 18 ft for an elbow (6 ft) and a tee (12 ft) | 10.62 |
| Top of riser | 167.83 | 34.68 | 4 in. riser, 13 ft plus 34 ft for a butterfly control valve (12 ft) and a check valve (22 ft), rising 13 ft | 0.45 friction plus 5.63 elevation |
| Base of riser | 167.83 | 40.76 | 6 in. cement-lined ductile iron underground, 200 ft equivalent at C = 140, then the backflow preventer | 0.16 friction plus 5.00 device |
| Supply connection at the street main | 167.83, or 267.83 with 100 gpm of hose | 45.92 | End of the calculation | None |
Schedule 40 black steel, C = 120, K-5.6 sprinklers, light hazard at 0.10 gpm per sq ft over 1,500 sq ft. Fitting lengths come from the NFPA 13 (2022) Chapter 28 equivalent length chart, and the 5.00 psi backflow preventer loss stands in for a value read from a listed curve at 167.83 gpm.
The 8 sprinklers discharge 167.83 gpm in total, 11.9 percent more than the 150 gpm that the density times the area implies, because every sprinkler upstream of the remote one sees more pressure and flows more. Branch line 2 is identical to branch line 1, so its flow comes from line 1’s own K-factor: 83.02 ÷ √23.06 = 17.29, which at 24.06 psi delivers 84.81 gpm.
The table also shows where the pressure goes. The 85 ft feed main costs 10.62 psi, more than any other single loss; the 13 ft rise costs 5.63 psi and the backflow preventer 5.00 psi, while the remote sprinkler itself needs 11.21 psi. Before hose, the demand at the supply connection is 167.83 gpm at 45.92 psi.
How is the result checked against the water supply curve?
The demand is compared with what the water supply delivers at the same flow. The example’s flow test read 54 psi static and 36 psi residual with 800 gpm flowing, so the supply at any flow Q is 54 minus 18 × (Q ÷ 800)1.85 psi. The light hazard hose allowance of 100 gpm is added to the flow at the connection to the city main or a yard hydrant, whichever is closer to the riser (NFPA 13 (2022) Section 19.1.6.2), and it does not change the demand pressure.
The total demand is therefore 267.83 gpm at 45.92 psi. At 267.83 gpm the supply delivers 51.62 psi, a margin of 5.70 psi. In New York City the same design would carry no hose allowance under Appendix Q, so the supply would be read at 167.83 gpm, where it delivers 53.00 psi, a margin of 7.08 psi.
Figure 3: Supply curve and demand point from the worked example
Drawing the supply line on N1.85 graph paper is covered in DGA’s article on how sprinkler demand is plotted against the supply curve. DGA’s sprinkler water supply analysis tool runs the same check from the flow test and the demand point.
NFPA 13 sets no safety margin, so on the standard alone the example passes. As of November 2026, two jurisdictions DGA works in set one. Delaware’s Regulation 702, Chapter 4, Section 1.3.1.5 requires a 10 psi safety factor above the demand, and the State Fire Marshal’s Preliminary Sprinkler Form asks for it, with the hose streams, in the plotted demand. In Montgomery County, Maryland, the Department of Permitting Services (DPS) asks for 20 percent on the demand pressure at the supply point in its NFPA 13 submittal requirements.
| Check | Requirement at 267.83 gpm | 2-1/2 in. feed main, demand 45.92 psi | 3 in. feed main, demand 39.13 psi |
|---|---|---|---|
| NFPA 13, any edition | Supply at least equal to the demand; no margin set | Met: supply 51.62 psi | Met: supply 51.62 psi |
| Delaware: Regulation 702, Chapter 4, Section 1.3.1.5 | Supply at least the demand plus 10 psi | Not met: needs 55.92 psi | Met: needs 49.13 psi |
| Montgomery County, Maryland: DPS NFPA 13 submittal requirements | Supply at least 1.2 times the demand pressure | Not met: needs 55.10 psi | Met: needs 46.96 psi |
The 3 in. option counts 85 ft of feed main plus 22 ft for its elbow (7 ft) and tee (15 ft), a loss of 3.83 psi instead of 10.62 psi. Local margins as of November 2026.
Elsewhere the AHJ or the insurer may set a figure, and DGA’s article on what a water supply safety margin is and how much is enough covers what the margin absorbs. In the example, the node table points to the fix: the feed main is the largest single loss, and moving it from 2-1/2-inch to 3-inch pipe cuts the demand to 39.13 psi, which clears both local rules. Larger pipe, a riser closer to the design area, a stronger supply or a fire pump are the usual fixes; DGA’s guide on how engineers decide whether a project needs a fire pump covers the last of these.
DGA prepares NFPA 13 hydraulic calculations and sprinkler shop drawings, and checks calculations prepared by others, across New York, New Jersey, Pennsylvania, Maryland, Delaware, Washington, Oregon and Florida. Project briefs get confirmation and preliminary code feedback within one business day. See where DGA works →
Which errors make hydraulic calculations fail review?
Software rarely gets the arithmetic wrong, so reviewers look hardest at the inputs and assumptions. The table lists the errors in the calculation itself, how a reviewer spots each one and the fix.
| Error | How a reviewer spots it | Fix |
|---|---|---|
| Design area in the wrong place | A higher, more obstructed or more widely spaced area elsewhere on the system needs more pressure, such as a dry pipe zone or a room at the end of a long main | Calculate every candidate area and submit the most demanding one |
| Design area the wrong shape | Fewer sprinklers along the branch lines than 1.2 times the square root of the area requires | Lay the long side along the branch lines and round any fraction of a sprinkler up |
| Remote sprinkler below its minimum | Starting pressure under 7 psi, or under the listed minimum of an extended coverage, residential or storage sprinkler | Start from the higher of the density flow and the listed minimum |
| Dry or preaction piping calculated as wet | C = 120 used on air-filled dry pipe or preaction steel piping (NFPA 13 (2022) allows 120 there only in a new system that uses nitrogen), or the design area left at its wet size | Use C = 100, and enlarge the area 30 percent for dry pipe and double interlock preaction systems (NFPA 13 (2022) Section 19.2.3.2.5) |
| Fittings missing or counted twice | Elbows, turning tees and valves left out, or tees with straight-through flow counted | Count each elbow, turning tee and valve at its chart length, adjusted for C-factor and pipe schedule |
| Calculation and drawings disagree | Pipe sizes, lengths or node numbers differ from the layout after a revision | Re-run the calculation after every layout change and tag its nodes on the drawings |
| Hose allowance wrong for the jurisdiction | Hose left out, added at the remote area, or added in New York City, where Appendix Q deletes it | Add it where NFPA 13 (2022) Chapter 19 places it; leave it out of New York City sprinkler demand |
Supply-side errors, such as an out-of-date flow test, a test on a different main or a backflow preventer loss read at the wrong flow, are covered in the plotting article linked above. Each item in the table is checked against the drawings, which is why the calculation and the layout are submitted together; DGA’s article on what a sealed sprinkler shop drawing set contains lists the rest of the package.
When does the calculation need software, a looped or gridded solution, or a PE?
Sprinkler piping is laid out as a tree, where water reaches each branch line from one direction; a loop, where the cross mains are tied together; or a grid, where the branch lines connect to mains at both ends. A tree like the worked example can be followed node by node by hand or in a spreadsheet. Loops and grids split the flow between paths, and the split has to be found by iteration, with the Hardy Cross method or a matrix solution, until the pressures balance at each junction.
Hydraulic calculation software does that iteration, makes it practical to check several candidate design areas and prints the report reviewers expect: a summary sheet, node and pipe data and the supply graph. A spreadsheet remains a useful check on a small tree system or on a modification.
A licensed engineer’s judgment matters most where the method’s assumptions stop holding: storage protection, special design approaches, fire pumps, combined sprinkler and standpipe systems, high-rise pressure zones and changes to an existing system whose design basis is unknown. Who signs the calculation is set by each state.
In New York State outside New York City, construction documents carry a New York licensed engineer’s or architect’s seal (Title 19 of the New York Codes, Rules and Regulations, Section 1203.3(a)(3)). New Jersey requires engineering plans and computations to bear the seal of the engineer or architect responsible for the design (New Jersey Administrative Code 5:23-2.15(f)). Maryland lets a licensed contractor’s designated qualified individual with National Institute for Certification in Engineering Technologies (NICET) Level III or higher certification, or a Maryland PE, supervise commercial sprinkler layouts (Code of Maryland Regulations 29.06.05.04L). The Delaware State Fire Marshal takes calculations from a licensed sprinkler company over its certificate holder’s signature, a role a Delaware PE can fill (Regulation 703, Chapter 5).
Key Takeaway: A sprinkler hydraulic calculation starts at the most remote sprinkler with the flow the density requires, finds its pressure from Q = K√P, and adds Hazen-Williams friction, fitting losses, elevation and device losses back to the water supply, collecting each sprinkler’s flow on the way. In the worked example a 1,500 sq ft light hazard area needs 167.83 gpm at 45.92 psi plus 100 gpm of hose, which a supply of 54 psi static and 36 psi residual at 800 gpm meets with 5.70 psi to spare: enough for NFPA 13, which sets no margin, but not for Delaware’s 10 psi or Montgomery County’s 20 percent until the feed main is enlarged.
Frequently asked questions
What C-factor is used for steel sprinkler pipe?
120 for black or galvanized steel in wet systems and 100 for steel in dry pipe and preaction systems, from Table 28.2.4.8.1 in NFPA 13 (2022); a new dry pipe or preaction system that uses nitrogen may use 120. Cement-lined ductile iron underground uses 140, and copper, stainless steel and listed plastic pipe use 150.
What is the minimum pressure at a sprinkler?
7 psi at any sprinkler under the calculation rules in NFPA 13 (2022) Chapter 28, or more where the density or the sprinkler’s listing requires it. In the worked example the most remote K-5.6 sprinkler needs 11.21 psi to discharge 18.75 gpm, which is 0.10 gpm per sq ft over its 187.5 sq ft.
Do sprinkler hydraulic calculations include the hose stream allowance?
Yes, except in New York City. NFPA 13 (2022) Chapter 19 sets the allowance by hazard class, 100 gpm for light hazard, and outside hose is added to the flow at the connection to the city main or a yard hydrant, whichever is closer to the riser. Appendix Q of the 2022 New York City Building Code deletes the hose stream allowances from NFPA 13 (2016), so New York City sprinkler demand carries none, though the water supply duration still applies.
Can sprinkler hydraulic calculations be done in a spreadsheet?
Conditional: a spreadsheet can run the NFPA 13 method for a tree system like the worked example and is a good check on software output. Looped and gridded systems need an iterative network solution, and reviewers expect a full report with a summary sheet, node and pipe data and a supply graph, so submitted calculations usually come from hydraulic calculation software.
How much safety margin does a sprinkler system need?
Conditional: NFPA 13 sets none, so the supply only has to meet the demand. Delaware requires 10 psi above the demand (Regulation 702, Chapter 4, Section 1.3.1.5), Montgomery County, Maryland, asks for 20 percent on the demand pressure, and elsewhere the AHJ or the insurer may set a figure, so the expected margin should be confirmed before design starts.
More in Sprinkler Systems
- What Is NFPA 13? A Plain-English Guide for Owners
- When Does a Sprinkler System Need Seismic Bracing?
- How Do You Size a Water Supply for a 13R or 13D System?
- Do Balconies and Decks Need Sprinklers Under NFPA 13R?
- When Does a Stage or Exhibit Hall Need Special Sprinklers?
- Do Closets, Bathrooms and Small Rooms Need Sprinklers?
This article is general information, not a substitute for a project-specific hydraulic calculation. Code editions, local amendments and reviewer practice change; confirm the adopted code and the authority having jurisdiction for the project.
Need Hydraulic Calculations for a Permit?
Send the layout, the hazard or storage basis, the flow test and the jurisdiction. DGA prepares the NFPA 13 hydraulic calculations and shop drawings, or checks a calculation before it goes to the reviewer. Project briefs get confirmation and preliminary code feedback within one business day.