English

Storm Sewer Hydraulic Grade Line Calculator

For civil engineers and plan reviewers checking a storm drain: start at the outfall tailwater and work up the line, pipe by pipe and access hole by access hole, the way FHWA's HEC-22 Section 7.5 does it by hand - and see which structures, if any, would surcharge above the rim or the gutter. Every step is shown.

1. The outfall

Load HEC-22's worked example: · ·

2. The line, from the outfall up

One row per structure, starting with the one just above the outfall. The pipe on each row is the pipe below that structure. "Angle" is the angle that pipe's water arrives at in the structure below it (180 = straight through). Inlet flow is surface water dropping in from the rim. US customary units.

StructureRim / gutter (ft)BenchInlet flow (cfs)Pipe D (ft)Manning's n (no unit)Length (ft)Q (cfs)Invert down (ft)Invert up (ft)Angle (°)

The answer

-
Type the line, or load the example.

How it works

  1. The start. The hydraulic grade line at the outfall is the tailwater, or (critical depth + diameter)/2 above the outfall invert, whichever is higher. The energy grade line adds the receiving water's own velocity head (HEC-22 Step 2).
  2. Each pipe, bottom end. If the water below - the tailwater, or the energy level in the access hole below - is over the pipe crown, the pipe runs full and loses an exit loss of 1.0 velocity head into the outfall (Equation 7-4) or 0.4 into an access hole (Equation 7-32). Otherwise the pipe is part full: normal depth from Manning's equation on the circle, critical depth from Q²/g = A³/T, and Cases A to F decide the level at its end.
  3. Each pipe, length. Full, friction slope Sf = [Q n / (0.46 D2.67)]² (Equation 7-3); part full, the pipe slope. If normal depth is at or below critical depth the pipe is supercritical: no losses are carried up, and the top end runs at normal depth.
  4. Each access hole. Outflow pipe energy Ei = EGL - invert; the first estimate Eai is the largest of outlet control (Ei + 0.2 V²/2g), submerged inlet control (D DI²) and unsubmerged inlet control (1.6 D DI0.67), with DI = Q / [A (g D)0.5]. Then benching (Table 7-6), inflows that arrive under the water at an angle (Cθ = 4.5 (ΣQj/Qo) cos(θw/2)) and inflows that plunge (CP = ΣQk hk / Qo) add Ha = (CB + Cθ + CP)(Eai - Ei). The access hole energy is never below Ei (Equations 7-13 to 7-30).
  5. The check. The energy grade line in each access hole is compared with its rim or gutter. Above it, water comes out; closer than your freeboard, it is flagged.

Worked example

The calculator’s own example, already worked through:

Tailwater elevation at the outfall (ft)333.5
Velocity of the receiving water (ft/s)0
Freeboard you want below each rim (ft)1
Number of structures in the line4

Result: The answer Below every rim Lowest margin: 3.15 ft, at 40. Structure 42: the chart reading treats this pipe as part full, but at the inverts given (slope 0.0007) it cannot carry 6.75 cfs without running full. 43 42 41 40 — HGL - - EGL dot = energy in the access hole, bar = rim Structure Pipe below Flow EGL low end HGL low end Friction EGL top HGL top Ei Eai Ha EGL in hole Rim Margin 43 2.00 ft, 6.75 cfs full 333.57 333.50 0.05 333.62 333.55 2.35 2.37 0.07 333.71 347.78 14.07 42 2.00 ft, 6.75 cfs subcritical 345.72 345.62 0.01 345.73 345.63 1.66 1.69 0.06 345.81 349.31 3.50 41 1.50 ft, 5.10 cfs supercritical 345.87 345.74 0.00 355.85 354.63 1.78 1.33 0.00 355.85 360.00 4.15 40 1.50 ft, 3.30 cf

Press Load an example above to see the same numbers in the calculator, with every step.

Last updated November 25, 2026. Made and checked by Progeny Infiniti LLC: every calculator is tested against the worked examples in the official source it names. How we build and check these calculators.

Read this before you rely on it

Where the numbers come from

More in Civil & traffic engineering

Other Civil & traffic engineering calculators

See all 14 calculators in Civil & traffic engineering →Next: Detention Pond Stage-Storage-Discharge Builder →