Calculate The Volume Of A Tank






Tank Volume Calculator – Calculate the Volume of a Tank


Tank Volume Calculator

Calculate the Volume of a Tank

Select the tank type and enter its dimensions to calculate total and liquid volume.



Inner diameter of the cylinder.


Total inner height of the cylinder.


Height of the liquid from the bottom. Must be less than or equal to the tank height/diameter.




Enter dimensions and calculate.

Liquid Volume vs. Fill Height

Fill % Fill Height Liquid Volume
25% 0 0
50% 0 0
75% 0 0
100% 0 0
Liquid Volume at Different Fill Levels

What is Tank Volume Calculation?

Tank volume calculation involves determining the total capacity of a tank or the volume of liquid within it at a certain fill level. This is crucial for storage management, process engineering, and fluid handling across various industries. To calculate the volume of a tank, one needs to know its shape (e.g., cylindrical, rectangular) and its dimensions (like diameter, height, length, width). The fill level is also needed to find the volume of the liquid currently in the tank.

Anyone managing liquid storage, from industrial chemists to farmers to homeowners with oil tanks, needs to be able to calculate the volume of a tank. It helps in inventory management, preventing overflows, and planning refills. A common misconception is that all cylindrical tanks fill linearly; however, horizontal cylinders have a non-linear relationship between fill height and volume.

Tank Volume Formula and Mathematical Explanation

The formula to calculate the volume of a tank depends on its shape.

1. Vertical Cylinder

Total Volume (V_total) = π * r² * H = π * (D/2)² * H

Liquid Volume (V_liquid) = π * r² * h = π * (D/2)² * h (where h is the fill level)

2. Horizontal Cylinder

Total Volume (V_total) = π * r² * L = π * (D/2)² * L

Liquid Volume (V_liquid): This is more complex and involves the area of a circular segment.

If h is fill height and r is radius (D/2):

Area of liquid segment (A_liquid) = r² * arccos((r-h)/r) – (r-h) * √(2rh – h²)

Liquid Volume (V_liquid) = A_liquid * L

3. Rectangular Tank (Cuboid)

Total Volume (V_total) = L * W * H

Liquid Volume (V_liquid) = L * W * h (where h is the fill level)

Variable Meaning Unit Typical Range
V Volume m³, cm³, ft³, in³, Liters, Gallons 0 – ∞
π (pi) Mathematical constant ~3.14159
r Radius of cylinder m, cm, ft, in 0 – ∞
D Diameter of cylinder m, cm, ft, in 0 – ∞
H Height of vertical cylinder or rectangle m, cm, ft, in 0 – ∞
L Length of horizontal cylinder or rectangle m, cm, ft, in 0 – ∞
W Width of rectangle m, cm, ft, in 0 – ∞
h Fill level (liquid height) m, cm, ft, in 0 – H or 0 – D

Practical Examples (Real-World Use Cases)

Example 1: Vertical Cylindrical Water Tank

A farmer has a vertical cylindrical water tank with a diameter of 3 meters and a height of 2 meters. It’s filled with water to a level of 1.2 meters.

  • Tank Type: Vertical Cylinder
  • Diameter (D): 3 m (Radius r = 1.5 m)
  • Height (H): 2 m
  • Fill Level (h): 1.2 m

Total Volume = π * (1.5)² * 2 ≈ 3.14159 * 2.25 * 2 ≈ 14.14 m³

Liquid Volume = π * (1.5)² * 1.2 ≈ 3.14159 * 2.25 * 1.2 ≈ 8.48 m³ (or 8480 Liters)

The tank can hold about 14,140 liters, and it currently contains about 8,480 liters.

Example 2: Horizontal Cylindrical Fuel Tank

A gas station has a horizontal cylindrical fuel tank with a diameter of 2.5 meters and a length of 6 meters. The fuel level is measured at 0.5 meters from the bottom.

  • Tank Type: Horizontal Cylinder
  • Diameter (D): 2.5 m (Radius r = 1.25 m)
  • Length (L): 6 m
  • Fill Level (h): 0.5 m

Total Volume = π * (1.25)² * 6 ≈ 3.14159 * 1.5625 * 6 ≈ 29.45 m³

For Liquid Volume at h=0.5m (r=1.25m):

r-h = 1.25 – 0.5 = 0.75 m

arccos((r-h)/r) = arccos(0.75/1.25) = arccos(0.6) ≈ 0.927 radians

√(2rh – h²) = √(2*1.25*0.5 – 0.5²) = √(1.25 – 0.25) = √1 = 1

A_liquid = (1.25)² * 0.927 – 0.75 * 1 ≈ 1.5625 * 0.927 – 0.75 ≈ 1.448 – 0.75 = 0.698 m²

