Friction factor is used when calculating head loss due to friction (i.e. Darcy's equation) in pressurized pipes or ducts.
$\frac{1}{\sqrt[]{f}} = -2.0 log( \frac{\epsilon}{3.7D} + \frac{2.51}{Re\sqrt[]{f}})$
where, $f$ is the friction factor, $\frac{\epsilon}{D}$ is the relative roughness, and $Re$ is the Reynold's number. When the flow is Laminar, i.e. $Re \leq 2300$, the friction factor is given by:$f=\frac{64}{Re}$
For transition flows, i.e. $ 2300 < Re \leq 4000$, the Colebrook equation is not applicable. Therefore, a numeric solution is not provided by this tool. In such a situation, users may choose to interpolate the value of friction factor between the laminar $(Re = 2300)$ and turbulent $(Re = 4000)$ values. The figure below shows the Moody diagram.