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
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Tank shape: choose Vertical cylinder, Horizontal cylinder or Rectangular.
- Diameter (inches), cylinders: enter 0 or more.
- Length (inches): height of a vertical tank, length of a horizontal or rectangular tank: enter 0 or more.
- Width (inches), rectangular tank: enter 0 or more.
- Height (inches), rectangular tank: enter 0 or more.
- Liquid depth, in in: enter 0 or more.
- 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
| Symbol | Meaning | Unit |
|---|---|---|
| Tank shape (1: Vertical cylinder; 2: Horizontal cylinder; 3: Rectangular) | ||
| Diameter (inches), cylinders | ||
| Length (inches): height of a vertical tank, length of a horizontal or rectangular tank | ||
| Width (inches), rectangular tank | ||
| Height (inches), rectangular tank | ||
| Tank capacity | US gallons |
Worked example
| Tank shape | Vertical cylinder |
|---|---|
| Diameter (inches), cylinders | 48 |
| Length (inches): height of a vertical tank, length of a horizontal or rectangular tank | 60 |
| Liquid depth | 30 in |
| Liquid in the tank (US gallons) | 235.0075 |
|---|---|
| Percent full | 50% |
| Tank capacity (liters) | 1,779.1999 |
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.