Tank Volume Calculator

Whether you are ordering a delivery, checking a dipstick reading or sizing a new tank, the question is the same: how much liquid is actually in there, and how much room is left? This free tank volume calculator answers both. Pick a vertical cylinder, horizontal cylinder or rectangular tank, enter the inside dimensions and the liquid depth, and it shows the total capacity and the liquid volume in cubic feet, US gallons and liters, plus the fill percentage and the remaining capacity. For a horizontal tank it uses the exact circular-segment formula, because the volume does not grow in proportion to the depth.

Tank Shape and Size

Use inside dimensions, measured from the inner walls, and use the same unit (feet) for every measurement. For a horizontal cylinder, length is the straight shell length between the two ends; dished ends add a little extra volume that this calculator does not count.

Fill Level

Measure the liquid depth from the bottom of the tank, for example with a dipstick or gauge. For a full tank, enter the full height (vertical or rectangular tank) or the full diameter (horizontal cylinder). For a horizontal tank the depth-to-volume relationship is not linear: at a quarter of the depth the tank holds only about 19.55 percent of its volume.

Total capacity
Total capacity
Total capacity
Total capacity
Liquid in the tank
Liquid volume
Liquid volume
Liquid volume
Fill level
Remaining capacity
Note: volumes are for a plain tank shell with flat ends. Real tanks with dished or elliptical ends hold a few percent more, and internal fittings, baffles and a thick wall reduce the usable volume. For custody transfer or safety-critical work, use the tank's own calibration (strapping) table rather than a calculator estimate.
Liquid DepthFill LevelLiquid Volume (gallons)Liquid Volume (cubic feet)

Each row uses the tank shape and size entered above, at a different liquid depth. For a vertical or rectangular tank the volume grows in direct proportion to the depth; for a horizontal cylinder it does not, because the liquid cross-section is a circular segment.

Powered by Techraxy

Creator & Reviewer

Faiq Ur Rahman

Founder & CEO, Techraxy

Faiq Ur Rahman is a web designer, digital product developer, and Founder of Techraxy, a growing platform of online calculators and utility tools. He specializes in building structured, user-friendly tools focused on finance, health, conversions, productivity, and everyday problem-solving. He is passionate about developing practical digital solutions that make complex tasks simpler for users worldwide.

Share:

Rate this Tool

User Ratings:

0
0 out of 5 stars (based on 0 reviews)
Excellent
Very good
Average
Poor
Terrible

ADVERTISEMENT

ADVERTISEMENT

What is a Tank Volume Calculator?

A tank volume calculator works out how much a tank holds when full and how much liquid it holds at a given level. The total capacity is the volume of the tank shell: pi times radius squared times height for a cylinder, or length times width times height for a rectangular tank. The liquid volume depends on the shape. For a vertical cylinder or a rectangular tank, the cross-section never changes with height, so the liquid volume is simply the cross-section times the liquid depth, and the fill percentage is the depth divided by the height. For a horizontal cylinder, the liquid surface is a chord across the circular cross-section, so the liquid forms a circular segment whose area grows slowly near the bottom, fastest at the middle and slowly again near the top.

That nonlinearity is the main reason a calculator helps. A horizontal tank at a quarter of its depth holds only about 19.55 percent of its volume, not 25 percent, and at three quarters of its depth it already holds about 80.45 percent. Only at exactly half depth is the tank exactly half full. Guessing by eye from a dipstick reading on a horizontal tank is therefore badly wrong at low and high levels.

If the tank is fed by steel pipework, the Pipe Weight Calculator works out the weight of the pipe runs so the supports and fittings can be sized for the job.

How to Use the Tank Volume Calculator

  1. Choose the tank shape: Vertical Cylinder, Horizontal Cylinder or Rectangular. The input boxes change to match the shape.
  2. Enter the inside dimensions in feet, measured from the inner walls. For a vertical cylinder that is the diameter and height; for a horizontal cylinder the diameter and the straight shell length; for a rectangular tank the length, width and height.
  3. Enter the liquid depth in feet, measured from the bottom of the tank with a dipstick or gauge. For a full tank, enter the full height (vertical or rectangular) or the full diameter (horizontal cylinder).
  4. Click Calculate, or just type: the results update as you enter the numbers.
  5. Read the Summary tab for the total capacity, the liquid volume, the fill percentage and the remaining capacity.
  6. Open the Compare Fill Levels tab to see the liquid volume at 25, 50, 75 and 100 percent of the tank depth, which shows the nonlinear fill curve of a horizontal tank clearly.

Formula

Total capacity, vertical cylinder (cu ft) = pi x (diameter / 2) squared x height

Total capacity, horizontal cylinder (cu ft) = pi x (diameter / 2) squared x length

Total capacity, rectangular (cu ft) = length x width x height

Liquid volume, vertical cylinder (cu ft) = pi x (diameter / 2) squared x liquid depth

Liquid volume, rectangular (cu ft) = length x width x liquid depth

Liquid volume, horizontal cylinder (cu ft) = circular segment area x length

Circular segment area (sq ft) = r squared x arccos((r – h) / r) – (r – h) x square root(2rh – h squared)

Volume (US gallons) = volume (cu ft) x 7.48052

Volume (liters) = volume (US gallons) x 3.78541

Fill percentage = liquid volume / total capacity x 100

In the segment formula, r is the inside radius and h is the liquid depth measured from the bottom. Three checks confirm it: at zero depth the area is zero, at half depth (h = r) the arccos term becomes pi / 2 and the square root term vanishes, giving exactly half the circle, and at full depth the segment becomes the whole circle. This calculator computes the area from the empty segment above the halfway point, which avoids numerical error near the top of the tank. At a quarter of the depth the tank holds 19.55 percent of its volume, and at three quarters it holds 80.45 percent.

