ThisCalculator

Everyday

Tank Volume Calculator Excel Sheet: Formulas and Setup

Updated · Standard formula, shown below

Full tank volume 1,570.80 L
Full tank volume
414.96 US gal
Result
Full tank volume
55.47 ft^3
Result
Tank diameter
1 m
You entered

Tank Volume Calculator Excel Sheet: Formulas and Setup

A tank volume calculator Excel sheet can calculate capacity from a tank’s shape and dimensions, then show the result in liters, US gallons, or cubic feet. Enter measurements in consistent units; for a horizontal cylindrical tank, for example, use the tank’s length and inside diameter with the formula and spreadsheet layout below.

Formula

For a horizontal cylindrical tank that is completely full, the volume is the area of its circular end multiplied by its length:

V = π × (d ÷ 2)² × l

  • V is volume in cubic meters (m³) when the dimensions are in meters.
  • d is the inside diameter in meters (m).
  • l is the inside straight length of the cylinder in meters (m).
  • π is approximately 3.14159.

The calculator converts cubic meters to liters by multiplying by 1,000, to US liquid gallons by dividing liters by 3.785411784, and to cubic feet by multiplying cubic meters by 35.314666721. The gallon output is specifically US gallons, not Imperial gallons.

Worked Example

Using the default values, the tank has an inside diameter of 1 m and an inside length of 2 m.

  1. Radius = diameter ÷ 2 = 1 ÷ 2 = 0.5 m.
  2. End area = π × radius² = π × 0.5² = 0.785398 m².
  3. Volume = end area × length = 0.785398 × 2 = 1.570796 m³.
  4. Liters = 1.570796 × 1,000 = 1,570.80 L.
  5. US gallons = 1,570.796 ÷ 3.785411784 = 415.49 US gal.
  6. Cubic feet = 1.570796 × 35.314666721 = 55.48 ft³.

The headline result is therefore 1,570.80 L, rounded to two decimal places, as specified by the calculator.

How to Build the Excel Sheet

The calculator spec above describes the inputs and calculations; in a regular Excel workbook, you can create the same sheet with cells and formulas. One simple layout is:

  • Put “Inside diameter (m)” in A2 and the diameter in B2.
  • Put “Inside length (m)” in A3 and the length in B3.
  • Put “Volume (L)” in A5 and enter =PI()*(B2/2)^2*B3*1000 in B5.
  • Put “Volume (US gal)” in A6 and enter =B5/3.785411784 in B6.
  • Put “Volume (ft³)” in A7 and enter =PI()*(B2/2)^2*B3*35.314666721 in B7.

Excel’s PI() function supplies π. Format the result cells to show an appropriate number of decimal places, but keep the full precision in the formulas. Add cell notes or labels that specify inside dimensions and units so someone using the sheet later does not mistake centimeters for meters or outside diameter for inside diameter.

Choose the Formula for the Tank Shape

The cylinder formula is not suitable for every tank. Identify the vessel’s geometry first, and calculate separate sections separately when a tank combines shapes.

  • Rectangular tank: V = length × width × liquid depth. With dimensions in meters, multiply the result in m³ by 1,000 for liters.
  • Vertical cylinder with flat ends: V = π × (diameter ÷ 2)² × liquid height.
  • Sphere: V = (4 ÷ 3) × π × radius³.
  • Horizontal cylinder, partly filled: the full-cylinder formula is not enough. The liquid occupies a curved segment whose cross-sectional area depends on liquid depth.

For dished, conical, domed, or irregular ends, a simple cylinder estimate may be noticeably different from actual capacity. Use manufacturer capacity tables or dimensions for each section when accuracy matters. Do not assume that a tank’s advertised or nominal capacity equals its usable fill volume.

When to Use It and How to Read the Result

A spreadsheet is useful for estimating full geometric capacity, checking a tank’s approximate size, comparing designs, or repeating calculations for several tanks. The result is a mathematical capacity based on the dimensions entered; it does not automatically tell you how much liquid is currently inside or how much the tank should safely hold.

For a liquid level in a vertical cylinder, replace the tank height with the measured liquid depth to estimate the contents, provided the bottom is flat and the sides are straight. For a horizontal tank, liquid depth is not a direct percentage of total volume: half the tank’s height does correspond to half its volume in an ideal horizontal cylinder, but other fill heights do not scale linearly. Use a partial-fill segment formula or a calibrated level chart for those cases.

Measurement Errors and Limits

  • Mixing units: the example formulas expect meters. If measuring in centimeters, convert each dimension to meters by dividing by 100, or use a formula built consistently for centimeters and convert the resulting cubic centimeters to liters.
  • Using outside dimensions: wall thickness means the internal diameter and length are smaller than the exterior measurements. Use inside dimensions for liquid capacity.
  • Confusing radius and diameter: the formula halves the diameter. Entering a radius as the diameter makes the calculated volume one-quarter of the intended value.
  • Overinterpreting decimals: a result with two decimal places does not mean the measurement is that precise. Measurement uncertainty, rounded tank ends, fittings, and internal structures can all affect real capacity.
  • Ignoring operating limits: geometric capacity is not a fill instruction. Allow for expansion, headspace, venting, and the equipment’s specifications; follow the tank maker’s directions and applicable site procedures.

For storage or handling, also consider the liquid’s properties and the tank’s material compatibility. A volume calculation alone cannot establish that a tank is suitable or safe for a particular substance.

Frequently Asked Questions

How do I calculate tank volume in Excel?
For a full cylinder, enter diameter and length in consistent units and use =PI()*(diameter/2)^2*length. Multiply cubic meters by 1,000 to get liters, or convert using the appropriate factor for another unit.

Can I use the same formula for a horizontal tank?
Yes, for the tank’s full capacity if it is a straight cylinder with circular ends. The formula does not calculate the volume of a partially filled horizontal tank; liquid depth must be handled with a segment calculation or a tank chart.

How do I calculate volume in liters from measurements in centimeters?
For a cylindrical tank, calculate cubic centimeters with π × (diameter in cm ÷ 2)² × length in cm, then divide by 1,000 to convert cm³ to liters. Keep every dimension in centimeters for that calculation.

Are US gallons and Imperial gallons the same?
No. One US liquid gallon is about 3.785 liters; one Imperial gallon is about 4.546 liters. Check which gallon unit a spreadsheet displays before using its result.

Why does my calculated capacity differ from the tank’s stated capacity?
The calculation may use external dimensions, assume flat ends, or omit curved sections and internal fittings. A stated capacity may also refer to a nominal or usable amount rather than ideal geometric volume. Check the tank’s specifications and measurement basis.

Related

Formula used
in d | Tank diameter | m | 1 | 0
in l | Tank length | m | 2 | 0
out vol | Full tank volume | L | pi * (d / 2)^2 * l * 1000 | 2
out gal | Full tank volume | US gal | vol / 3.785411784 | 2
out ft | Full tank volume | ft^3 | pi * (d / 2)^2 * l * 35.314666721 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.