Us Tank Volume Calculator: How to Measure Any Tank
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator works out the volume of a rectangular, cylindrical, or spherical tank in US gallons, liters, and cubic feet. You enter the tank’s dimensions (length, width, height, or diameter) and the calculator returns the total volume and the volume per inch of fill height. It uses standard geometric formulas, so you get an accurate estimate for water, fuel, or other liquids.
Formula
For a rectangular tank: Volume (gal) = length × width × height × 7.48052. For a cylindrical tank: Volume (gal) = π × (diameter/2)² × height × 7.48052. For a spherical tank: Volume (gal) = (4/3) × π × (diameter/2)³ × 7.48052. The constant 7.48052 converts cubic feet to US gallons (1 ft³ = 7.48052 gal). All dimensions are in feet; if you measure in inches, divide by 12 first.
Worked Example
Using the default rectangular tank: length = 4 ft, width = 2 ft, height = 3 ft.
- Calculate cubic feet: 4 × 2 × 3 = 24 ft³.
- Convert to gallons: 24 × 7.48052 = 179.53248 gal.
- Rounded to 1 decimal: 179.5 US gallons.
The calculator shows 179.5 gal, which matches. For liters: 179.5 × 3.78541 = 679.5 L (rounded to 1 decimal).
Why Tank Volume Matters
Knowing your tank’s volume is essential for many everyday tasks: dosing water treatment chemicals, estimating fuel costs, sizing a water heater, or planning an aquarium. Overfilling a tank can cause spills, while underfilling might leave you short. Accurate volume also helps with safety: a tank that holds more than its rated capacity can stress seams, fittings, or the structure itself. For pressurized tanks, always check the manufacturer’s rating—volume alone doesn’t tell you safe pressure limits.
How to Measure Your Tank Correctly
Measure the inside dimensions, not the outside, because wall thickness reduces capacity. For a cylinder, measure the internal diameter and the internal height. For a sphere, measure the internal diameter. For a rectangular tank, measure length, width, and height from the inside. Use a tape measure and record to the nearest inch or half-inch. If the tank has rounded corners or a sloped bottom, the volume will be slightly less than the rectangular formula predicts—for critical applications, consider a calibration chart from the manufacturer.
Common Mistakes and Misconceptions
- Mixing units: Always convert inches to feet before using the formula. A common error is plugging in inches directly, which gives volume in cubic inches (1 ft³ = 1728 in³).
- Using outside dimensions: This overestimates volume by the wall thickness. For a steel tank with 1/4-inch walls, the error can be several percent.
- Confusing US and imperial gallons: An imperial gallon is about 1.2 US gallons. This calculator uses US gallons, which are the standard for fuel and water in the US.
- Assuming a cylinder is perfectly round: If the tank is slightly oval, the formula gives an approximation. Measure the diameter in two places and average them.
- Forgetting the liquid level: Total volume is not the same as the volume of liquid inside. To find the liquid volume, measure the fill height and use a partial volume formula, which is more complex.
How to Use the Calculator for Partial Fills
If you only need the volume of liquid in a partially filled tank, you can still use this calculator by entering the liquid height as the “height” for a rectangular tank. For a horizontal cylinder, the formula is more complex: V = L × (r² × arccos((r – h)/r) – (r – h) × sqrt(2rh – h²)), where L is length, r is radius, and h is liquid height. This calculator does not handle that case, but you can find dedicated horizontal cylinder calculators online.
Limits of the Formula
These formulas assume perfect geometric shapes and uniform dimensions. Real tanks often have dished heads (domed ends), baffles, or internal pipes that reduce volume. For a tank with dished ends, the volume is larger than a flat‑ended cylinder by about 5–10% depending on the dish depth. For safety‑critical applications, always refer to the tank’s nameplate or engineering drawings. The formula also ignores thermal expansion: liquids expand when heated, so a tank filled to 100% at 60°F may overflow at 90°F.
Frequently Asked Questions
How many gallons is a 4×2×3 foot tank?
Using the formula: 4 × 2 × 3 = 24 cubic feet, multiplied by 7.48052 gives 179.5 US gallons. That’s the total capacity if the tank is filled to the brim.
How do I convert cubic feet to gallons?
Multiply the cubic feet by 7.48052 to get US gallons. For example, 10 ft³ × 7.48052 = 74.8 gallons. To convert to liters, multiply gallons by 3.78541.
What is the difference between US and imperial gallons?
A US gallon is 231 cubic inches (3.785 liters), while an imperial gallon is 277.42 cubic inches (4.546 liters). So an imperial gallon is about 20% larger. This calculator uses US gallons.
Can I use this for a fuel tank in my car?
Yes, if you know the tank’s dimensions. However, many car fuel tanks have irregular shapes due to the chassis, so the formula gives a rough estimate. For exact capacity, check the owner’s manual.
Why does my tank hold less than the calculated volume?
Real tanks have wall thickness, internal baffles, and fittings that reduce usable volume. Also, you might be measuring outside dimensions. Measure inside and subtract any internal obstructions for a closer estimate.
How do I calculate the volume of a vertical cylinder tank?
Use the same formula as a horizontal cylinder: π × (diameter/2)² × height × 7.48052. The orientation doesn’t change the total volume, only the partial fill calculation.
Related
Formula used
in shape | Tank shape | Rectangular=1, Cylinder=2, Sphere=3 in length | Length | ft | 4 | 0 in width | Width | ft | 2 | 0 in height | Height | ft | 3 | 0 in diameter | Diameter | ft | 3 | 0 out gallons | Volume (US gal) | - | (shape==1 ? length*width*height*7.48052 : shape==2 ? pi*(diameter/2)^2*height*7.48052 : (4/3)*pi*(diameter/2)^3*7.48052) | 1 out liters | Volume (L) | - | gallons*3.78541 | 1 out cubic_ft | Volume (ft³) | - | gallons/7.48052 | 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.