Worked segment check, horizontal tank 4 ft diameter and 10 ft long, filled to 1 ft: r = 2, so the segment area is 4 x arccos(0.5) – 1 x square root(3) = 4.1887902 – 1.7320508 = 2.4567394 sq ft. The liquid volume is 2.4567394 x 10 = 24.5673940 cu ft, or 183.78 gallons, which is 19.55 percent of the 940.03 gallon total capacity.

All volumes are for a plain tank shell with flat ends. Real tanks with dished or elliptical ends hold a few percent more, and internal fittings and baffles reduce the usable volume.

Worked Example

A vertical cylindrical tank 6 ft in diameter and 8 ft high, filled to a depth of 5 ft. All steps below use the unrounded values; displayed figures are rounded to two decimals only at the end.

Radius = 6 / 2 = 3 ft.

Total capacity = pi x 3 squared x 8 = 226.1946711 cu ft, displayed as 226.19 cu ft.

Total gallons = 226.1946711 x 7.48052 = 1,692.0537607, displayed as 1,692.05 gallons.

Total liters = 1,692.0537607 x 3.78541 = 6,405.1172265, displayed as 6,405.12 liters.

Liquid volume = pi x 3 squared x 5 = 141.3716694 cu ft, displayed as 141.37 cu ft.

Liquid gallons = 141.3716694 x 7.48052 = 1,057.5336005, displayed as 1,057.53 gallons.

Liquid liters = 1,057.5336005 x 3.78541 = 4,003.1982665, displayed as 4,003.20 liters.

Fill percentage = 5 / 8 x 100 = 62.50 percent.

Remaining capacity = 1,692.0537607 – 1,057.5336005 = 634.5201603 gallons, displayed as 634.52 gallons.

So the tank holds 1,057.53 gallons out of a 1,692.05 gallon capacity, and there is room for another 634.52 gallons.

Benefits of Using a Tank Volume Calculator

  • Uses the exact segment formula for horizontal tanks: no straight-line guess, so a dipstick reading at a quarter depth correctly reads about 19.55 percent full instead of 25 percent.
  • Shows capacity and contents together: total capacity, liquid volume, fill percentage and remaining capacity, so one calculation covers both ordering and checking.
  • Covers the three common tank shapes: vertical cylinder, horizontal cylinder and rectangular, with the right formula for each.
  • Compares fill levels side by side: the Compare Fill Levels tab shows the volume at 25, 50, 75 and 100 percent of depth, which makes the horizontal tank’s fill curve easy to see.
  • Gives three units at once: cubic feet, US gallons and liters, so the figure matches whichever unit the supplier, gauge or datasheet uses.
  • Free and instant: no sign-up, no download, and the results update as you type.

Frequently Asked Questions

Why is my horizontal tank not half full at half depth?

It is exactly half full at half depth, by symmetry. The surprise is everywhere else: the liquid cross-section is a circular segment, which is narrow near the bottom and top of the tank and widest at the middle, so each inch of depth adds less volume near the bottom and top than in the middle. At a quarter of the depth the tank holds only about 19.55 percent of its volume, and at three quarters it already holds about 80.45 percent. That is why a dipstick reading on a horizontal tank needs the segment formula or a strapping table rather than a straight proportion.

Should I measure inside or outside dimensions?

Inside dimensions, measured from the inner walls. The volume that matters is the space the liquid occupies, and the wall thickness of a steel or plastic tank can be a meaningful fraction of a small tank’s diameter. If you only know the outside diameter, subtract twice the wall thickness to get the inside diameter before entering it. For a horizontal cylinder, the length is the straight shell length between the two ends, not including any dished heads.

Do dished ends add volume?

Yes. Most real horizontal tanks have dished or elliptical ends rather than flat ones, and those heads add a few percent to the total capacity, typically 2 to 6 percent depending on the head type. This calculator covers the cylindrical shell with flat ends only, so its total capacity slightly understates a real dished-end tank, and the difference is concentrated at low and high levels. For an exact figure, use the tank manufacturer’s datasheet or its strapping table.

How do I measure the liquid depth?

With a dipstick, a gauge glass or an electronic level gauge, always measured from the bottom of the tank. On a horizontal tank, measure at the middle of the tank, where the depth is greatest and the reading matches the segment formula. Take the reading with the tank level and the liquid settled: a tank on a slope, or liquid sloshing after a delivery, gives a reading that does not match the true volume.

What is a strapping table and when do I need one?

A strapping table, also called a calibration table, is a table made by measuring a real tank’s volume at many depths, usually by filling it in measured amounts. It captures everything a formula misses: dished ends, wall thickness, dents, internal fittings and any tilt. For day-to-day checks a calculator is fine, but for custody transfer, billing, inventory accounting or any safety-critical work, the tank’s own strapping table is the authoritative reference, and this calculator should not replace it.

Disclaimer

This calculator gives estimates for a plain tank shell with flat ends, based on the dimensions you enter. Real tanks differ: dished or elliptical ends add volume, internal fittings, baffles and wall thickness reduce the usable volume, and a tank that is not level gives a depth reading that does not match its contents. The results are for planning and estimating only. Do not use them for custody transfer, billing, inventory accounting or safety-critical work; use the tank’s own calibration (strapping) table and manufacturer data for those purposes.

ADVERTISEMENT

ADVERTISEMENT