Liquid Volume = 0.698 * 6 ≈ 4.19 m³ (or 4190 Liters)

The tank holds about 29,450 liters total, and currently has about 4,190 liters.

How to Use This Tank Volume Calculator

Using our tool to calculate the volume of a tank is straightforward:

  1. Select Tank Type: Choose whether you have a Vertical Cylinder, Horizontal Cylinder, or Rectangular Tank from the dropdown.
  2. Enter Dimensions: Input the required dimensions (Diameter/Height, Diameter/Length, or Length/Width/Height) based on the selected tank type. Ensure all dimensions are in the same unit before input or select the correct unit.
  3. Enter Fill Level: Input the height of the liquid from the bottom of the tank. This must be less than or equal to the total height (for vertical cylinders and rectangles) or diameter (for horizontal cylinders).
  4. Select Units: Choose the units (meters, cm, feet, inches) you used for the dimensions and fill level.
  5. Calculate: The calculator automatically updates, but you can click “Calculate Volume” if needed.
  6. Read Results: The primary result shows the liquid volume. Intermediate results show total volume, liquid volume in different units, and empty volume.
  7. Use Chart & Table: The chart visualizes fill vs. volume, and the table shows volumes at standard fill percentages.
  8. Reset: Use the “Reset” button to clear inputs to default values.
  9. Copy: Use “Copy Results” to copy the key figures to your clipboard.

Understanding the results helps in managing resources, planning refills, and avoiding spills. The conversion calculator can help if you need more unit conversions.

Key Factors That Affect Tank Volume Calculation Results

Several factors influence the accuracy when you calculate the volume of a tank:

  • Tank Shape: The geometric shape is the most critical factor. Cylinders and rectangles are common, but other shapes (oval, spherical) require different formulas.
  • Accurate Dimensions: Precise measurements of diameter, length, width, and height are essential. Even small errors can lead to significant volume discrepancies, especially with large tanks. Using tools from our engineering calculators list might help.
  • Internal vs. External Dimensions: Always use internal dimensions to calculate the internal volume. Tank wall thickness reduces the internal capacity.
  • Tank Ends (for Cylinders): The calculator assumes flat ends for cylinders. Dished or hemispherical ends will alter the total volume and the liquid volume calculation, especially for horizontal cylinders.
  • Fill Level Measurement: The accuracy of the fill level measurement directly impacts the liquid volume calculation. For horizontal cylinders, the relationship is non-linear, so precise fill height is crucial.
  • Tank Inclination: If the tank is not perfectly level, the volume calculations based on simple fill height can be inaccurate.
  • Liquid Temperature: Liquids expand and contract with temperature. For precise measurements, especially with volatile liquids or large temperature changes, the liquid’s temperature and coefficient of expansion might be needed. The fluid dynamics basics page has more info.
  • Internal Obstructions: Pipes, supports, or other structures inside the tank will reduce the actual volume available for liquid.

Frequently Asked Questions (FAQ)

How do I calculate the volume of a partially filled horizontal cylinder?
You need the tank’s diameter, length, and the fill height. The formula involves the area of a circular segment multiplied by the length, as shown above and used by our calculator.
What if my tank has dished ends?
This calculator assumes flat ends. Dished ends add extra volume. You’d need specific formulas for the volume of the dished ends based on their shape (e.g., hemispherical, elliptical) and add that to the cylindrical section volume.
How do I find the volume of an irregularly shaped tank?
For irregular shapes, you might need to approximate it with simpler shapes, use 3D modeling software, or fill it with a known volume of liquid (if empty and small enough) to calibrate it.
Can I use this calculator for any liquid?
Yes, the volume calculation is based on geometry, not the liquid type, as long as you have the fill height. However, liquid properties like density are needed to find mass or weight.
How accurate is this tank volume calculator?
The calculator is accurate for the geometric shapes it supports (vertical/horizontal cylinders with flat ends, rectangles), provided you input accurate dimensions and fill level. Real-world factors like tank deformation or inclination can affect accuracy.
What are the most common units for tank volume?
Cubic meters (m³), liters (L), US gallons (gal), and cubic feet (ft³) are common. Our calculator provides results in cubic units corresponding to your input, plus liters and US gallons.
Does the fill level have to be from the bottom?
Yes, the ‘h’ or ‘fill level’ is measured vertically from the lowest point of the tank’s interior to the liquid surface.
How to calculate volume of liquid in a tilted tank?
Calculating volume in a tilted tank is much more complex and depends on the angle of tilt and the tank’s geometry. It often requires integral calculus or specialized software and is beyond the scope of this simple calculator.

Related Tools and Internal Resources

© 2023 Your Company. All rights reserved.


Leave a Reply

Your email address will not be published. Required fields are marked *