Calculate of Pipe Diameter