The friction factor has to be read from the Moody Diagram.
For PVC, just assume its completely smooth and this will get you there. You will also need the Reynold's number, Re = rho*V*D/mu
If you want to split hairs, the absolute roughness for PVC is 0.00000066 feet..
There is something called the Swamee-Jane formula that you can plunk in a spreadsheet which gives you the friction factor, and does not require looking it up in the Moody diagram. If you are a real go getter, you could create your own table of pressure losses per 100ft of PVC pipe. Put the different size pipes as columns, and the flowrate as rows. But this table would only be good for one certain pressure which represents the average pressure in the pipeline, since the density changes with pressure loss. You can calculate the DP according to the following formulas:
DP100=rho*(fL/D)*(V*V/Gc)
Re = rho*V*D/mu
Swamee-Jain formula for friction factor (valid only for Re>3500!!):
f=0.25/[ log{e/(3.7*D) + 5.74/Re^0.9} ]^2
e=absolute roughness in ft
D=inside diameter in ft
V=velocity in ft/sec
rho=density lb/ft3
mu=viscosity in centipoise
L=100 ft (the length you are assuming)
DP100=pressure drop per 100ft of pipe
A Crane 410 manual or a fluids textbook would do you wonders, I highly recommend getting one.
Good luck, and don't point that PVC pipe at me. There is a reason PVC is not used in gas systems. None for me thanks.
-Tom Meier