← Environmental & Water Resources Studio
Concept Explainer · Environmental & Water Resources

Hydraulic Grade Line vs. Energy Grade Line: Why Pipe Flow Needs Two Different Profile Lines, Not One

One line tracks the total energy budget of the flow. The other tracks the actual pressure the pipe wall feels. They sit at different heights for a reason.

Every point along a pipe or open channel has three components of head: elevation head (height above a datum), pressure head (from the fluid pressure at that point), and velocity head (from the fluid's kinetic energy, V²/2g). The extended Bernoulli equation says the sum of all three, minus whatever's been lost to friction and fittings so far, stays constant along an ideal path. Plot that running total at every point and you get the Energy Grade Line (EGL). Plot just elevation head plus pressure head — leaving velocity head out entirely — and you get the Hydraulic Grade Line (HGL). They are not two ways of drawing the same thing. They answer two different questions.

The Setup

Total energy vs. what a piezometer tube would actually show

The EGL is the complete picture of the flow's energy state — it always slopes downward in the direction of flow, because friction along the pipe walls and losses at fittings, bends, and valves continuously spend total energy. It never climbs back up on its own; the only thing that can raise it is a pump physically adding energy to the fluid. The HGL, by contrast, is a physical thing you could go measure: tap an open vertical tube (a piezometer) into the pipe at any point, and the water inside rises until its column height balances the local pressure head. Add that elevation to the pipe's own elevation at that point and you get exactly the HGL. Because the HGL leaves out velocity head while the EGL includes it, the HGL always sits below the EGL by precisely V²/2g — the gap is the velocity head, nothing more.

EGL and HGL along a constant-diameter pipe

The gap between them is constant here because velocity — and so velocity head — never changes.

datumreservoirsurface (V ≈ 0)pipe (constant diameter)dischargeEGL — total head (z + P/γ + V²/2g)HGL — z + P/γ onlyV²/2gpiezometer tube(open to atmosphere)water rises to the HGL —elevation + pressure head onlyflow →
Constant gap = velocity head
EGL − HGL = V²/2g
Fixed wherever velocity is fixed — i.e. anywhere the pipe's cross-sectional area doesn't change.
EGL slope direction
Always downward*
*Except where a pump adds energy directly — friction and minor losses can only remove it.

What happens at a pipe diameter change

The EGL only keeps falling from losses. The HGL also reacts to velocity itself — it dips harder wherever the pipe narrows.

wide sectionnarrow throatwide section (restored)V₁V₂ > V₁V₃ = V₁EGL — keeps falling from losses onlyHGLgap = V₁²/2g · positive Pgap widens: V₂²/2g largergap restored = V₁²/2gflow →
Why velocity changes
A₁V₁ = A₂V₂
Continuity: a smaller area forces a higher velocity to pass the same flow rate.
Gap at the throat
Widens, HGL drops
Higher velocity head at that point means HGL = EGL − V²/2g must fall further below the EGL right there.
Why this works

Two lines, two jobs: one tracks the energy budget, the other tracks the pressure the pipe wall actually feels.

The EGL is a running total of everything the fluid has — elevation, pressure, and motion — so it can only go down as friction and fittings spend that total, or up where a pump physically adds to it. The HGL strips out the motion term on purpose, because motion isn't something a static column of water in a piezometer tube can register — the tube only reflects elevation plus pressure. That's exactly why the HGL is the line engineers actually check for pressure problems: it's the elevation the water would physically rise to if you gave it an escape route straight up. In a constant-diameter pipe, velocity never changes, so the gap between the two lines — the velocity head — stays fixed and they run perfectly parallel. The moment the pipe's diameter changes, velocity changes with it (by continuity, A₁V₁ = A₂V₂), the velocity head changes, and the gap between EGL and HGL opens or closes right at that point — even though the EGL itself is still only responding to cumulative losses, not to the diameter change directly.

Common misconception
"The HGL and EGL are basically the same profile, just drawn slightly differently, so either one tells you everything you need to know."

No — the two lines answer genuinely different engineering questions, and treating them as interchangeable is how pressure problems get missed. The EGL tracks the total energy budget — it's what you use for head-loss calculations and pump sizing, and a steadily, reasonably declining EGL looks perfectly healthy on paper. But the HGL is what reflects actual pressure conditionsin the pipe — and it can dip concerningly low, or even fall below the pipe's own physical elevation, at a narrow or high-velocity section, even while the EGL above it looks completely unremarkable. A pipe section can pass every check on the EGL and still have a real, live problem: sub-atmospheric pressure that risks air release, cavitation, or pipe collapse — a design flaw that only plotting the HGL specifically will reveal. Checking one line and assuming it covers the other is exactly the mistake this distinction exists to prevent.

Related Concept Explainers
Cavitation — How Water Can Boil at Room Temperature
Read it →
Minor Loss Coefficients in Pipe Fittings
Coming soon

Hydraulic Grade Line vs. Energy Grade Line — Concept Explainer

Explains why pipe and open-channel flow profiles need two separate lines instead of one: the Energy Grade Line (EGL), which represents total head — elevation, pressure, and velocity head combined — and the Hydraulic Grade Line (HGL), which represents only elevation plus pressure head, matching what an open piezometer tube would physically show at that point.

Why This Is Commonly Misunderstood

Both lines get plotted on the same profile drawing, both generally trend downward along the direction of flow, and both are called “grade lines,” so it's easy to assume they're interchangeable or that one is just a simplified version of the other. They aren't. The EGL is the complete energy accounting for the flow at each point (elevation head + pressure head + velocity head); the HGL deliberately omits the velocity head term, because it represents something physically measurable — the water surface elevation a piezometer tube would settle at — and a static column of water in an open tube has no way to register the kinetic energy of fluid moving past it.

The Physics

By the extended Bernoulli / energy equation, total head at any point equals elevation head (z) plus pressure head (P/γ) plus velocity head (V²/2g), minus cumulative losses to friction and fittings since the start of the system. Plotting that running total gives the EGL, which can only decline along a passive stretch of pipe or channel — friction and minor losses only ever remove energy — and rises only where a pump adds energy directly. The HGL is elevation head plus pressure head alone, so HGL = EGL − V²/2g at every point. Where the pipe's cross-sectional area is constant, velocity is constant, so the gap between the two lines is constant and they run parallel. Where cross-sectional area changes — a contraction, expansion, valve, or fitting — continuity (A₁V₁ = A₂V₂) forces velocity to change too, so the velocity head changes and the EGL-to-HGL gap widens or narrows right at that point, independent of whatever the EGL itself is doing from losses.

Where This Matters

The EGL is what engineers use for head-loss calculations and pump sizing — it's the total-energy budget of the system. The HGL is what engineers check for actual pressure conditions: as long as the HGL stays above the pipe's physical elevation everywhere, the pipe stays under positive (above-atmospheric) pressure. If the HGL dips below the pipe's elevation at any point — common at high points in the profile combined with a narrow, high-velocity section — that signals sub-atmospheric (negative gauge) pressure, which risks air being pulled into the system, cavitation at pumps and valves, or even collapse in thin-walled or gravity pipelines. This is exactly why water distribution and transmission main designs are checked against the HGL specifically, not just the EGL.

Frequently asked questions

Can the energy grade line ever rise in the direction of flow?

Only where a pump or other external energy source adds head directly to the fluid. Anywhere flow is simply moving through pipe, fittings, and valves without a pump, friction and minor losses can only remove energy from the system, so the EGL falls or, in the idealized frictionless limit, stays flat — it never rises on its own.

Why does the HGL sit below the EGL by exactly the velocity head?

Because EGL = elevation head + pressure head + velocity head, while HGL = elevation head + pressure head only. Subtracting the HGL’s two terms from the EGL’s three leaves exactly V²/2g — the velocity head — as the vertical distance between them at every point.

What does it mean if the calculated HGL dips below the pipe’s own physical elevation?

It means the pressure head at that point is negative — the fluid inside the pipe is below atmospheric pressure. That is a real design warning: it can lead to air being drawn into the system through joints or air valves, cavitation risk near pumps and control valves, or even structural collapse in pipe not designed to handle external pressure exceeding internal pressure.

Why does an open piezometer tube read the HGL and not the EGL?

An open piezometer tube exposes the water inside it to atmospheric pressure at the top, so water rises until the column height balances the local pressure head at the tap point. Add that to the pipe’s elevation there and you get elevation head plus pressure head — the HGL by definition. A static column of water in a vertical tube has no way to reflect the kinetic velocity head of fluid flowing past it, which is exactly the term the EGL includes and the HGL leaves out.

In a constant-diameter pipe, do the EGL and HGL always stay perfectly parallel?

Yes, as long as the pipe’s cross-sectional area — and therefore velocity — doesn’t change, the velocity head stays constant and the two lines run parallel, separated by that fixed gap. They only separate further or come closer together at a contraction, expansion, valve, or fitting, where velocity itself changes.

🎓

Try our Environmental & Water Resources Studio

More calculators, simulators, and guides for this discipline.

Related tools & guides

Cavitation — Concept ExplainerReynolds Number — Concept ExplainerHazen-Williams Pipe Flow CalculatorHydraulic Retention Time Calculator