Formula:
hL = (P1/ρg + v12/2g + z1) - (P2/ρg + v22/2g + z2)
Where:
hL = Head Loss (m)
P1 = Pressure at point 1 (Pa)
P2 = Pressure at point 2 (Pa)
v1 = Velocity at point 1 (m/s)
v2 = Velocity at point 2 (m/s)
z1 = Elevation at point 1 (m)
z2 = Elevation at point 2 (m)
ρ = Fluid Density (kg/m3)
g = Acceleration due to Gravity (m/s2)