Question: how to calculate water volume in a pipe?
Answer: For a pipe use its length instead of height: pipe volume = π * radius² * length , where radius = inner diameter/2 . The volume of a pipe is equal to the volume of a liquid inside (if a pipe is fully filled with it).