Model heads, losses, flow, and section conditions. See EGL and HGL changes across the pipeline. Download results, study formulas, and plot profiles with confidence.
Enter values for elevations, pressures, diameters, flow, losses, and added or extracted head.
This sample helps verify the calculator workflow before using project values.
| Item | Sample Value | Meaning |
|---|---|---|
| Pipe Length | 120 m | Distance between upstream and downstream sections. |
| z1 / z2 | 18 m / 10 m | Section elevations above the chosen datum. |
| p1 / p2 | 185 kPa / 125 kPa | Measured gauge pressures at both sections. |
| Q | 0.18 m³/s | Volumetric flow rate through the line. |
| D1 / D2 | 0.30 m / 0.25 m | Section diameters used for velocity calculation. |
| hf + hm | 6.0 m | Total head loss from friction and fittings. |
| Expected Use | EGL and HGL check | Compare theoretical and measured energy conditions. |
A = πD² / 4
V = Q / A
Pressure Head = p / γ
In this file, pressure is entered in kPa, so the code converts it to Pa before dividing by specific weight.
HGL = z + p/γ
The hydraulic grade line contains elevation head and pressure head only.
EGL = z + p/γ + αV²/(2g)
The energy grade line equals the hydraulic grade line plus velocity head.
EGL₂ = EGL₁ + hp - ht - hf - hm
This relation estimates the downstream energy state after added head and losses.
The energy grade line shows the total head available at a section. It combines elevation head, pressure head, and velocity head into one engineering profile.
HGL includes only elevation and pressure head. EGL sits above HGL by the velocity head amount, unless flow velocity is zero.
The calculator compares a measured downstream pressure with the theoretical energy equation result. This helps identify mismatch, missing losses, or instrumentation issues.
A negative gauge pressure means the line would need sub-atmospheric pressure at the downstream section to satisfy the stated flow and losses.
Yes. Replace the specific weight value with the correct fluid specific weight. That updates pressure head and all head-based comparisons.
The α factor improves accuracy when the velocity profile is nonuniform. For many engineering estimates, α is set near 1.0.
No. It evaluates head conditions from the values you enter. It is best used for checking profile behavior and energy balance.
The residual measures the gap between the theoretical energy equation and the measured downstream state. A value near zero indicates good agreement.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.