With this online calculator you can calculate volume of water in a pipe in cubic meters (volume of pipe in m3).
Formula:
V = H * π * D2 / 4
V - volume
H - height
D - diameter
R - radius
Volume of a pipe is found by multiplying the area of base of the pipe by its height.