A friction factor without the Moody chart
Sizing a pipe run or checking pump head comes down to one stubborn number: the Darcy friction factor. Reading it off a Moody chart is slow and hard to defend in a calculation file, and iterating the Colebrook equation by hand is worse. Here f is resolved for you from the Reynolds number and the relative roughness e/D.
In laminar flow the page uses the Hagen-Poiseuille result, f = 64/Re. In turbulent flow it uses the Swamee-Jain explicit equation, which needs only Re and the pipe roughness. Between Re 2300 and 4000 the flow is labelled "transitional, uncertain" and the turbulent expression is still evaluated, so you get a number while being warned that it is not reliable.
It is written for fluid systems engineers who need head loss in metres and feet and pressure drop in kPa, bar and psi from the same inputs. The default roughness of 0.045 mm is the value usually quoted for commercial steel pipe; replace it for your own pipe material.