What about elbows, valves and entrances?
The result is the major friction loss in a straight run. Fittings and changes in section add local losses.
Find straight-pipe pressure and head loss using a known Darcy friction factor, pipe dimensions, fluid density and mean velocity.
Major pressure loss equals f × (L/D) × ρv²/2. The Fanning factor is one quarter of the Darcy factor.
Divide pressure loss by density and gravity to get head loss. For these defaults the pressure loss is 16 kPa, approximately 1.63 m of fluid head.
The result is the major friction loss in a straight run. Fittings and changes in section add local losses.
Use a Darcy factor appropriate to the pipe roughness and flow regime. The Reynolds number can help you determine the regime.