A tank volume calculator finds the capacity and the liquid volume of a tank from its inside size. A vertical cylinder holds pi x r squared x height, and a rectangular tank holds length x width x height. A horizontal cylinder needs the circular segment formula, because 25 percent of its depth holds only 19.55 percent of capacity.
Liquid volume
Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.
Saved results (0)
How to Use the Tank Volume Calculator
- Choose the unit you measured in (inches, feet, centimetres or metres) and the tank shape: horizontal cylinder, vertical cylinder or rectangular. The labels change to match.
- Enter the inside dimensions. A lying cylinder needs length and diameter, a standing cylinder needs diameter and height, and a box needs length, width and height.
- Optionally enter the liquid depth from a dipstick or sight gauge. Leave it blank to see full capacity.
| Result | What it means |
|---|---|
| Liquid volume | US gallons of liquid at the depth entered, or the full capacity when depth is blank. |
| Litres | The same liquid volume in litres. |
| Full capacity | Total inside volume in US gallons and litres. |
| Percent full | Liquid volume divided by full capacity. |
| At 1/4, 1/2 and 3/4 depth | A mini tank chart: gallons at those depths, with the share of capacity in brackets. |
| Cubic feet / cubic metres | The raw geometric volume of the liquid. |
What Is Tank Volume?
Tank volume is the amount of space inside a tank, usually stated as its full capacity in gallons or litres. The liquid volume is the part of that space filled at a given depth. Fuel oil, diesel, water, rainwater and chemical tanks are all read this way.
Owners need both numbers. Capacity tells you what the tank can take in one delivery. Liquid volume tells you what is left and when to reorder. Tank charts, also called dipstick or strapping charts, list the liquid volume at each depth for a particular tank.
This page is for storage tanks. For a swimming pool with a sloped floor, use the pool volume calculator, which averages shallow and deep ends. For capsule tanks with rounded ends in centimetres and litres, use the water tank capacity calculator.
How Does the Tank Volume Calculator Work?
The calculator multiplies a cross-section area by a length or height, then converts the cubic volume to US gallons and litres.
Vertical cylinder V = pi x r2 x h | Rectangular V = L x W x h | Horizontal cylinder V = L x [r2 acos((r - h) / r) - (r - h) sqrt(2rh - h2)] | US gallons = litres / 3.785411784- Standing cylinders and boxes. The cross-section is the same at every height, so liquid volume is the floor area times the liquid depth. Half the depth is exactly half the capacity.
- Lying cylinders. The wet cross-section is a circular segment: the part of a circle below a straight line at depth h. Its area uses the arccosine term minus a triangle, and the volume is that area times the tank length.
- Units. Sizes are converted to metres with exact NIST factors (1 in = 0.0254 m, 1 ft = 0.3048 m). One cubic metre is 1,000 litres. NIST Handbook 44 defines the US gallon as 231 cubic inches, which equals 3.785411784 litres.
Tank Volume Example
A horizontal cylinder tank is 4 ft in inside diameter and 6 ft long. A dipstick shows 1 ft of liquid.
Full capacity: pi x 22 x 6 = 75.40 ft3 = 564 US gallons (2,135 L).
Segment area at 1 ft: r = 2, h = 1, so 22 x acos(0.5) - 1 x sqrt(3) = 4.1888 - 1.7321 = 2.4567 ft2. Liquid: 2.4567 x 6 = 14.74 ft3 = 110 US gallons (417 L).
Meaning: the tank is at 25 percent of its depth but holds only 19.55 percent of its capacity. At 3 ft (75 percent of the depth) it holds 454 gallons, or 80.45 percent. A standing tank 6 ft wide and 10 ft tall, by contrast, holds 282.7 ft3 or 2,115 gallons, and half its height is exactly half of that.
Factors That Change Tank Volume Results
The formulas are exact for perfect shapes, so most real-world error comes from measurement and tank construction.
Inside Versus Outside Size
Measure inside dimensions. On a steel tank a few millimetres of wall hardly matter, but a thick plastic or concrete wall can remove several percent of the volume if you measure the outside.
End Shape
This tool treats cylinder ends as flat. Tanks with dished, domed or rounded ends hold more than a flat-ended cylinder of the same body length.
Tilt and Sludge
A lying tank that slopes toward one end gives a different dipstick reading at each end. Sediment at the bottom takes up space that the formula counts as liquid.
Units and Rounding
All sizes must use one unit. A switch from inches to feet without re-entering numbers changes the result by a factor of 1,728. The gallons to liters converter helps when a label uses the other system.
Horizontal vs Vertical Tank Fill Levels Compared
A standing tank fills in step with depth. A lying tank does not, because it is narrow at the bottom and top and widest in the middle. The table shows the share of capacity at each share of depth.
| Liquid depth (share of height) | Vertical cylinder or box | Horizontal cylinder |
|---|---|---|
| 10% | 10% | 5.20% |
| 25% | 25% | 19.55% |
| 50% | 50% | 50.00% |
| 75% | 75% | 80.45% |
| 90% | 90% | 94.80% |
So a straight depth ratio overstates a low horizontal tank and understates a high one. The three depth results in the tool give a quick chart for your own tank.
When to Use a Tank Volume Calculation
Reading a Fuel or Water Tank
Dip the tank, enter the depth and read the gallons left. Compare with the full capacity to see how much a delivery can add.
Sizing a New Tank
Try different diameters and lengths until the full capacity meets your need. For odd shapes such as spheres and cones, the volume calculator covers more solids.
Planning Transfers and Pumping Time
Divide the gallons to move by the pump rate to estimate time. The same volumes help when mixing a treatment at a set dose per 1,000 litres.
Common Mistakes
1. Using a Straight Depth Ratio on a Lying Tank
A horizontal tank at 25 percent depth holds 19.55 percent, not 25 percent. Use the segment formula.
2. Entering the Radius as the Diameter
The tool asks for the full diameter. Entering the radius cuts the volume to one quarter.
3. Measuring Outside Dimensions
Outside sizes include the wall and overstate capacity.
4. Mixing US and Imperial Gallons
Results are US gallons of 231 cubic inches. An imperial gallon is about 20 percent larger, so use the litre figure for UK labels.
5. Measuring Depth from the Top
The depth field wants the liquid depth from the bottom. A reading of empty space from the top must be subtracted from the height first.
Accuracy and Limitations
The calculator is exact for ideal flat-ended cylinders and boxes, so its accuracy depends on how closely your tank matches those shapes.
What it calculates accurately
- Full capacity of cylinders and rectangular tanks
- Liquid volume at any depth, including lying cylinders
- US gallons and litres with exact NIST factors
- Share of capacity at 1/4, 1/2 and 3/4 depth
What it does not account for
- Dished, domed or capsule ends
- Oval or obround tank sections
- Tilted tanks, sludge and internal fittings
- Temperature expansion of fuel
- Legal-for-trade metering
How We Calculate Tank Volume
Frequently Asked Questions About Tank Volume
How many gallons are in a cubic foot?
One cubic foot holds 7.48 US gallons (7.480519). A US gallon is 231 cubic inches and a cubic foot is 1,728 cubic inches.
How do I calculate the volume of a partly full horizontal tank?
Find the circular segment area at the liquid depth, r squared x acos((r - h) / r) - (r - h) x sqrt(2rh - h squared), and multiply by the tank length.
Why is my half-full horizontal tank exactly 50 percent?
At half depth the liquid surface passes through the centre, so the segment is exactly half the circle. Every other depth is non-linear.
How many gallons does a 4 ft by 6 ft horizontal tank hold?
About 564 US gallons, or 2,135 litres, when full. At 1 ft of liquid it holds about 110 gallons.
How do I measure the diameter of a round tank?
Measure the outside circumference with a tape, divide by pi (3.1416), then subtract twice the wall thickness for the inside diameter.
Can I use this for an oval fuel oil tank?
Not accurately. Oval or obround tanks have flat sides and rounded ends, so use the maker chart for that tank model.
How is tank volume different from pool volume?
A pool has a sloping floor and is read from the water surface, so pool tools average two depths. A storage tank is read by liquid depth from its lowest point.
How many litres is a US gallon?
Exactly 3.785411784 litres. Divide litres by that number to get US gallons.
Does temperature change the volume in my tank?
Yes, for fuels. Liquids expand as they warm, so the same mass fills slightly more space on a hot day. This tool reports geometric volume only.
Is my data saved?
No. The calculation runs in your browser. The Save button keeps a result only in this browser.
Sources
- NIST Handbook 44, Appendix C: 1 gallon = 231 cubic inches (National Institute of Standards and Technology).
- NIST Guide to the SI, Appendix B.8: factors for units listed alphabetically (National Institute of Standards and Technology).
- Circular Segment: area formula (Wolfram MathWorld).
- Horizontal Cylindrical Segment: volume of a partly filled horizontal cylinder (Wolfram MathWorld).
Related Calculators
Working on a tank, pool or water project?
Explore all construction calculatorsThis calculator is for general planning and education only and is not engineering, fuel-delivery or legal-for-trade advice. Results are geometric estimates from the inside dimensions you enter. Use the tank maker's calibration chart for billing, inventory reconciliation or safety-critical filling. Spotted an error? Let us know.
Author
Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.




