Tank Volume Calculator

How we build and test

Choose the tank shape and enter its inside dimensions to get the capacity in US gallons. Add the liquid depth from a dipstick or sight gauge to see the gallons in the tank now, the percent full and the weight of the water.

For a capsule, the overall length including the rounded ends.

Depth of liquid from the bottom of the tank, for example from a dipstick. Leave blank for the full tank only.

Tank capacity

Enter the inside diameter of the tank.

What this calculator does

  • Capacity of vertical, horizontal, capsule and rectangular tanks
  • Gallons at a measured liquid depth, percent full and room left
  • Weight of water, diesel, heating oil, gasoline, propane or milk
  • Cubic feet, liters, imperial gallons and oil barrels
  • Gallons per inch of depth for upright and rectangular tanks

How to use the tank volume calculator

  1. Pick the shape: a cylinder standing upright, a cylinder lying on its side, or a rectangular tank.
  2. For an upright tank, enter the diameter and the height. For a tank on its side, enter the diameter and the length. For a rectangular tank, enter the width, the length and the height.
  3. Use inside dimensions. If you can only measure the outside, subtract twice the wall thickness.
  4. Optional: enter the liquid depth, measured straight down from the surface to the lowest point of the tank.
  5. Read the capacity, the gallons at that depth and the weight.

Formulas

Vertical cylinder: volume = π × r² × height
Liquid in a vertical cylinder = π × r² × depth
Rectangular: volume = width × length × height
Horizontal cylinder, full: volume = π × r² × length
Horizontal cylinder, partly full: A = r² × arccos((r − h) ÷ r) − (r − h) × √(2 × r × h − h²)
Liquid in a horizontal cylinder = A × length
US gallons = cubic feet × 7.48052
Weight of water (lb) = gallons × 8.34

Here r is half the diameter and h is the liquid depth. A is the area of the circular segment that the liquid fills on the end of the tank. Fresh water weighs about 62.4 lb per cubic foot, which is 8.34 lb per gallon. A US gallon is 231 cubic inches, so a cubic foot holds 7.48052 gallons.

Worked example: a 48 in × 72 in upright tank with 18 in of water

  1. Radius: 48 ÷ 2 = 24 in, which is 2 ft. Height: 72 in is 6 ft.
  2. Capacity: π × 2² × 6 = 75.4 ft³, and 75.4 × 7.48052 = 564 gallons (2,135 L).
  3. Liquid at 18 in (1.5 ft): π × 2² × 1.5 = 18.85 ft³, which is 141 gallons, or 25% full.
  4. Weight: 141 × 8.34 = 1,176 lb of water now, and 564 × 8.34 = 4,704 lb when full.
  5. Laid on its side, the same tank still holds 564 gallons, but 18 in of depth is 193.2 gallons, or 34.3% full.

Horizontal tank: percent full by depth

Depth as a share of the diameter Share of capacity
10% 5.2%
20% 14.2%
25% 19.6%
30% 25.2%
40% 37.4%
50% 50.0%
60% 62.6%
70% 74.8%
75% 80.4%
80% 85.8%
90% 94.8%

A tank on its side does not fill evenly. An inch of depth near the middle holds far more than an inch at the bottom or the top, so a dipstick reading of one quarter means less than a fifth of a tank.

Questions

How do I calculate how many gallons my tank holds?

Work out the inside volume in cubic inches and divide by 231, or in cubic feet and multiply by 7.48. A rectangular tank 48 × 24 × 24 in is 27,648 in³, and 27,648 ÷ 231 = 119.7 gallons.

How do I calculate the gallons in a horizontal tank from a dipstick reading?

Choose the horizontal cylinder shape and enter the dipstick depth as the liquid depth. The calculator uses the circular segment formula, because the volume does not rise in step with the depth. At half the diameter the tank is 50% full, but at a quarter of the diameter it is only 19.6% full.

How much does a full tank of water weigh?

Water weighs about 8.34 lb per gallon. A 275 gallon tank holds about 2,294 lb of water and a 500 gallon tank about 4,170 lb, plus the weight of the tank itself. Check that the stand, deck or floor under a tank is rated for that load. Other liquids weigh more or less than water, so ask the supplier.

Does this work for a tank with rounded ends?

The formulas assume flat ends. Dished or domed ends add some volume, so a tank with rounded heads holds a little more than the result. For fuel and propane tanks, the manufacturer’s gauge chart is the figure to rely on.

Sources

  1. NIST Handbook 44 (2026), Appendix C: General Tables of Units of Measurement, National Institute of Standards and Technology.
    Used for: 231 cubic inches per US gallon, 1,728 cubic inches per cubic foot, 1 gallon = 3.785 411 784 liters.
  2. Cylinder, Wolfram MathWorld.
    Used for: the volume of a cylinder, V = π r² h.
  3. Circular Segment, Wolfram MathWorld.
    Used for: the area of a circular segment of height h in a circle of radius R: A = R² arccos((R − h) ÷ R) − (R − h) √(2Rh − h²).
  4. Horizontal Cylindrical Segment, Wolfram MathWorld.
    Used for: the volume of liquid in a cylinder lying on its side: the circular segment area times the length of the tank.
  5. Water Density, Water Science School, U.S. Geological Survey.
    Used for: the density of fresh water by temperature, 62.42 lb per cubic foot at 39.2°F and 62.30 at 70°F, about 62.4 lb. The 8.34 lb per gallon figure is 62.4 divided by 7.48052 gallons per cubic foot.

Related calculators