Calculators.Life Calculator
Engineering

Tank Volume and Fill Calculator

Input Parameters

Scenarios
Length of horizontal cylinder, height of vertical cylinder, or length of rectangular tank
Diameter of cylinder, or width of rectangular tank
Total height of the rectangular tank
Filled liquid level or percent fill

Computed Results

Total Capacity (US Gallons)
94
Filled Volume (US Gallons)47
Total Capacity (Liters)355.84
Filled Volume (Liters)177.92
Fill Percentage (%)50%
Total Capacity (Cubic Feet)12.57
Filled Volume (Cubic Feet)6.28

The tank volume and fill calculator determines the total capacity and current liquid volume of a storage tank based on its dimensions and fill level. By acting as a volume of tank formula calculator, this tool helps you quickly estimate capacities for horizontal cylinders, vertical cylinders, and rectangular tanks in gallons, liters, and cubic feet.

Verified Tank Volume Scenarios

The following examples demonstrate how the calculator determines total capacity and filled volume across different tank shapes and dimensions.

Default: Standard Horizontal Cylinder

For a horizontal cylinder with a length of 48 inches, a diameter of 24 inches, and a filled depth of 12 inches, the total capacity is 94 US gallons. Because the tank is filled exactly halfway, the filled volume is 47 US gallons (a 50% fill percentage).

Small Vertical Water Tank

Consider a vertical cylinder with a height (length) of 1.5 meters, a diameter of 80 centimeters, and a filled depth of 75 centimeters. The total capacity is 199.18 US gallons (753.98 liters). With the liquid level at 75 centimeters, the filled volume is 99.59 US gallons (376.99 liters).

Large Horizontal Industrial Fuel Tank

For a large horizontal cylinder measuring 20 feet in length and 8 feet in diameter, with a fill depth of 4 feet, the total capacity is 7,520.24 US gallons. The filled volume is 3,760.12 US gallons, representing exactly 50% of the tank's capacity.

Rectangular Storage Box (Percentage Fill)

If you have a rectangular tank measuring 10 yards long, 5 yards wide, and 4 yards high, and it is filled to 25% of its capacity, the total volume is 40,394.81 US gallons. The filled volume is 10,098.70 US gallons.

Metric Rectangular Tank

For a rectangular tank with a length of 2,000 millimeters, a width (diameter input) of 1,000 millimeters, and a height of 1,500 millimeters, filled to a depth of 1,000 millimeters, the total capacity is 792.52 US gallons (3,000 liters). The filled volume is 528.34 US gallons (2,000 liters), which is a 66.67% fill percentage.

Volume of Tank Formulas

The calculator uses standard geometric formulas to determine the total volume of the tank, then applies specific logic based on the tank's orientation to calculate the filled volume. All internal calculations are performed in cubic meters before converting to gallons, liters, and cubic feet.

Vertical Cylinders

For a vertical cylinder, the total volume is calculated using the area of the circular base multiplied by the height (length):

Total Volume = π × r² × L

The filled volume simply replaces the total height with the filled depth (f):

Filled Volume = π × r² × f

Horizontal Cylinders

Calculating the total volume of a horizontal cylinder uses the same base formula as a vertical cylinder. However, calculating the filled volume is more complex because the cross-sectional area of the liquid forms a circular segment. The calculator determines the angle (θ) of this segment and calculates the area before multiplying by the tank's length:

θ = 2 × arccos((r − f) ÷ r)
Segment Area = 0.5 × r² × (θ − sin(θ))
Filled Volume = Segment Area × L

Rectangular Tanks

For rectangular tanks, the total volume is the product of its three dimensions:

Total Volume = Length × Width × Height

The filled volume replaces the total height with the filled depth:

Filled Volume = Length × Width × f

How to Use the Calculator

Follow these steps to calculate your tank's capacity and current fill volume:

  1. Select Tank Orientation / Shape: Choose between a horizontal cylinder, vertical cylinder, or rectangular tank.
  2. Enter Dimensions: Input the length (or height for vertical cylinders) and diameter (or width for rectangular tanks). If you selected a rectangular tank, also enter the total height.
  3. Select Units: Choose the appropriate unit of measurement (inches, feet, yards, millimeters, centimeters, or meters) for each dimension.
  4. Enter Filled Depth: Input the current liquid level. You can enter this as a specific measurement or select "percent" from the unit dropdown to calculate based on a percentage of the total height or diameter.
  5. Review Results: The calculator will display the total capacity and filled volume in US gallons, liters, and cubic feet, along with the fill percentage.

Inputs and Outputs Reference

The table below outlines the data used and generated by the calculator.

CategoryField NameDescription
InputTank Orientation / ShapeThe geometric shape and physical orientation of the tank.
InputLength (or Width)The length of a horizontal cylinder, height of a vertical cylinder, or length of a rectangular tank.
InputDiameter (or Height/Width for Box)The diameter of a cylinder or the width of a rectangular tank.
InputHeight (Rectangular Only)The total height of a rectangular tank (ignored for cylinders).
InputFilled Depth (f)The current liquid level, measured from the bottom of the tank.
OutputTotal CapacityThe maximum volume the tank can hold, provided in US Gallons, Liters, and Cubic Feet.
OutputFilled VolumeThe volume of liquid currently in the tank, provided in US Gallons, Liters, and Cubic Feet.
OutputFill Percentage (%)The ratio of the filled volume to the total capacity, expressed as a percentage.

Practical Use Cases

Calculating tank volume is necessary across various industries and applications. Facility managers use these calculations to monitor fuel reserves in horizontal cylindrical storage tanks. Homeowners and agricultural workers use them to track water levels in vertical cylindrical cisterns or rectangular collection bins. By converting physical depth measurements into standard volume units like gallons or liters, operators can accurately manage inventory, plan for deliveries, and prevent overfilling.

Frequently Asked Questions

Can I calculate the filled volume using a percentage instead of a depth measurement?

Yes. You can enter a number in the Filled Depth field and select 'percent' from the unit dropdown. The calculator will automatically determine the filled volume based on that percentage of the tank's total capacity.

Why is calculating the filled volume of a horizontal cylinder more complicated?

In a vertical cylinder or rectangular tank, the volume increases linearly with the depth of the liquid. In a horizontal cylinder, the width of the liquid surface changes as the tank fills, meaning the volume does not increase at a constant rate relative to the depth. The calculator uses circular segment geometry to account for this curve.

What units of measurement does the calculator support?

The calculator supports inches, feet, yards, millimeters, centimeters, and meters for input dimensions. It outputs the resulting volumes in US gallons, liters, and cubic feet.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.