An equation used in fluid mechanics to determine the pressure or head loss due to friction within a straight length of pipe for a flowing fluid:
(p. 96) or in head form:
where f is the Darcy friction factor, L and d are the pipe length and inside diameter, and v is the average velocity of the fluid. It is also known as the Darcy–Weisbach or Moody friction factor whose value depends on the nature of the flow and surface roughness of the pipe. Note that this friction factor is four times greater than the Fanning friction factor. The value of the friction factor can be obtained from various empirical equations and published charts such as the Moody diagram.