Knowing how much a tank holds, and how much is in it now, matters for heating oil, propane, water storage, fuel and chemicals. A vertical tank is a simple cylinder, but a horizontal tank is harder: the volume does not rise in proportion to the depth of liquid. This tank volume calculator computes the capacity of vertical and horizontal cylindrical tanks and rectangular tanks, and uses the liquid depth from a dipstick to find the volume and the percent full.
How to use the tank volume calculator
- Select the tank shape: vertical cylinder, horizontal cylinder or rectangular box.
- Enter the diameter (or width) and the height or length, in any units.
- Enter the liquid depth measured from the bottom, or leave it at 0 to see the full capacity.
- Read the capacity, the liquid volume in gallons and liters and the percent full.
Tank volume formulas
Rectangular: V = length × width × height
Horizontal cylinder, liquid depth h: A = r² × arccos((r − h) ÷ r) − (r − h) × √(2rh − h²), V = A × length
US gallons = cubic feet × 7.4805
In the horizontal tank the liquid forms a circular segment. At h = r (half the diameter) the formula gives exactly half the circle, and at h = 2r it gives the full circle.
Worked examples
- Vertical tank, 4 ft across and 6 ft tall: π × 2² × 6 = 75.4 cu ft = 564 gallons full; at a depth of 3 ft it holds 282 gallons (50%).
- Horizontal tank, 4 ft across and 10 ft long: capacity 940 gallons. With the liquid 1 ft deep: segment area 2.46 sq ft × 10 ft = 24.6 cu ft = 184 gallons, only 19.6% of capacity although the depth is 25% of the diameter.
Percent full by depth for a horizontal tank
| Liquid depth | Percent of volume | Gallons (4 ft × 10 ft tank) |
|---|---|---|
| 10% of the diameter | 5.2% | 49 |
| 25% of the diameter | 19.6% | 184 |
| 50% of the diameter | 50.0% | 470 |
| 75% of the diameter | 80.4% | 756 |
| 90% of the diameter | 94.8% | 891 |
Measuring a tank
- Use inside dimensions. Outside measurements overstate capacity by the wall thickness.
- Dipstick or gauge. A stick marked in inches works for open or fuel tanks. Propane tanks use a float gauge showing percent, normally filled to 80% only.
- Ends. Domed or conical heads add volume; the nameplate shows the true capacity.
- Level. A tilted tank skews the reading; check the tank is level.
Related capacities
For a full cylinder in other units see the Cylinder Cubic Footage Calculator; for pipe, the Pipe Volume Calculator; for pools, the Pool Volume Calculator; and for fish tanks, the Aquarium Tank Volume Calculator. The weight of the contents is covered by the Water Weight Calculator.
Frequently asked questions
How do I calculate the gallons in a tank?
Find the volume in cubic feet and multiply by 7.4805. For a vertical cylinder the volume is π × r² × height; for a rectangular tank, length × width × height. A 4 ft diameter, 6 ft tall cylinder holds 75.4 cubic feet, or 564 gallons.
How do I calculate a horizontal tank that is partly full?
The cross-section is a circular segment. Its area is r² × arccos((r − h) ÷ r) − (r − h) × √(2rh − h²), with r the radius and h the liquid depth. Multiply by the tank length. The calculator does this.
Why is 25% of the depth not 25% of the volume?
In a horizontal cylinder the liquid is shallow and wide near the bottom and narrower near the top, so the volume does not rise in proportion to the depth. A tank filled to a quarter of its diameter is only about 19.6% full.
Does the calculator include the domed ends?
No. Many tanks, including propane tanks, have domed or conical heads, which add volume. Check the nameplate for the manufacturer’s capacity.
How much does the liquid weigh?
Water weighs 8.345 pounds per gallon. Other liquids differ: fuel oil about 7.2 lb, gasoline about 6.1 lb. Multiply the gallons by the weight per gallon.