Black Friday: 50% off every paid plan with code BF50. Ends 5 December.

See prices

Free tool

Tank volume calculator, capacity, fill level and depth.

Pick a vertical or horizontal cylinder, a capsule, an oval, a tapered tank, a rectangular tank, a cylinder with a cone bottom or a sphere, type its inside sizes and get the capacity in US gallons, UK gallons, litres and cubic feet. Then type a liquid depth to see the volume, the percent full and the space left, or type a volume to find the depth. Add an outlet height, an overflow height and a flow rate for the usable volume and the time to fill or empty. A side drawing and a fill chart show the level.

Need a custom tool, app or website? Contact us 

What to find

Outlet, overflow and flow (optional)

Heights are measured from the lowest point in the size unit above. They give the usable volume. The flow rate gives the time to empty or fill.

Flat ends on the plain cylinders, and the sizes are the inside sizes. Depth is measured from the lowest point of the tank.

Worked out in your browser. Nothing is sent anywhere.

Guide

How to find tank volume, with worked examples.

A tank volume calculator works out how many gallons or litres a tank holds, and how much is in it at a given liquid depth. Choose a vertical or horizontal cylinder, a capsule, an oval tank, a tapered tank, a rectangular tank, a cylinder with a cone bottom or a sphere, type its inside sizes, and get the capacity, the liquid volume, the percent full and the space left, with a side drawing of the level. You can also work backwards from a volume to the depth, find the usable volume between an outlet and an overflow, see how long a pump takes to fill or empty the tank, and read a fill chart for every 10 percent of the height.

How to use the tank volume calculator

  1. Pick the Tank shape. The size boxes change to match: diameter and height, diameter and length, length, width and height, and so on.
  2. Type the inside sizes and choose the Size unit: feet, inches, metres, centimetres, yards or millimetres.
  3. Choose How much is in it? and type the Liquid depth, measured from the lowest point, or choose How deep for a volume? and type the volume in gallons, litres, cubic feet or cubic metres.
  4. Read the liquid volume and the percent full, then the capacity and the space left, in US gallons, UK gallons, litres and cubic feet. The drawing shows the level, and Steps shows the formulas.
  5. Open Outlet, overflow and flow to type the height of the drain outlet, the height of the overflow and a flow rate. You then see the usable volume, the volume above the outlet right now, and the time to empty or fill.
  6. The fill chart under the result lists the depth and volume at every 10 percent of the height. Copy link keeps all your inputs in the address.

The formulas

TankFullAt depth d
Vertical cylinderπ r² hπ r² d
RectangularL × W × HL × W × d
Horizontal cylinderπ r² LL × (r² arccos((r − d) ÷ r) − (r − d) √(2rd − d²))
Sphere4/3 π r³π d² (3r − d) ÷ 3
Cone bottomπ r² (cone ÷ 3 + height)π r² d³ ÷ (3 k²) in the cone, then adds π r² per unit above it
Capsuleπ r² (overall length − 2r) + 4/3 π r³the straight part as a horizontal cylinder plus a sphere cap π d² (3r − d) ÷ 3
Oval, horizontalπ a b Lthe circle formula for the height, stretched by a ÷ b
Oval, verticalπ a b hπ a b d
Tapered (frustum)π h (R² + R r + r²) ÷ 3the same formula with the radius at depth d in place of r and d in place of h

Gallons are US gallons: one US gallon is 231 cubic inches, which is 3.785411784 litres exactly (NIST Handbook 44, Appendix C, checked 24 Oct 2026). One cubic foot holds about 7.4805 of them. The same source says the Imperial (UK) gallon is about 20 percent larger, which is 4.546 litres, and the page shows UK gallons too.

Worked example: a vertical tank

A vertical tank 4 ft across and 6 ft tall holds π × 2² × 6 = 75.40 cubic feet, or 564.0 US gallons. Filled to 3 ft it holds half, 282.0 gallons, and each foot of depth adds 94.0 gallons. This is the one case where the volume rises in a straight line with the depth.

Worked example: a horizontal tank

A tank 4 ft across and 10 ft long, lying down, holds 940.0 gallons when full. At 1 ft deep (a quarter of the diameter) it holds 183.8 gallons, which is 19.6%, and not 25%. The level rises quickly in the middle and slowly near the top and bottom, so a depth reading must go through the formula. Half full by depth, 2 ft, is half full by volume, 470.0 gallons.

