Suvin: you have a calculator on the efunda site for doing these calculations. You'll find the input parameters there, which include the piping data and related engineering vairables you refer to.
_________________________________________________________________
My interests include exotic alloy valves from The Alloy Valve Stockist, Barcelona, Spain at
http://alloy-valves.com