Followers

Friday, October 23, 2026

Hydraulic Grade Line (HGL), elevation & pressure calculator

Fluid Mechanics & Hydraulics • Dual-Unit Solver

Hydraulic Grade Line (HGL), Elevation & Pressure Calculator

Interactive engineering application to compute Hydraulic Grade Line (\(\text{HGL}\)), Elevation Head (\(z\)), or Static Pressure (\(P\)) with full conversion between SI and British units.

Application Metadata
Author: Fernando Lastra
Date Created: October 19, 2026
Math Engine: LaTeX (MathJax 3)
✓ Real-Time Automated Hydraulic Solver • SI (Metric) & British (Imperial) Units

How to Use This Application (Instructions)

Self-Explanatory Guide
Step 1: Choose Parameter Select which unknown variable you want to calculate: HGL, Elevation (\(z\)), or Pressure (\(P\)).
Step 2: Select Units Enter data in SI Units (\(\text{m}, \text{kPa}, \text{Pa}\)) or British Units (\(\text{ft}, \text{psi}, \text{psf}\)).
Step 3: Fluid Properties Keep default Standard Water (\(\gamma = 9810\text{ N/m}^3\)) or select another fluid / custom Specific Gravity (\(\text{SG}\)).
Step 4: Automated Output Results, step-by-step LaTeX equations, and the piezometric diagram update automatically in real time.

Governing Hydraulic Equations (LaTeX Formulation)

In fluid mechanics, the Hydraulic Grade Line (\(\text{HGL}\))—or piezometric head—represents the sum of elevation head (\(z\)) and static pressure head (\(h_p = \frac{P}{\gamma}\)):

1. Hydraulic Grade Line (\(\text{HGL}\))
$$\text{HGL} = z + \frac{P}{\gamma} = z + \frac{P}{\rho g}$$
2. Elevation / Height (\(z\))
$$z = \text{HGL} - \frac{P}{\gamma}$$
3. Static Pressure (\(P\))
$$P = \gamma \cdot \left(\text{HGL} - z\right)$$

Input Parameters

B. Unit System Preset: SI Units Active
Equivalent: 15.0000 m = 49.2126 ft
Equivalent: 198.1000 kPa = 28.7320 psi
SG = 1.000
Example Scenarios (1-Click Test):

Calculated Results

Solving for: Hydraulic Grade Line (HGL)
Computed Hydraulic Grade Line (HGL)
International System (SI)
35.1937 m
3519.37 cm • Head hp = 20.1937 m
British Units (Imperial)
115.4648 ft
1385.58 in • Head hp = 66.2522 ft
Hydraulic Parameter SI Units (Metric) British Units (Imperial)
Hydraulic Grade Line (\(\text{HGL}\)) 35.1937 m 115.4648 ft
Elevation / Height (\(z\)) 15.0000 m 49.2126 ft
Pressure Head (\(h_p = P/\gamma\)) 20.1937 m 66.2522 ft
Static Pressure (\(P\)) 198.100 kPa 28.7320 psi
Specific Weight (\(\gamma\)) 9810.0 N/m³ 62.4280 lb/ft³

Step-by-Step Mathematical Solution (LaTeX)

SI Derivation
$$\text{HGL}_{\text{SI}} = z + \frac{P}{\gamma} = 15.00 + \frac{198100}{9810} = 35.1937\text{ m}$$
British Derivation
$$\text{HGL}_{\text{BG}} = z + \frac{P}{\gamma} = 49.21 + \frac{4137.4}{62.43} = 115.4648\text{ ft}$$

Interactive Hydraulic Grade Line Schematic

Positive Gauge Pressure (\(P > 0\))
Reference Datum Plane (z = 0 m | 0 ft) HGL = 35.19 m (115.46 ft) z = 15.00 m (49.21 ft) P/γ = 20.19 m (66.25 ft) HGL = 35.19 m (115.5 ft)
Developed by Fernando Lastra • Created on October 19, 2026
Blogger Standalone HTML5 Application • Dual SI & British Solver

No comments:

Post a Comment

Ideal gas mole calculator - SI

Ideal Gas Mole Calculator Created by: Nayomi Alvarez Contreras Date: November 15, 2026 Desc...