Worked example: capsule, oval and tapered tanks

A capsule tank 4 ft across and 10 ft long overall has a straight part 6 ft long and a rounded end at each side. It holds π × 2² × 6 + 4/3 × π × 2³ = 108.91 cubic feet, or 814.7 gallons, and at 1 ft deep it holds 149.4 gallons. An oval tank 5 ft wide, 3 ft high and 8 ft long holds π × 2.5 × 1.5 × 8 = 94.25 cubic feet, or 705.0 gallons. A tapered tank 4 ft across at the bottom, 2 ft across at the top and 3 ft high holds 21.99 cubic feet, or 164.5 gallons, and half of its height holds 108.7 gallons, more than half, because the lower half is the wide half.

Worked example: rectangular, cone bottom and sphere

A rectangular tank 5 ft by 3 ft by 4 ft holds 448.8 gallons. A tank 4 ft across with a 5 ft straight side and a 2 ft cone bottom holds 532.7 gallons, and at 1 ft deep it holds only 7.8, because the cone is narrow at the tip. A sphere 6 ft across holds 846.0 gallons.

Usable volume, outlet and overflow

The number on a tank is its full capacity. What you can use is smaller. Liquid below the drain outlet cannot run out, and a tank is not filled above its overflow. Type both heights, measured from the lowest point, and the page gives the volume between them. For the 4 ft by 6 ft vertical tank with an outlet at 0.5 ft and an overflow at 5.5 ft, the usable volume is 470.0 gallons. With the tank half full (282 gallons), 235 gallons sit above the outlet.

How long to fill or empty

Time = volume ÷ flow rate. Type a flow rate in US gallons or litres per minute. For the example above, a 20 gallon per minute pump empties the 235 usable gallons in 11.75 minutes, shown as 12 min. The estimate assumes a steady flow. A real pump slows as the level falls or as a filter clogs, so treat it as a plan, not a promise.

Depth from a volume

For a vertical tank, depth = volume ÷ base area, so 282 gallons in the 4 ft tank is 3.0 ft. For the other shapes there is no simple rearrangement, so the page tries depths until the volume matches. Use it, or the fill chart, to mark a gauge with 25%, 50% and 75% levels.

Common problems

  • Outside and inside sizes. Use the inside diameter or length. A thick wall holds less than the outside suggests.
  • Rounded or dished ends. The plain cylinders here have flat ends. A tank with domed ends holds more than the number shown, and the real figure is on its data plate. The capsule shape covers fully round ends.
  • Gallons. A UK gallon is bigger than a US one, so a tank rated in imperial gallons shows a different number.
  • Depth from the wrong point. Depth is measured from the lowest point of the inside, not from the ground.

For other shapes see the area and volume calculator, and for other units the unit converter.

Questions

Good to know.

How do I calculate the volume of a tank?

Pick the shape, type the inside sizes, and the page applies the formula. For a vertical cylinder it is π × r² × height.

How many gallons does my tank hold?

Type the inside sizes in feet or inches. The first cards show US gallons, litres, cubic feet and UK gallons.

How do I find how much is in a partly full tank?

Type the liquid depth, measured from the lowest point. The page shows the volume, the percent full and the space left.

Is half the depth half the volume?

For a vertical tank or a rectangular one, yes. A lying cylinder, a capsule, an oval tank and a sphere are also half full at half the height. Other depths do not match in proportion.

What is usable volume?

The liquid between the drain outlet and the overflow. Type both heights in the optional box and the page gives it.

How long will a tank take to fill or empty?

Divide the volume by the flow rate. Type the flow in US gallons or litres per minute and the page does it for you.

Can it find the depth for a volume?

Yes. Choose How deep for a volume, type the amount, and read the depth. It works for every shape.

Do I use the inside or outside size?

The inside. A thick wall makes the real capacity smaller than the outside sizes suggest.

What about tanks with dished ends?

The plain cylinders have flat ends. For rounded ends use the capsule shape. The horizontal cylinder page has elliptical and hemispherical heads and a dipstick chart.

Are the gallons US or UK?

The main answer is in US gallons, and the cards also show UK gallons and litres.

Listed on

Listed on JustMacAppsMotionShine on Mac App IndexMotionShine on ScrollLaunchMotionShine featured on StartupBaseFeatured on FazierFeatured on Twelve ToolsMotionShine - Featured on Smol Launch