Tank Volume Calculator

Calculate full rectangular or cylindrical tank capacity from one consistent dimension unit, with liters and US gallons shown together.

Your result

Volume (m³)2
Liters2,000
US gallons528.344104716

Formula used: Volume = length × width × height

Calculation steps

  1. Select rectangular, vertical cylindrical, or horizontal cylindrical shape, choose one dimension unit, and enter only the dimensions shown for that shape.

  2. All dimensions are converted to meters before applying rectangular or full-cylinder geometry, then the cubic-meter result is converted to liters and US gallons.

    2 × 1 × 1 m³ × 1³ = 2 m³

    2 m³ × 1,000 = 2000 L

    2 m³ × 264.172052358 = 528.344104716 US gal

  3. The result represents geometric full capacity and does not model wall thickness, fittings, unusable space, or partial fill in a horizontal cylinder. Volume (m³): 2; Liters: 2,000; US gallons: 528.344104716.

Quick start

How do I use the tank volume calculator?

Purpose: The tank volume calculator is designed for this task: calculate full geometric volume for rectangular, vertical cylindrical, or horizontal cylindrical tanks and convert it to liters and US gallons.

  1. 01

    Prepare the tank volume calculator inputs

    Match every value and unit to its form label. Do not mix units or invent a value you do not know.

  2. 02

    Run the tank volume calculator

    Select Calculate after checking the fields. Invalid or unsupported input is flagged before a result is shown.

  3. 03

    Verify the tank volume calculator result

    Read the result with the formula, worked example, assumptions, and limitations explained below.

What does the tank volume calculator calculate?

The tank volume calculator finds the full geometric capacity of a rectangular tank, a vertical cylindrical tank, or a horizontal cylindrical tank. Select the shape and one dimension unit, then enter only the dimensions shown for that shape. The page reports cubic meters, liters, and US gallons so the same geometric volume can be used with different specifications.

For a rectangular tank, the tank volume calculator needs length, width, and height. For a vertical cylinder, it needs diameter and height. For a horizontal cylinder, it needs diameter and cylinder length. The horizontal-cylinder mode still calculates a completely full cylinder; it does not calculate liquid depth in a partly filled horizontal tank.

This page describes internal geometric volume only when the dimensions you enter are internal dimensions. If you enter external dimensions, the tank volume calculator returns external envelope volume instead. Wall thickness, rounded corners, domed heads, baffles, fittings, dead space, displacement, and operating headspace are not inferred.

What formulas does the tank volume calculator use?

For a rectangular tank, the tank volume calculator uses volume = length × width × height. For either full cylindrical orientation, it uses volume = π × (diameter ÷ 2)² × cylinder length, where cylinder length means vertical height for the vertical shape and horizontal length for the horizontal shape.

All entered dimensions are converted to meters before geometry is applied. This prevents an invalid product such as multiplying feet by centimeters. The tank volume calculator supports meters, centimeters, feet, and inches as the selected dimension unit, but every dimension within one calculation uses that same selection.

After geometry, cubic meters are converted to other output units. NIST SP 811 Appendix B.8 gives the US liquid gallon conversion as 0.003785412 cubic meter, equivalent to 3.785412 liters, and defines the liter relationship to the cubic meter. The tank volume calculator reports liters using 1 cubic meter = 1,000 liters and US gallons using the corresponding conversion factor.

How does the tank volume calculator solve the 2 × 1 × 1 m example?

The default tank volume calculator starts with a rectangular tank measuring 2 m long, 1 m wide, and 1 m high. The volume is 2 × 1 × 1 = 2 m³. Converting that result gives 2,000 liters and approximately 528.344 US gallons.

The substituted arithmetic is shown with the result so the unit path can be checked. Because the inputs are already in meters, the conversion factor is 1 before multiplication. If the same dimensions were entered in centimeters as 200 × 100 × 100, the tank volume calculator would first multiply each dimension by 0.01 m/cm and arrive at the same 2 m³ capacity.

A cylinder provides another useful check. A full cylinder with 1 m diameter and 2 m length has radius 0.5 m, so π × 0.5² × 2 = π/2, about 1.5708 m³. Vertical and horizontal full-cylinder modes return the same geometric capacity for those dimensions because orientation does not change the volume of a complete cylinder. The tank volume calculator changes which dimension label is displayed, not the cylinder formula itself.

What are the limits of the tank volume calculator?

The tank volume calculator assumes ideal rectangular prisms and full right circular cylinders. It does not model elliptical tanks, spherical tanks, conical bottoms, dished or domed heads, irregular vessels, internal baffles, wall thickness, pipe volumes, or manufacturing tolerances. Those details can make usable capacity differ from simple geometry.

Most importantly, horizontal-cylinder mode means a full cylinder. A partly filled horizontal cylinder requires a circular-segment calculation based on liquid depth, which is intentionally outside this page. Do not use the tank volume calculator to infer partial-fill volume from a sight gauge or measured liquid depth.

Every required dimension must be positive, and unsupported shapes are rejected. The result is not a safe-fill recommendation. Thermal expansion, required freeboard, venting, fluid properties, tank ratings, calibration tables, and regulatory limits can constrain actual operating volume. Use manufacturer data or an engineering specification when those factors matter, with the tank volume calculator serving only as a geometric check.

The tank volume calculator is best when the desired result is vessel capacity in cubic meters, liters, and US gallons. A cubic-feet calculator is useful when you only need rectangular volume in customary building units. A cubic-yard calculator is more natural for bulk materials such as soil, gravel, or concrete quantities.

The framing calculator also starts from dimensions, but it converts wall geometry into material counts rather than fluid capacity. Use the tank volume calculator for an ideal tank shape; use a dedicated partial-tank or vessel-calibration method when liquid level, irregular ends, or a manufacturer strapping table determines the answer.

Keeping these intents separate avoids false precision. Converting an irregular vessel to a rectangular box may produce a neat number while ignoring real geometry. The tank volume calculator therefore offers only the three shapes it explicitly implements rather than pretending that one formula covers every container.

Tank volume calculator questions

Does the tank volume calculator use inside or outside dimensions?

Use inside dimensions when you want internal geometric capacity. The tank volume calculator cannot detect wall thickness, so outside dimensions would calculate the external envelope instead.

Can the tank volume calculator find a half-full horizontal cylinder?

No. Horizontal-cylinder mode calculates the volume of a full cylinder. Partial fill depends on liquid depth and circular-segment geometry and is outside this calculator’s scope.

Why are liters and US gallons both shown?

They are two common capacity units derived from the same cubic volume. The tank volume calculator performs geometry once in consistent metric base units and then converts the resulting volume, reducing the risk of mixing dimension units inside the shape formula.

Methodology

Tank volume calculator sources and review

Last reviewed: