Tank Volume Calculator

Need to know how much a tank holds? Whether you're working with a cylindrical water tank, a rectangular storage container, or an oddly shaped vessel, figuring out the volume doesn't have to be a headache. This calculator does the math for you. Just plug in your tank's dimensions, pick the shape, and you'll get the total capacity in gallons, liters, cubic feet, or cubic meters. Below, you'll also find the formulas behind the calculations, conversion charts, and real-world examples to make sense of the numbers.

Enter Details

All dimensions in inches.

Result

Choose a shape and enter dimensions.

Gallons are US liquid gallons. Results are the full (100%) tank capacity.

How to Use the Tank Volume Calculator

Using the calculator is straightforward. Here's the general process:

  1. Select your tank shape from the dropdown (cylinder, rectangle, oval, cone, etc.).
  2. Enter the required dimensions. For a cylinder, that's the diameter and height. For a rectangle, it's length, width, and height. Other shapes may ask for a radius or additional measurements.
  3. Choose your preferred unit of measurement (inches, feet, centimeters, or meters).
  4. Hit Calculate and the result appears instantly in multiple units.

If you're calculating a partial fill rather than the full tank, look for the fill depth or liquid height field and enter how full the tank currently is. The calculator handles the rest.

One thing worth double-checking: make sure all your measurements are in the same unit before entering them. Mixing inches and feet is one of the most common mistakes people make, and it'll throw off your result completely.

Tank Volume Formula

Every tank shape has its own formula. The math looks different depending on the geometry, but the concept is always the same: you're solving for the three-dimensional space inside the container.

Here are the core formulas for the most common shapes:

  • Cylinder: V = π × r² × h (where r is the radius and h is the height or length)
  • Rectangular (box): V = l × w × h
  • Horizontal cylinder: Uses integration or a lookup table based on fill depth relative to diameter
  • Oval / elliptical: V = π × a × b × h (a and b are the semi-axes of the ellipse)
  • Cone: V = (1/3) × π × r² × h
  • Sphere: V = (4/3) × π × r³
  • Capsule (cylinder with hemispherical ends): V = π × r² × (h + 4r/3)

These formulas give you volume in cubic units. To convert to gallons or liters, you apply a unit conversion factor after the fact. For example, one cubic foot equals about 7.48 US gallons, and one cubic meter equals 1,000 liters.

Calculate Volume for Different Tank Shapes

Not all tanks are created equal. A cylindrical propane tank behaves very differently from a rectangular aquarium or a conical industrial hopper, so it helps to know which formula applies to your specific setup.

Cylindrical tanks are the most common. They show up as water heaters, propane tanks, above-ground fuel storage, and more. For a vertical cylinder, you measure the diameter across the top and the total height. For a horizontal cylinder (think a tank on its side), the math gets a bit trickier because the fill level cuts across circular cross-sections.

Rectangular tanks are the easiest to calculate. Length times width times height. That covers fish tanks, rectangular IBC totes, and most above-ground storage boxes.

Oval or elliptical tanks are common in agricultural and fuel transport applications. They're essentially cylinders with an oval cross-section, so the formula swaps out the circular area for an elliptical one.

Conical and hopper-bottom tanks are used in grain storage and industrial processing. You calculate the cylindrical portion and the conical portion separately, then add them together.

Spherical tanks appear in high-pressure gas storage. The formula is clean but the shape itself is less forgiving in terms of measurement accuracy, so take your time getting the radius right.

Partial Fill Tank Volume Calculator

Full tank capacity is useful, but in practice you often need to know how much liquid is actually in a tank at a given moment. That's where partial fill calculations come in.

For a rectangular tank, this is simple. Just use the actual liquid height instead of the full tank height in your formula. If a 10-foot-tall rectangular tank is filled to 6 feet, you calculate volume at 6 feet.

For a vertical cylinder, same deal. Substitute the liquid depth for the full height and the formula still works cleanly.

For a horizontal cylinder, it gets more complex. The liquid surface cuts across a circular cross-section at an angle, so you can't just use a simple ratio. The formula involves an arc-cosine calculation:

V = L × [r² × arccos((r - h) / r) - (r - h) × √(2rh - h²)]

Where L is the tank length, r is the radius, and h is the current fill depth. Most people skip the manual math here and let the calculator handle it, which is completely reasonable.

A practical tip: if you're using a dipstick to measure fill level, measure from the bottom of the tank to the liquid surface. That's your fill depth (h). Don't measure from the top down.

Tank Capacity Conversion Chart

Once you have your volume in cubic units, you'll probably want to convert it to something more practical. Here's a quick reference chart for common conversions:

UnitUS GallonsLitersCubic FeetCubic Meters
1 US Gallon13.7850.13370.003785
1 Liter0.264210.035310.001
1 Cubic Foot7.48128.31710.02832
1 Cubic Meter264.171,00035.3151
1 Cubic Inch0.0043290.016390.0005790.0000164

Keep this chart handy if you're working across different measurement systems. It's especially useful when comparing tank specs from manufacturers who list capacity in liters versus distributors who quote in gallons.

Convert Gallons, Liters, Cubic Feet, and Cubic Meters

Unit conversion trips people up more than the actual volume formula does. Here's a plain-language breakdown of the most useful conversions:

  • Gallons to liters: multiply gallons by 3.785. A 50-gallon tank holds about 189 liters.
  • Liters to gallons: multiply liters by 0.2642. A 200-liter drum is roughly 52.8 gallons.
  • Cubic feet to gallons: multiply by 7.481. A tank measuring 4 × 2 × 2 feet (16 cubic feet) holds about 119.7 gallons.
  • Gallons to cubic feet: multiply by 0.1337. A 100-gallon tank takes up about 13.4 cubic feet.
  • Cubic meters to liters: multiply by 1,000. Always. One cubic meter is exactly 1,000 liters.
  • Cubic meters to gallons: multiply by 264.17. A 2 cubic meter tank holds about 528 gallons.

One thing to watch: US gallons and UK (imperial) gallons are not the same. A US gallon is 3.785 liters; a UK gallon is 4.546 liters. If you're buying a tank manufactured in the UK or Canada, double-check which gallon standard the specs are using.

Common Tank Volume Calculation Examples

Sometimes a concrete example makes the formula click. Here are a few scenarios that come up regularly:

Example 1: Cylindrical water tank (vertical)
Diameter: 4 feet, Height: 6 feet
Radius = 2 feet
V = π × 2² × 6 = 75.4 cubic feet
75.4 × 7.481 = 564 gallons

Example 2: Rectangular stock tank
Length: 8 feet, Width: 2 feet, Height: 2 feet
V = 8 × 2 × 2 = 32 cubic feet
32 × 7.481 = 239.4 gallons

Example 3: Horizontal propane cylinder
Diameter: 2 feet, Length: 5 feet (fully filled)
Radius = 1 foot
V = π × 1² × 5 = 15.71 cubic feet
15.71 × 7.481 = 117.5 gallons

Example 4: Small aquarium (rectangular)
Length: 48 inches, Width: 13 inches, Height: 21 inches
V = 48 × 13 × 21 = 13,104 cubic inches
13,104 × 0.004329 = 56.7 gallons

Notice how the aquarium example used cubic inches as the intermediate step since the measurements were already in inches. That's often the cleanest approach when dimensions aren't in feet.

Applications of Tank Volume Calculations

Tank volume calculations show up in a surprisingly wide range of situations. Some are everyday, some are industrial, and a few are specialized enough that getting the numbers wrong has real consequences.

  • Home water storage: Sizing a rainwater collection tank or a backup water supply requires knowing exactly how much you can store relative to your daily usage.
  • Agriculture: Farmers calculate tank volumes for irrigation reservoirs, chemical mixing tanks, and livestock watering systems. Overestimating or underestimating capacity can affect crop yield or animal health.
  • Fuel storage: Residential and commercial fuel oil tanks need accurate volume data for delivery scheduling and cost calculations. Partial fill calculations are especially important here.
  • Aquariums and fish farming: Both hobbyists and commercial aquaculture operations need precise volume data to calculate stocking density, chemical dosing, and filtration requirements.
  • Septic and wastewater systems: Septic tank sizing is based on household occupancy and tank volume. Getting this wrong creates costly and unpleasant problems.
  • HVAC and plumbing: Expansion tanks, pressure tanks, and hot water heaters all require volume calculations for proper sizing and pressure settings.
  • Chemical and industrial processing: Mixing ratios, reaction times, and safety containment all depend on knowing exact tank capacities.

Across all of these uses, the underlying math is the same. The stakes just vary. Whether you're filling a backyard fish pond or sizing an industrial chemical storage system, accurate volume calculation is the starting point for everything else.

Other Other Calculators

Explore all