Tank Volume Calculator: gallons in a tank at any level

How it's calculated. Total = π r² L; filled (lying) = r²/2 × (θ − sin θ) × L with θ = 2 arccos((r − h)/r); 1 gal = 231 in³.
Lying tank 48 in × 10 ft: 940 gal total, 470 gal at half depth, 184 gal at a quarter
01

Tank

02

Size and level

in
ftin
%
Tank capacity
940gal · 470 gal filled
Horizontal cylinder · Ø 4' 0" × 10' 0" · 50 %
Total940 gal · 125.7 ft³
Filled470 gal · 50 %
Empty space470 gal
Liquid depth2' 0"
Weight of water when filled3,922 lb
A lying tank is not linear: at half its diameter it is half full, at a quarter only 20 %

Tank section and level

Horizontal cylinder · Ø 4' 0" × 10' 0" · 50 %
50 % · 470 galHorizontal cylinder · Ø 4' 0" × 10' 0" · 50 %DELIMETRA · FT-IN
L × r²/2 × (θ − sin θ)Filled (lying)940 galTotal470 galFilled470 galEmpty space
How we calculate

Total volume: a cylinder π r² L, a box L × W × H, a sphere 4/3 π r³.

Filled volume: a standing cylinder and a box fill in proportion to the depth. A lying cylinder holds a circle segment of the liquid along its length: with θ = 2 arccos((r − h)/r), the area is r²/2 × (θ − sin θ). A sphere holds a spherical cap π h²/3 × (3r − h).

1 US gallon = 231 in³ = 3.785 L; water weighs 8.34 lb per gallon.

Capacity
940gal

A horizontal tank 48 inches across and 10 feet long holds 940 US gallons when full. At half its depth it holds exactly half, 470 gallons — but at a quarter of its depth only 184 gallons, 20 %, because a lying cylinder is narrow at the bottom. The calculator above finds the total and filled volume of horizontal and vertical cylinders, rectangular tanks and spheres at any liquid level.

How the calculator works

Choose the tank type, enter its size and the fill level as a share of its height (its diameter for a lying tank). The result is the capacity, the liquid in it, the empty space and the weight of the water; the drawing shows the section with the level.

Lying tanks

The liquid in a horizontal cylinder is a circle segment along the tank's length. With the radius r and the liquid depth h, θ = 2 arccos((r − h) ÷ r) and the segment area is r²/2 × (θ − sin θ); times the length it gives the volume. This is what tank charts tabulate.

Depth, share of diameterShare of volume
10 %5.2 %
25 %19.6 %
50 %50 %
75 %80.4 %
90 %94.8 %

Other tanks

A standing cylinder and a rectangular tank fill in proportion to depth. A sphere holds a spherical cap: π h² ÷ 3 × (3r − h).

Common mistakes

For a simple cylinder, use the Cylinder Volume Calculator; for a pool, the Pool Volume Calculator.

Questions

How do I calculate the gallons in a horizontal tank?

Total = π r² L; at a liquid depth h the liquid is a circle segment: r²/2 × (θ − sin θ) × L with θ = 2 arccos((r − h)/r). A 48 in × 10 ft tank holds 940 gallons, 470 at half depth.

Why is a lying tank not linear?

It is narrow at the bottom: at a quarter of its diameter a horizontal tank is only about 20 % full, not 25 %.

How do I measure the level in a tank?

Dip a stick to the bottom, read the wet depth, and enter it as a share of the diameter (or of the height for a standing tank).

How many gallons in a rectangular tank?

Length × width × height in inches ÷ 231, or in feet × 7.48.

How many gallons in a cubic foot?

7.48 US gallons; a gallon is 231 cubic inches.

How much does a full tank of water weigh?

8.34 lb per gallon plus the tank: 940 gallons of water is 7,840 lb.

Related calculators