Engineering aid only. Professional verification required. The method notes and tags on this page are the references this app cites.
By running a calculation you agree to the Terms of Use and Privacy Policy. Results are preliminary and must be verified by a licensed professional.
Method, assumptions and limits (read before use)
What it checks: a single series fire service line from the water main (where the hydrant flow test applies) to the base of the sprinkler riser. Pressure available at the base of the riser = supply curve pressure at the total flow − pipe and fitting friction − device losses (backflow preventer, meter) − elevation. It is compared with the demand pressure you enter (from the separate sprinkler hydraulic calculation) plus the margin you require, and the margin is reported in psi and percent.
Friction: Hazen-Williams, p = 4.52 Q1.85 / (C1.85 d4.87) psi per foot (Q gpm, d the actual inside diameter in inches, NFPA 13 28.2.2.1). C by the material you choose, per NFPA 13 Table 28.2.4.8.1 (the result shows the one C used, with this citation); or enter your own C as c_factor in the segment (in the Detailed calculation inputs, give either material or c_factor, not both; an entered C is warned). The inside diameter has no default.
Fittings: equivalent length = count × NFPA 13 Table 28.2.3.1.1 value (feet of Schedule 40 steel at C = 120; 3/4 to 12 in; elbows, tee with the flow turned, gate, butterfly and swing check valves) × the C multiplier of NFPA 13 Table 28.2.3.2.1 for the C used (the result shows the multiplier applied) × (inside diameter / reference diameter)4.87 (reference: Schedule 40 bore, Schedule 30 at 8, 10 and 12 in, per ASME B36.10M; the result shows the reference diameter used). The bore correction keeps the fitting pressure loss the same as for the reference bore at the same C and flow (a larger bore gives a longer equivalent length but less friction per foot), so it adds no safety factor. A fitting the table does not list (n/l) is rejected: give the manufacturer length as extra_equivalent_length_ft. Straight-through flow in a tee has no loss. NFPA 24 has no equivalent-length table that this app found; the NFPA 13 table is applied to the service line.
Supply: from the flow test, P = Ps − (Ps − Pr)(Q/Qr)1.85, a straight line on N1.85 graph paper (drawn below). Residual must be below static. A total flow above the tested flow is an extrapolation and is warned. Elevation: 0.433 psi per foot; enter the base of the riser elevation minus the test gauge elevation (positive costs pressure).
Hose allowance: required, no default: enter gpm (0 is valid) or choose a hazard (total hose allowance per NFPA 13 Table 19.2.3.1.2; the result shows the one value used). By default every segment and device carries the total flow (conservative); set carries_hose_stream to false on one that sees only the sprinkler flow. The pressure needed at a yard hydrant is not checked.
Devices: manufacturer data only. loss_psi is used as entered at the flow it sees and does not change with flow, so for a meter or backflow preventer whose loss rises with flow enter its manufacturer curve instead; loss_curve [[gpm, psi], ...] is interpolated and must cover the flow. In the plotted curve only, a fixed loss is scaled with Q2.
Checks: the gating check is available pressure ≥ demand + required margin. Velocity (advisory limit default 20 ft/s, a practice value; NFPA 13 sets none), extrapolation beyond the tested flow, and a flow-test pressure drop under 10 % of static are advisory: they warn and never change the verdict.
Required, no default: the flow test, the elevation difference (enter 0 only if the base of the riser and the test gauge are at the same elevation; every 10 ft of rise costs 4.3 psi), the demand and the hose allowance. Defaults (each echoed in "defaults used" and warned): required margin 0 psi, velocity limit 20 ft/s. Edition: NFPA 13 (2022 edition table numbering as reproduced by public references; numbers differ in older editions, e.g. Table 23.4.4.7.1 for C values in the 2013/2016 editions): confirm against the edition adopted by your authority having jurisdiction.
Inputs are strict: numeric values must be numbers (text is rejected); misspelled or unknown fields are rejected with a suggestion; a null is rejected (leave the field out); numbers in meta must be below 1e15; labels are at most 80 characters; at most 30 segments and 20 devices. Results are engineering aids; a licensed engineer must review before sealing.
Out of scope: the sprinkler system hydraulic design itself, looped or gridded supplies and branching, fire pumps and tanks, pressure-reducing valves, flow-test procedure and pitot conversion, hydrant fire flow (ISO or IFC), water hammer, thrust restraint, pipe pressure ratings, and metric units.