Skip to content
FiftyCalc Free calculators for all 50 states

Tank Volume Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Find how many gallons a tank holds and how much is in it at a given liquid depth.

Result

Sample figures

Tank capacity (US gallons)—

Liquid in the tank (US gallons) —

  • Percent full—
  • Tank capacity (liters)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Tank Volume Calculator

Tank shape

Tank shape: choose Vertical cylinder, Horizontal cylinder or Rectangular. Prefilled example: Vertical cylinder.

Diameter (inches), cylinders: enter 0 or more. Prefilled example: 48.

Length (inches): height of a vertical tank, length of a horizontal or rectangular tank: enter 0 or more. Prefilled example: 60.

Liquid depth, in in: enter 0 or more. Prefilled example: 30.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Tank shape: choose Vertical cylinder, Horizontal cylinder or Rectangular.
  2. Diameter (inches), cylinders: enter 0 or more.
  3. Length (inches): height of a vertical tank, length of a horizontal or rectangular tank: enter 0 or more.
  4. Width (inches), rectangular tank: enter 0 or more.
  5. Height (inches), rectangular tank: enter 0 or more.
  6. Liquid depth, in in: enter 0 or more.
  7. Read the result: Tank capacity (US gallons); the panel also shows Liquid in the tank (US gallons), Percent full and Tank capacity (liters).

How this calculator works

Cylinder volume = π × r² × length; rectangular = length × width × height. One US gallon is 231 cubic inches (3.785411784 L).

A horizontal cylinder filled to depth h holds a circular segment times the length: [r² × arccos((r − h) ÷ r) − (r − h) × √(2rh − h²)] × length.

Dished or rounded ends add volume that this flat-end calculation does not count.

The formula

  1. T={len×w×hif s=3π×(d÷2)2×lenotherwise231
Symbols used in the formula
SymbolMeaningUnit
sTank shape (1: Vertical cylinder; 2: Horizontal cylinder; 3: Rectangular)
dDiameter (inches), cylinders
lenLength (inches): height of a vertical tank, length of a horizontal or rectangular tank
wWidth (inches), rectangular tank
hHeight (inches), rectangular tank
TTank capacityUS gallons

Worked example

Tank shapeVertical cylinder
Diameter (inches), cylinders48
Length (inches): height of a vertical tank, length of a horizontal or rectangular tank60
Liquid depth30 in
Liquid in the tank (US gallons)235.0075
Percent full50%
Tank capacity (liters)1,779.1999
  1. T=3.14159×(48÷2)2×60231=470.015

Tank capacity (US gallons) 470.0149

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

How many gallons are in a 48 by 60 inch round tank?

About 470 US gallons: π × 24² × 60 = 108,573 in³, divided by 231.

Why is a half-full horizontal tank exactly half its volume?

At half the diameter the liquid fills half the circle. Above or below that point the gallons per inch change, which is why depth charts are not linear.

Questions answered

Related calculators