Call the outside radius of the pipe "R." For example, if you are going to construct a pipe that is five feet wide on the outside, R = 2.5, since the radius is half the diameter.
Call the inside radius of the pipe "P." For instance, if the inside diameter is four feet, P = 2.
Compute the quantity R^2 - P^2. Using the example above, if R = 2.5 and P = 2, then R^2 - P^2 = 6.25 - 4, which equals 2.25.
Multiply this number by the length of the pipe. For example, if the length is 12 feet, you compute (12)(2.25) = 27.
Multiply this number by pi, which is approximately equal to 3.1416. This gives you the volume of concrete. Using the example above, the volume of the pipe is 84.8232 cubic feet.