Tank Volume Calculator in Inches: How to Use
- Volume
- US gallons
- Result
- Length
- 24 in
- You entered
- Width
- 12 in
- You entered
A tank volume calculator in inches works out the capacity of a rectangular, cylindrical, or other shaped tank when you enter its dimensions in inches. You get the volume in cubic inches, and most calculators also convert that to gallons, liters, and other units. This article explains the formulas, gives a worked example, and covers common mistakes so you can measure any tank correctly.
Formula
For a rectangular tank, the volume is simply:
V = L × W × H
where:
- V = volume in cubic inches (in³)
- L = length in inches
- W = width in inches
- H = height in inches
To convert cubic inches to US gallons, divide by 231 (because 1 US gallon = 231 in³). For imperial gallons, divide by 277.42. For liters, multiply cubic inches by 0.0163871.
Worked Example
Using the default values from the calculator (L = 24 in, W = 12 in, H = 18 in):
- Multiply length × width: 24 × 12 = 288 in² (this is the base area).
- Multiply by height: 288 × 18 = 5,184 in³.
- Convert to US gallons: 5,184 ÷ 231 = 22.44 gallons.
The calculator shows 5,184 cubic inches and 22.44 US gallons, matching the steps above.
Rectangular vs. Cylindrical Tanks
Rectangular tanks (aquariums, fuel tanks, storage boxes) use the simple L×W×H formula. Cylindrical tanks (propane tanks, water heaters, some aquariums) need a different formula:
V = π × r² × h
where r is the radius (half the diameter) and h is the height, both in inches. For a horizontal cylinder, the formula is more complex because the liquid occupies a segment of the circle; you need the depth of the liquid as well. Many online calculators offer a horizontal cylinder option for that case.
How to Choose the Right Tank Volume Calculator
When selecting a calculator, consider:
- Tank shape – rectangular, vertical cylinder, horizontal cylinder, sphere, or custom.
- Units – does it accept inches and output gallons/liters?
- Liquid depth – for partial fill, you need a calculator that takes depth into account.
- Type of gallon – US vs. imperial (UK) gallons differ by about 20%.
If you have a tank with a non-standard shape (e.g., a cone bottom), look for a calculator that breaks the tank into sections or use a water displacement method.
Common Mistakes and How to Avoid Them
Unit mix-ups are the most frequent error. If you measure in feet but enter inches, your volume will be off by a factor of 1,728. Always double-check the unit labels. Another mistake is using the outside dimensions instead of the inside. For a tank with thick walls, the internal volume can be significantly smaller. Measure the inside width, length, and height. Also, remember that the rated capacity of a tank (e.g., a 55-gallon aquarium) is often the nominal size, not the exact volume when filled to the brim – you usually leave a small air gap.
How to Read the Result
The calculator gives you the total volume when filled to the top. If you plan to fill it only partway, multiply the total volume by the fill fraction. For example, if you want to fill a 5,184 in³ tank to 75%, the volume is 5,184 × 0.75 = 3,888 in³, which is 16.83 gallons. For aquariums, the actual water volume is less than the tank volume because of substrate, decorations, and the glass thickness. A common rule of thumb is to subtract 10–15% for these factors, but that is an estimate.
Limits of the Formula
The formulas assume perfect geometric shapes and straight walls. Real tanks may have rounded corners, tapered sides, or internal baffles that reduce volume. For irregular tanks, the most accurate method is to measure how much water it actually holds – for example, using a known-volume container to fill it. Also, temperature affects liquid volume (liquids expand when warm), but for most practical purposes at room temperature, the effect is negligible.
Frequently Asked Questions
How many gallons is a 24×12×18 inch tank? Using the formula, 24×12×18 = 5,184 cubic inches, which is 5,184 ÷ 231 = 22.44 US gallons. That is roughly a 22-gallon tank.
How do I calculate the volume of a cylindrical tank in inches? Measure the diameter and height in inches. Use V = π × (d/2)² × h. For example, a tank 20 inches in diameter and 30 inches tall: radius = 10, so V = 3.1416 × 100 × 30 = 9,424.8 in³, which is about 40.8 US gallons.
What is the difference between US and imperial gallons? A US gallon is 231 cubic inches; an imperial gallon is 277.42 cubic inches. So an imperial gallon is about 20% larger. Always check which gallon your calculator uses.
Can I use the same calculator for a fuel tank? Yes, as long as you know the shape and inside dimensions. For a vehicle fuel tank, the shape is often irregular, so the geometric formula may be approximate. The most accurate way is to fill it at a pump and note the volume.
Why is my measured volume different from the calculator? Likely reasons: you used outside dimensions, the tank has rounded corners, or you measured in the wrong units. Also, some tanks are not filled to the absolute top – the actual usable volume is less.
Related
Formula used
in l | Length | in | 24 | 0 in w | Width | in | 12 | 0 in h | Height | in | 18 | 0 out vol | Volume | cubic in | l * w * h | 0 out gal | Volume | US gallons | (l * w * h) / 231 | 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.