Tank Volume Calculator: Gallons and Litres in Round, Oval and Box Tanks
Calculate total storage capacity and partial liquid volume for horizontal cylinders, upright silos, cone-bottom hoppers, and rectangular tanks. Includes printable dipstick strapping charts.
Calculate Tank Volume & Liquid Level
- Cylinder barrel: π × r² × L = π × 3² × 12 = 339.292 cu ft
- Filled circular segment area at 2 ft depth: A(h) = 8.2502 sq ft (barrel filled = 99.002 cu ft)
- Converted to US Gallons: 339.292 cu ft × 7.48052 = 2538.1 gal
- Every tank shape & head
- Volume at any depth
- Printable dipstick chart
- Gallons, litres & barrels
100% free · No sign-up · Runs in your browser, nothing is uploaded
How to Use the Tank Volume Calculator
This tank volume and sizing calculator solves storage requirements across three specialized tabs:
- Capacity & Partial Fill (Default): Select your tank geometry (horizontal cylinder, vertical upright silo, rectangular cistern, cone-bottom hopper, or sphere). Enter diameter, length, height, and head style (flat, hemispherical, or 2:1 elliptical). Specify liquid depth from the bottom or ullage air gap from the top.
- Dipstick (Strapping) Chart: Generate a complete incremental calibration table in 1-inch, 2-inch, or 6-inch steps. Copy the data as CSV or print a reference card to attach to your storage tank.
- Tank Sizing: Enter your required storage capacity in gallons and available diameter to determine the exact required tank length or height.
Volume of a Vertical Tank
In an upright vertical cylinder, the cross-sectional area is uniform from bottom to top. Liquid volume scales linearly with depth:
Filled Volume = π × r² × Liquid Depth
To convert cubic feet into US liquid gallons, multiply by 7.48052 (or multiply cubic metres by 1,000 for litres).
Example: An upright agricultural water tank measuring 4 feet in diameter (radius = 2 ft) and 6 feet in height:
- Volume = π × 2² × 6 = 24π ≈ 75.398 cubic feet
- Gallons = 75.398 × 7.48052 ≈ 564.0 US gallons
- If filled to 3 feet (half depth), it holds exactly 564.0 ÷ 2 = 282.0 gallons (50% full).
Volume of a Horizontal Tank: Full and Partly Filled
For a horizontal cylindrical tank, total full capacity equals the circle area times length (π × r² × L). However, calculating liquid at partial depth requires finding the area of a circular segment:
Filled Volume = A(h) × Length
Where:
- r: Tank radius (half of diameter)
- h: Liquid depth from the bottom
- L: Length of the cylindrical shell
Worked Example: Consider a horizontal tank with diameter D = 6 ft (radius r = 3 ft) and length L = 12 ft filled to a depth of h = 2 ft:
- Full Capacity: π × 3² × 12 = 108π ≈ 339.292 cu ft × 7.48052 = 2,538.1 US gallons
- r − h = 3 − 2 = 1 ft
- Segment Area A(2) = 3² × arccos(1 ÷ 3) − 1 × √(2 × 3 × 2 − 2²) = 9 × 1.23096 − √8 = 11.0786 − 2.8284 = 8.2502 sq ft
- Filled Volume: 8.2502 sq ft × 12 ft = 99.0024 cu ft × 7.48052 ≈ 740.6 US gallons
- Percentage Full: 740.6 ÷ 2,538.1 = 29.2% full (even though 2 ft is 33.3% of the 6 ft diameter)
Tanks with Domed or Elliptical Heads
Industrial pressure vessels and transport tankers feature curved dished heads to withstand internal pressure:
- Hemispherical Heads: Both heads together form a full sphere of radius r. Total head volume equals (4/3) × π × r³. Partial fill in both heads equals the volume of a spherical cap: V = (π × h² × (3r − h)) ÷ 3.
- 2:1 Semi-Elliptical Heads: The head depth equals one-fourth of the diameter (r ÷ 2). Both heads together hold half the volume of a sphere: (2/3) × π × r³.
Rectangular, Spherical and Cone-Bottom Tanks
Our calculator also handles non-cylindrical configurations:
- Rectangular Cisterns: Volume = Length × Width × Depth. Liquid volume is perfectly proportional to depth.
- Spherical Globes: Total capacity = (4/3) × π × r³. Partial fill at depth h follows the spherical cap formula: V = (π × h² × (3r − h)) ÷ 3.
- Cone-Bottom Tanks: Common in brewing, grain storage, and wastewater clarifiers. The conical bottom drains completely via gravity. Volume equals the sum of the conical hopper ((1/3) × π × r² × H_cone) and the upper cylindrical barrel.
Making and Reading a Dipstick Chart
Because horizontal tanks curve inward toward the top and bottom, dipping a measuring stick into the tank does not produce a linear reading. One inch of liquid near the center line (depth = 3 ft in a 6 ft tank) contains substantially more gallons than one inch at the bottom.
Using the “Dipstick Chart” tab, you can generate a custom strapping table for any tank geometry to print or laminate for maintenance personnel.
Tank Volume in Gallons, Litres, and Barrels
Industrial, agricultural, and residential tanks are measured across different regional volume units. One cubic foot equals 7.48052 US gallons, while 1 US gallon equals 3.7854 litres and 1 UK Imperial gallon equals 4.54609 litres. One standard US oil barrel holds exactly 42 US gallons (158.99 litres).
For residential propane, heating oil, or custom storage vessels, check the manufacturer specification plate and enter your tank's exact dimensions into the calculator above.
What Size Tank Do I Need?
When planning an installation, size the tank by working backward from required storage volume:
For additional volume conversions between gallons, cubic feet, and cubic yards, explore our Gallons to Cubic Feet Converter, Pipe Volume Calculator, Cubic Yard Calculator, and universal Metric Conversion Calculator.
Frequently Asked Questions
For a vertical or full cylindrical tank, calculate volume in cubic feet using V = π × radius² × length (or height), then multiply by 7.48052 (the number of US gallons in one cubic foot). For example, a 4 ft diameter cylinder (radius = 2 ft) that is 6 ft tall has a volume of π × 4 × 6 = 75.398 cu ft, which equals 564.0 US gallons.
In a horizontal cylinder, partial fill does not scale linearly because the tank curves. Liquid volume equals the circular cross-sectional segment area times the cylinder length: V = [r² × arccos((r − h) ÷ r) − (r − h) × √(2rh − h²)] × L. For example, a 6 × 12 ft horizontal tank (2,538.1 gal full) filled to a 2 ft depth holds 740.6 gallons (29.2% full).
A dipstick chart (or strapping table) maps the vertical liquid depth in inches directly to gallons. Use our “Dipstick Chart” tab to generate a custom 1-inch or 2-inch increment table for your exact tank dimensions, which can be printed and mounted directly beside the tank gauge.
Standard dished heads add volume beyond the straight cylinder shell. Hemispherical heads at both ends add the volume of one complete sphere: (4/3) × π × r³. 2:1 semi-elliptical heads (head depth = diameter ÷ 4) have half the depth of hemispherical heads and add (2/3) × π × r³ to total capacity.
A cone-bottom tank combines an upper cylinder with a lower conical hopper. Total capacity is (π × r² × H_cylinder) + ((1/3) × π × r² × H_cone). If liquid depth is below the cone height, calculate volume using the cone formula with proportional radius rh = r × (depth ÷ H_cone). If depth exceeds cone height, add the full cone volume to the filled portion of the cylinder.
In upright vertical tanks and rectangular cisterns, a half-height gauge is exactly half the gallons. In horizontal cylindrical tanks, however, the cross-section is widest in the middle. For flat ends, at 25% of the depth the tank holds about 19.6% of its capacity, and at 50% depth it holds exactly 50%.
To size a tank, divide your target volume in US gallons by 7.48052 to find required cubic feet. Choose a practical diameter (e.g., 4 ft or 6 ft), determine the cross-sectional area (π × r²), and divide required cubic feet by area to get required cylinder length: Length = Target cu ft ÷ (π × r²).
One cubic foot contains 1,728 ÷ 231 = 7.48052 US liquid gallons (or 6.22883 Imperial gallons and 28.31685 litres). To convert between cubic measurements and liquid volume, use our Gallons to Cubic Feet Converter.
Liquid weight equals filled gallons multiplied by density. Fresh water is about 8.34 lb per US gallon. For any other liquid, choose “Other liquid” and enter its density from the product’s safety data sheet or your supplier, because fuels and oils vary by grade and temperature.
Ullage (also called outage) is the empty air space between the top of the liquid surface and the top interior of the tank. Ullage equals the full height of the tank (the diameter for a horizontal tank) minus the liquid depth, so you can measure from the top instead of the bottom.
How This Calculator Works: Formula, Defaults & Sources
Formula
- Cylinder total volume: V = π × r² × L; 1 cu ft = 7.48052 US gal = 28.31685 litres
- Horizontal cylinder partial fill: A(h) = r²·arccos((r − h) ÷ r) − (r − h)·√(2rh − h²); V = A(h) × L
- Hemispherical heads (both ends): full = (4/3)πr³; partial = πh²(3r − h) ÷ 3 (spherical cap)
- 2:1 semi-elliptical heads (approximation): full = (2/3)πr³; partial = 0.5 × spherical cap volume
- Cone bottom hopper: V_cone = (1/3)πr²H_cone; partial in cone: V = (1/3)π(r·h/H_cone)²h
- Tank sizing: Required Length = (Target Gallons ÷ 7.48052) ÷ (π × r²)
Default values (you can change them)
- Horizontal baseline: 6 × 12 ft flat-end cylinder holds 2,538.1 US gal; at 2 ft depth holds 740.6 gal (29.2% full)
- Vertical cylinder baseline: 4 × 6 ft upright cylinder holds 564.0 US gal
- Horizontal 10 ft tank: 10 ft diameter filled to 3 ft depth is exactly 25.2% full
Sources
- Plane and solid geometry — circular segment area r²·acos((r − h)/r) − (r − h)·√(2rh − h²); spherical cap πh²(3r − h)/3; cone (1/3)πr²h
- 2:1 semi-elliptical heads — modelled as half-depth hemispheres (head depth = D/4); an approximation, so check your tank maker’s drawing
Results are planning estimates, not engineering advice. Confirm quantities with your supplier and follow your plans and local building code. Last updated: November 25, 2026. Spotted a wrong number? Email us or use the contact page.