Construction calculator

Free Tank Volume and Fill calculator

Find a tank's full capacity and the volume of liquid at any fill level — in cubic feet, US gallons, and liters. Pick a shape, enter the dimensions, and add a fill height to see how many gallons are in the tank right now, with the horizontal-cylinder partial-fill math handled correctly — updated live, as you type.

InputsLive
Shape
Units
Diameter
ft
Length
ft
Fill height0 to 8 ft
ft
How the result is calculated
A tank's capacity is its internal volume, converted to gallons:gallons = volume (ft³) × 7.48052
  • Cylinder — π × radius² × length (or height)
  • Rectangular — length × width × height
  • Capsule — cylinder body plus two hemisphere caps
For a horizontal cylinder the filled volume uses the circular-segment area, because depth and volume are not proportional when the tank lies on its side.
Check our examples
8 ft × 10 ft on its side → water tank6 ft × 10 ft upright → storage tank6 × 4 × 5 ft → rectangular cistern
Result
Tank capacity
3,760 US gal
That's 14,234 L for a 8 ft dia × 10 ft long horizontal cyl.. At the current level it holds 735 gal (19.6% full).
Full capacity3,760 gal
Cubic feet502.7 ft³
Filled volume735 gal
Fill level19.6%
Full vs. filled volume
MeasureCubic feetUS gallonsLitres
Full capacity502.73,76014,234
At fill level98.37352,783

Volumes use 1 ft³ = 7.48052 US gallons = 28.3168 L. A horizontal cylinder's filled volume uses the circular-segment formula, so depth and gallons are not proportional. Capsule tanks report full capacity only.

Real tanks have wall thickness and dished ends. How accurate is this?

Results are estimates. Consult a professional.

How it's calculated

How the tank volume calculator works

A tank holds liquid, so its capacity is pure volume — the three-dimensional space inside the shell. The calculator takes the shape and the dimensions, works out the full volume in cubic feet, and converts that to the units you actually order in: US gallons and litres. Give it a fill height as well and it returns the volume of liquid sitting in the tank right now, not just the tank's total size.

vertical cylinder = π ×× h
horizontal cylinder = π ×× L
rectangular = L × W × H
gallons = cubic feet × 7.48052
The shape formulas are standard solid geometry. The horizontal-cylinder partial-fill formula uses the circular-segment area from Wolfram MathWorld. One US gallon is exactly 231 cubic inches, so one cubic foot is 7.48052 US gallons and 28.3168 litres.

What the two numbers mean

The full volume is the tank's rated capacity — what fits when it is brimful. The filled volume is what is in there at a given depth. For an upright tank the two track in a straight line, but for a cylinder lying on its side they do not, and that gap is where most quick estimates go wrong.

Component breakdown

What goes into a tank volume estimate

Three things set the answer: the shape, the dimensions, and the fill height. Get the shape wrong and even perfect measurements give the wrong volume, because each shape uses a different formula.

Shape — which formula applies

A tank standing upright is a vertical cylinder; one lying on its side is a horizontal cylinder. A box-shaped tank is rectangular. A long tank with rounded, dome-shaped ends is a capsule — a cylinder body capped by two hemispheres. The calculator picks the matching formula once you choose the shape.

Dimensions — diameter, length, height

Cylinders and capsules need a diameter and one length. A rectangular tank needs length, width and height. Measure the inside of the tank if you can; the wall thickness is small, but on a big tank it adds up. Every dimension here is in feet, with inches converted to feet by dividing by twelve.

Fill height — the liquid depth

The fill height is how deep the liquid sits, measured straight up from the lowest point of the tank. For an upright tank that depth maps directly to volume. For a tank on its side it does not, because the width of the liquid surface changes as the level rises.

Shape decides everything
The same diameter and length give very different capacities depending on whether the tank stands up, lies down, or has domed ends. Confirm the shape before you trust the number.
Example

A worked example using the tank volume calculator

Example: an 8 ft diameter horizontal tank, 10 ft long, filled to 2 ft

Priya has a cylindrical water tank lying on its side: 8 ft across and 10 ft long. The dip stick reads 2 ft of water. She wants the full capacity and how many gallons are in it right now.

Step 1 — Find the full capacity

Radius is half the diameter: 8 ÷ 2 = 4 ft. Full volume = π × 4² × 10 = 502.65 cu ft. In gallons that is 502.65 × 7.48052 = 3,760.12 gal (14,233.58 L).

Step 2 — Find the filled cross-section

The liquid forms a circular segment. Its area = r²·acos((r − f) ÷ r) − (r − f)·√(2rf − f²), with r = 4 and fill f = 2: that is 9.83 sq ft of cross-section.

Step 3 — Multiply by the length

Filled volume = 9.83 × 10 = 98.27 cu ft, which is 98.27 × 7.48052 = 735.11 gal (2,782.68 L).

Step 4 — Read the fill fraction

That 2 ft of water is a quarter of the tank's 8 ft diameter, yet it is only 19.6% of the capacity — 735 of 3,760 gallons. The bottom of a round tank is narrow, so a low reading holds less than the depth suggests.

2 ft of depth = 19.6% full, not 25%
Depth and volume are not the same thing in a horizontal tank. A dip stick marked in equal inches over-reports the gallons near the bottom and under-reports them near the top. The segment formula is what corrects it.
Quick reference

Tank volume by shape: full-capacity formulas

Every shape converts dimensions to cubic feet, then to gallons. This table is the full-capacity formula for each supported shape, with the gallons-per-foot conversion baked into the examples.

ShapeFull-volume formulaExample → gallons
Vertical cylinderπ × r² × h6 ft dia × 10 ft tall → 2,115 gal
Horizontal cylinderπ × r² × L8 ft dia × 10 ft long → 3,760 gal
RectangularL × W × H6 × 4 × 5 ft → 898 gal
Capsuleπ × r² × L + 4⁄3 × π × r³4 ft dia × 12 ft long → 1,379 gal

r = radius (half the diameter). Gallons = cubic feet × 7.48052. A capsule is a cylinder body plus two hemispherical end caps (one full sphere of the same diameter).

Volume-to-gallon and metric conversion factors follow the NIST customary-to-metric reference (US gallon = 231 in³ = 3.785 L). The capsule and cylinder formulas match the published CalculatorSoup and Omni tank-volume references.

For partial fill, the upright cylinder and the box are linear — the liquid volume is just the full formula with the fill height in place of the full height. The horizontal cylinder is the exception, and it gets its own section below.

The hard case

Why a half-full horizontal tank isn't half its gallons

Stand a cylinder upright and every inch of depth holds the same volume. Lay it on its side and that breaks. The liquid surface is narrow at the bottom of the circle, widest at the middle, and narrow again at the top, so each inch of depth holds a different amount.

The circular-segment formula

segment area =× acos((r f) ÷ r) (r f) × √(2rf f²)
filled volume = segment area × L

The cross-section of the liquid is a circular segment — the slice of a circle below a horizontal cut. The formula gives its area; multiply by the length and you have the volume. It is the part of tank math people get wrong, because it is tempting to assume depth and volume rise together. They do not.

What the curve looks like

Filling the first quarter of the diameter adds far fewer gallons than filling the middle quarter. In our 8 ft tank, 2 ft of water — a quarter of the height — is only 19.6% of capacity. Reach the halfway line at 4 ft and you are at exactly 50%, because the circle is symmetric about its centre. The shortfall at the bottom is mirrored by a surplus at the top.

Half depth = half volume — but only at the exact centreline
A horizontal cylinder is 50% full at half its diameter and nowhere else does depth equal volume percentage. Below the centreline you have less than the depth suggests; above it, more.
Practical

How to read a tank level and convert it to gallons

A level reading is a height; capacity is a volume. To turn one into the other you need the tank's shape and dimensions, then the right formula.

  • Measure the depth — drop a dip stick or read the sight gauge to get the liquid height from the bottom of the tank, in feet.
  • Pick the shape — upright, on its side, box, or domed-end capsule. This sets which formula applies.
  • Apply the fill formula — upright cylinder and box: full formula with fill height swapped in. Horizontal cylinder: the circular-segment formula above.
  • Convert to gallons — multiply the filled cubic feet by 7.48052 for US gallons, or by 28.3168 for litres.

If you need the dry volume of bedding, backfill, or a base pad around the tank instead, the sand calculator and concrete calculator handle those.

Headroom

Ullage and safe fill: why you don't fill to 100%

Rated capacity and usable capacity are not the same. Tanks are almost never filled to the brim. The empty space left on top is called ullage, or outage, and it exists for good reasons — so the rated gallons and the gallons you can safely store are two different numbers.

Why the headroom exists

