Horizontal tank tool

Horizontal Cylinder Volume Calculator

A tank on its side does not fill evenly. Enter diameter, length and liquid depth for the true volume and percent full.

Home / Horizontal Cylinder Volume Calculator

Quick answer: The filled part of a horizontal cylinder is a circular segment: A = r² cos-1((r - d)/r) - (r - d) √(2rd - d²), times the length. Enter diameter, length and liquid depth in the same unit.

Horizontal Cylinder Volume Calculator

Liquid fill preview

Diagram is a visual guide, not to scale. It fills as your numbers change.

Why depth percent is not volume percent

A horizontal tank is wide in the middle and narrow at the top and bottom, so depth and volume do not move together. At 25 percent of the diameter, the tank holds only about 19.6 percent of its volume. At 50 percent depth it is exactly half full. At 75 percent depth it already holds about 80.4 percent. A real r/askmath question came from a 100 gallon fuel tank owner stuck on exactly this maths, dipstick in hand. The generated depth chart under the calculator gives you the full table for your own tank, and the horizontal tank volume chart explains the pattern.

How to measure the depth

Measure from the inside bottom of the tank straight up to the liquid surface, with a clean dipstick or tape. Use the inside diameter, not the outside, and measure the straight cylinder length, not counting curved end caps. If your tank has dished ends, this calculator covers the cylinder part; the caps add a small extra amount.

Frequently asked questions

How do I calculate the volume of a horizontal tank that is only partly full?

Work out the circular segment area from the radius and the liquid depth, then multiply by the length. This calculator does the segment maths for you.

Is a horizontal tank half full at half the diameter?

Yes, exactly at 50 percent of the diameter the tank is 50 percent full. Below that it holds less than the depth suggests, above that it holds more.

How do I turn a dipstick reading into gallons?

Measure the depth, enter it here with the tank diameter and length, and read the gallons. Or generate the depth chart and keep it by the tank.

Does this work for a fuel or oil tank on its side?

Yes, it is the standard shape for heating oil, diesel and water tanks. Use inside measurements for the best accuracy.

Related calculators and guides

Cylinder Volume Calculator

The main calculator: radius or diameter plus height, every unit out.

Hollow Cylinder Volume Calculator

Wall material volume from outer and inner radius.

Pipe Volume Calculator

Water inside a pipe: gallons and liters per foot, with Schedule 40 sizes.

Cylinder Tank Volume Calculator

Vertical tank capacity in gallons and liters.

Partially Filled Cylinder Calculator

Vertical tank filled to any depth or percent, plus half cylinder mode.

Surface Area of a Cylinder Calculator

Total, lateral and base area from radius and height.