Skip to content
Omnikalc

Tank volume calculator: capacity and liquid level in gallons

Calculate the capacity of a vertical or horizontal cylinder or a rectangular tank, and how many gallons are left at a given liquid level.

Updated on
Your inputs
Tank shape

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Results

Liquid in the tank

494 gal

Total capacity

752 gal

Tank fill level
65.7%
Normal level
Room left
258 gal
Liquid in liters
1,872 L
Capacity in cubic feet
100.5 cu ft
Weight if filled with water
4,124 lb

Gallons by liquid level

Liquid in the tankTank fill level
6 in current547.2%
12 in current14719.6%
24 in current37650.0%
36 in current60580.4%
42 in current69892.8%

Reading a tank

Heating oil, propane, water and rainwater tanks are usually measured with a stick or a gauge, which gives a height, not a volume. For a vertical tank, the volume is proportional to the height. For a horizontal cylinder, it is not: the tank is widest in the middle. This calculator converts a liquid level into gallons for vertical cylinders, horizontal cylinders and rectangular tanks.

The formulas

  1. Vertical cylinder: volume = 3.14 × r² × height, and the liquid is 3.14 × r² × level.
  2. Rectangular tank: volume = length × width × height, and the liquid is length × width × level.
  3. Horizontal cylinder: the liquid fills a circular segment. Its area is r² × θ − (r − h) × √(2rh − h²), where θ = arccos((r − h) ÷ r) in radians and h is the level. Multiply by the tank length.
  4. Gallons = cubic inches ÷ 231.

Worked example: a horizontal tank

The tank is 48 in in diameter and 96 in long. A stick shows 30 in of liquid.

  1. Full capacity: 3.14 × 24² × 96 = 173,718 cu in, or 752 gallons.
  2. Segment at 30 in: θ = arccos(−6 ÷ 24) = 1.82 radians, area = 576 × 1.82 + 6 × 23.2 = 1,190 sq in.
  3. Liquid: 1,190 × 96 ÷ 231 = 494 gallons, or 65.7% full.
  4. Room left: 258 gallons.

Gallons by liquid level (same tank)

Level Gallons Fill
6 in 54 7.2%
12 in 147 19.6%
24 in 376 50.0%
36 in 605 80.4%
42 in 698 92.8%

Near the bottom and top of a horizontal tank, each inch holds little liquid. Around the middle, each inch holds the most: between 24 and 36 in, the tank gains 229 gallons.

Measuring correctly

  • Diameter: measure the outside circumference with a tape and divide by 3.14, then subtract twice the wall thickness for the inside diameter if it is significant.
  • Level: lower a clean stick straight down to the bottom through the fill opening, and read the wet mark. For oil, a paste that changes color on contact with water also shows any water at the bottom.
  • Length: for a tank with domed ends, the calculator treats them as flat. Use the straight length plus about two thirds of the depth of each dome for a closer estimate.

Tank shapes it does not cover

Common 275 and 330 gallon indoor oil tanks are oval (obround), not round, so their readings follow a different curve: use the manufacturer’s tank chart. Spheres and tanks with cone bottoms also need their own formulas.

Safe filling

Propane tanks are filled to about 80% and heating oil tanks to about 90% of capacity, to leave room for expansion. Water weighs about 8.34 lb per gallon, so a full 752 gallon tank of water weighs over 3 tons: check that the base or floor can carry it.

Frequently asked questions

How do I calculate the gallons in a horizontal tank?

The liquid fills a circular segment: its area, times the tank length, gives the volume. A 48 in diameter tank, 96 in long, holds about 752 gallons when full and 494 gallons with 30 in of liquid.

Why is half the height not always half the volume?

In a horizontal cylinder, the tank is widest in the middle, so each inch near the center holds more than an inch near the bottom or top. At exactly half the height it is half full, but 25% of the height is only about 20% of the volume.

How many gallons is a 275 gallon oil tank at a given level?

Oval oil tanks are not cylinders, so use the chart from the tank maker for exact readings. This calculator suits round horizontal and vertical tanks, and rectangular totes.

How many cubic inches are in a gallon?

231 cubic inches make one US gallon, and 7.48 gallons fill one cubic foot. A gallon of water weighs about 8.34 lb.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.