f = 0.2083 (100 / c)1.852 q1.852 / dh4.8655
where
dh = inside hydraulic diameter (inches)
q = volume flow (gal/min)
c = Hazen-Williams roughness constant
f = friction head loss in feet of water per 100 feet of pipe (fth20/100 ft pipe)