Oil tanks are typically cylindrical but can be orientated horizontally or vertically. The capacity of the oil tank does not change, regardless of the orientation. Therefore, to calculate the volume of the oil tank, you can use the standard cylinder calculation. This formula uses the surface area of the rounded end times the length or height of the long side.

Measure the length or height of the long side of the tank in units of feet.

Measure the diameter of the tank in units of feet. The diameter is the distance across the center of the rounded end of the tank.

Divide the diameter by 2 to calculate the radius. As an example, if you measured 8 feet in diameter, you have a radius of 4 feet.

Square the radius, which means to multiply it by itself, and then multiply it by 3.14 to calculate the circular area of the rounded end. In the example, this results in an area of 50.24 square feet.

Multiply the area by the length or height to calculate the volume. In the example, if the height or length was 20 feet, then the volume would be 1,005 cubic feet.

Divide the cubic feet by 7.48 to convert to gallons. In the example, this produces a volume of 134 gallons.