Fluid: water (rho = 1000 kg/m^3, g = 9.81 m/s^2). The Darcy friction factor f = 0.020 is assumed (typical turbulent value).
Schematic of a horizontal pipe with fittings (90-deg elbow, globe valve, tee) / arrow = flow direction / K labels and Sigma K shown
Blue = straight-pipe friction loss ΔP_friction, red = fitting minor loss ΔP_fittings / percentage of total loss displayed
The total pressure drop in a piping system is the sum of the straight-pipe friction loss (major loss) and the fitting-induced local loss (minor loss). The minor loss is the product of the loss coefficient $K$ and the dynamic pressure $\rho V^2/2$ (K-factor method).
Straight-pipe friction loss (Darcy-Weisbach):
$$\Delta P_{\text{friction}} = f\,\frac{L}{D}\,\frac{\rho V^2}{2}$$Fitting minor loss (K-factor method):
$$\Delta P_{\text{fittings}} = \Sigma K\,\frac{\rho V^2}{2}$$Total loss, total head loss, and equivalent length:
$$\Delta P_{\text{total}} = \Delta P_{\text{friction}} + \Delta P_{\text{fittings}},\qquad h_L = \frac{\Delta P_{\text{total}}}{\rho g},\qquad L_e = \frac{\Sigma K \cdot D}{f}$$Here $\rho$ is density [kg/m^3], $V$ is the mean velocity [m/s], $L$ is the pipe length, $D$ is the pipe diameter, $f$ is the Darcy friction factor, $\Sigma K$ is the total loss coefficient, and $g$ is gravity [m/s^2].