Liquids expand as they warm, so a tank filled solid on a cold morning can overflow by afternoon. Vapour needs somewhere to go. Fittings and the filler neck sit above the true top. For these reasons a safe fill is often 80 to 95% of rated capacity, depending on the liquid and the code that governs it.

Working with usable volume

Take the full capacity from the calculator, then multiply by your safe-fill fraction to get usable gallons. An 80% safe fill on our 3,760-gallon tank leaves about 3,008 usable gallons. Always size to usable volume, not rated volume — the headroom is not yours to use.

Plan on usable gallons, not rated gallons
Rated capacity is the geometry. Usable capacity is the geometry minus the ullage your liquid and code require. Confirm the safe-fill percentage for your application before you commit to a tank size.
Definitions

Tank volume definitions

The full internal volume of the tank when brimful, usually quoted in US gallons or litres. The rated number on a spec sheet. An 8 ft × 10 ft horizontal cylinder holds about 3,760 gallons.
The depth of liquid measured straight up from the lowest point inside the tank. For an upright tank it maps linearly to volume; for a tank on its side it does not.
The region of a circle cut off by a straight horizontal line — the cross-section shape of liquid in a horizontal cylinder. Its area drives the partial-fill formula.
A cylinder body capped at each end by a hemisphere (a dome). Its volume is the cylinder plus one full sphere of the same diameter. Common for pressure vessels and propane tanks.
The empty space left at the top of a filled tank, allowing for thermal expansion and vapour. Safe fill is typically 80–95% of rated capacity, so ullage is the gap between rated and usable volume.
A volume of exactly 231 cubic inches, or about 3.785 litres. One cubic foot is 7.48052 US gallons. Distinct from the larger Imperial gallon used elsewhere.
Accuracy

How accurate is this tank volume calculator?

The volume math is exact. Every shape formula is closed-form geometry, and the circular-segment formula for a horizontal cylinder is exact too — it is validated against the known cases of empty, half-full and full, where it returns zero, half the circle area and the full circle area to the decimal. If your dimensions are right, the volume is right.

The limits are in the measurements and the model. Real tanks have wall thickness, internal baffles, and sometimes dished or coned ends rather than true flat or hemispherical ones, and any of those shifts the true volume by a percent or two. Partial fill is computed for upright cylinders, boxes and horizontal cylinders; for capsules the calculator returns full capacity only, because the liquid level moving through the rounded end caps needs a separate formula. Measure the inside dimensions, confirm the end-cap shape, and treat the result as the precise volume of an idealised tank — which is within a hair of the real one for the vast majority of installations.

Questions

Frequently asked questions about the free Tank Volume and Fill calculator

A tank Volume and Fill calculator is a free online tool that helps you calculate tank capacity and the filled volume at any level — for vertical and horizontal cylinders, rectangular, and capsule tanks. Tank capacity is pure volume — shape and dimensions set the cubic feet, which convert to gallons and liters. A horizontal cylinder's filled volume is the hard part, because depth and gallons aren't proportional. It runs entirely in your browser with instant results and no sign-up.
Measure the liquid depth from the bottom, pick the tank shape, then apply the matching formula. Upright tanks and boxes are linear; a horizontal cylinder uses the circular-segment formula. Multiply the filled cubic feet by 7.48052 for US gallons.
Lying on its side, a cylinder is narrow at the bottom and top and widest in the middle, so each inch of depth holds a different amount. It's exactly 50% full only at the centerline (half the diameter); below that, it holds less than the depth suggests.
Divide liters by 3.78541 to get US gallons, or multiply US gallons by 3.78541 to get liters. One cubic foot is 7.48052 US gallons or 28.3168 liters.
A capsule is a cylinder body capped by two hemispheres — one full sphere. Volume = π·r²·L + 4⁄3·π·r³. This calculator reports a capsule's full capacity; partial fill through the rounded ends needs a separate formula.
No — plan on usable volume. Tanks are filled to about 80–95% to leave ullage for thermal expansion and vapor, so multiply the rated capacity by your safe-fill fraction before sizing.
About

About this tank volume and fill calculator

This calculator runs entirely in your browser — nothing you enter is sent anywhere. It computes full capacity for vertical and horizontal cylinders, rectangular, and capsule tanks, and the filled volume at a given depth, using exact geometry validated against known cases.

Browse more tools in construction calculators or the full calculator library.

Want a calculator built for your business?

Customize any of our 400+ tools to match your brand, or commission a new one tailored to how your business actually calculates — pricing, payroll, quotes, anything. Deployed on your domain, math runs in your visitors' browsers.