Friction Factor
The friction factor is used to determine the energy loss due to friction in pipe flows. This value depends on parameters like hydraulic radius, fluid viscosity, surface roughness and Reynold’s number.
A few resources for calculating friction factor are below:
https://www.omnicalculator.com/physics/friction-factor
https://www.sciencedirect.com/topics/engineering/friction-factor