Calculators.Life Calculator
Engineering

Tank Size and Volume Calculator

Input Parameters

Scenarios
Length of cylinder or rectangular tank
Diameter of cylinder, or width of rectangular tank
Height (only used if Rectangular Prism is chosen)
Liquid level inside the tank

Computed Results

Total Capacity (US Gallons)
317.26
Filled Volume (US Gallons)158.63
Total Capacity (Liters)1,200.96
Filled Volume (Liters)600.48
Liquid Fill Percentage50%

The tank size calculator determines the total capacity and current filled volume of horizontal cylinders, vertical cylinders, and rectangular tanks. By entering your tank's dimensions and liquid level, you can quickly estimate the total US gallons, liters, and overall fill percentage.

Verified Calculation Scenarios

To illustrate how the calculator processes different tank shapes and fill levels, here are two verified examples based on standard dimensions.

Small Vertical Cylinder Water Tank

Consider a vertical cylindrical tank with a length (height) of 1.5 meters and a diameter of 1.0 meter. If the tank is filled to 75% of its capacity, the calculator determines:

Large Rectangular Industrial Storage Tank

For a rectangular tank measuring 20 feet long, 10 feet wide, and 8 feet high, with a liquid fill depth of 4 feet, the results are:

Formulas and Calculation Method

The calculator first determines the total volume of the tank in cubic meters based on its geometric shape, then converts that volume into US gallons and liters. The conversion factors used are 264.172052 US gallons per cubic meter and 1,000 liters per cubic meter.

Rectangular Tanks

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

Volume = Length × Width × Height

The filled volume is calculated by replacing the total height with the current liquid depth.

Vertical Cylinders

For vertical cylinders, the total volume relies on the radius (half the diameter) and the length (which acts as the height):

Volume = π × Radius² × Length

The filled volume is calculated by substituting the total length with the liquid fill depth.

Horizontal Cylinders

Horizontal cylinders share the same total volume formula as vertical cylinders. However, calculating a partially filled horizontal cylinder is more complex because the cross-sectional area of the liquid changes non-linearly with depth. The calculator uses the circular segment area formula to determine the cross-section of the liquid, which is then multiplied by the tank's length to find the filled volume.

How to Use the Calculator

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

  1. Select Tank Type: Choose between a horizontal cylinder, vertical cylinder, or rectangular tank.
  2. Enter Dimensions: Input the length and diameter. If you selected a rectangular tank, enter the width in the diameter field and provide the total height.
  3. Set Units: Select the appropriate measurement units (inches, feet, meters, etc.) for each dimension.
  4. Input Filled Level: Enter the current depth of the liquid inside the tank, or specify a fill percentage.
  5. Review Results: The calculator will display the total capacity and filled volume in both US gallons and liters, along with the fill percentage.

Inputs and Outputs Reference

FieldTypeDescription
Tank TypeInputThe geometric shape of the tank (horizontal cylinder, vertical cylinder, or rectangular).
Length / DepthInputThe primary length of the cylinder or rectangular tank.
Diameter / WidthInputThe diameter of a cylinder, or the width of a rectangular tank.
HeightInputThe total height of the tank (only required for rectangular tanks).
Filled LevelInputThe current depth of the liquid, measured in standard units or as a percentage.
Total CapacityOutputThe maximum volume the tank can hold, provided in US Gallons and Liters.
Filled VolumeOutputThe volume of liquid currently in the tank, provided in US Gallons and Liters.
Liquid Fill PercentageOutputThe ratio of the filled volume to the total capacity, expressed as a percentage.

Practical Use Cases

Estimating tank volume is necessary across various applications. Facility managers use these calculations to monitor fuel reserves in horizontal cylindrical storage tanks. Homeowners and agricultural workers calculate the capacity of vertical water cisterns for irrigation planning. Additionally, industrial operators rely on accurate volume measurements for rectangular chemical vats to ensure proper mixing ratios and inventory management.

Frequently Asked Questions

How do you calculate the volume of a partially filled horizontal cylindrical tank?

Calculating the filled volume of a horizontal cylinder requires finding the area of the circular segment formed by the liquid's depth. This cross-sectional area is then multiplied by the total length of the tank. Because the tank's width varies at different heights, the volume does not increase linearly with the liquid depth.

Does the calculator output US Gallons or Imperial Gallons?

The calculator outputs US Gallons. It uses the standard conversion factor of approximately 264.172 US gallons per cubic meter.

Can I calculate the volume if I only know the fill percentage?

Yes. You can change the 'Filled Level Unit' to 'percent' and enter a value between 0 and 100. The calculator will determine the corresponding liquid depth and calculate the filled volume based on the tank's total dimensions.

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.