Tank Volume Calculator

Maintained by theEditorial Team
0% full depth
0%
More options (liquid weight, safe fill limit, decimals)
%
Horizontal Cylinder Live Proportions
View:
Live scale diagram of the tank showing liquid fill level and dimensions
Total Tank Capacity
940.03 US Gallons
Filled: 321.98 US gal (34.3% full by volume)
Volume vs Depth %
34.3%
Rounded shapes have unequal volume and depth curves
Ullage (Empty Space)
618.05 US gal
2,339.57 Liters remaining
Usable at Safe Limit (100%)
940.03 US gal
3,558.38 Liters
Liquid Weight (Water)
2,685 lb (1,218 kg)
Full: 7,840 lb (3,556 kg)
Full Capacity and Volume in 8 Standard Units
Unit Total Capacity Filled Volume

Tank Strapping Table & Dipstick Calibration

Calibrate your measuring stick for every inch or centimeter of liquid depth.

Liquid Depth vs Filled Volume Calibration Curve
Strapping calibration line chart
Tank actual volume (S-curve in horizontal tanks) Linear reference (vertical cylinder/box)
Liquid Depth US Gallons Liters % Full
The selected increment results in more than 2,000 rows. Please select a larger increment (e.g. 2 in, 3 in, or 5 cm).

Use this tank volume calculator to find the total capacity and the filled volume of 15 tank shapes, from horizontal cylinders and oval oil tanks to capsules, cone bottom tanks, and spheres. Enter the inside dimensions, add the liquid depth if you know it, and get results in US gallons, liters, cubic feet, and five more units. The live diagram shows your tank to scale, and the dipstick chart tab turns any tank into a printable fill chart.

How to Use the Tank Volume Calculator

You only need a tape measure and a minute. Here's how it works:

  1. Pick your tank shape. Tap the icon that looks like your tank. Not sure? Horizontal tanks lie on their side, and vertical tanks stand upright.
  2. Enter the inside dimensions. Type the length, diameter, width, or height. Each box has its own unit, so you can mix feet and inches. Fractions like 36 1/2 work too.
  3. Add the fill depth (optional). Measure the liquid from the lowest inside point of the tank, or enter a percent. Drag the slider to see the level change.
  4. Read your results. You'll see the total capacity and the filled volume in gallons, liters, cubic feet, and more. You'll also get the empty space, the liquid weight, and a link you can share.

Want the opposite? Switch on "I know the volume" mode. Enter the gallons you have, and the tool tells you how deep the liquid should be.

4 Quick Steps to Accurate Tank Volume

Tank Shapes This Calculator Covers

Every tank volume formula follows one idea. Find the area of the tank's cross-section, then stretch that area across the length or height. Rounded ends and cones add their own pieces on top. This table shows what to measure for each shape.

Tank shape What to measure Common uses
Horizontal cylinderLength, diameterFuel tanks, water tanks, tanker trailers
Vertical cylinderHeight, diameterWater storage, rain tanks, chemical tanks
Rectangular (box)Length, width, heightTotes, sumps, troughs, aquariums
Horizontal ovalLength, width, heightTruck fuel tanks, transfer tanks
Vertical ovalLength, width, height275 gallon heating oil tanks
Horizontal capsuleDiameter, straight lengthPropane tanks, air receivers
Vertical capsuleDiameter, straight heightPressure tanks, well tanks
2:1 elliptical headsDiameter, shell lengthPressure vessels, process tanks
Dish endsDiameter, shell length, dish depthFuel and water tanks with shallow heads
Elliptical (true ellipse)Length, width, heightElliptical tanker and trailer tanks
SphereDiameterWater towers, gas storage
Cone bottomDiameters, cone height, cylinder heightHoppers, brewing tanks, feed bins
Cone topDiameters, cone height, cylinder heightSilos and tanks with sloped roofs
FrustumTop diameter, bottom diameter, heightFunnels, tapered tubs, buckets

Tank Volume Formulas for Every Shape

The formulas below give volume in cubic units. If you measure in inches, you get cubic inches. Divide cubic inches by 231 to get US gallons, or multiply cubic feet by 7.48052. In every formula, r is the radius (half the diameter) and f is the fill depth measured from the bottom.

Horizontal Cylinder Tank Formula

L d r f

A horizontal cylinder is a circle stretched along its length, so its total volume is the circle area times the length.

V = π × r² × L

The filled volume uses the area of a circular segment, the slice of the circle covered by liquid:

V(fill) = [r² × acos((r − f) / r) − (r − f) × √(2rf − f²)] × L

This one formula works at any fill level, from empty to full. You'll find a full breakdown in the partial fill section below, and our horizontal tank volume tool focuses on this shape alone.

Vertical Cylinder Tank Formula

h r d f

A vertical cylinder is the easiest tank to measure. The liquid forms a shorter cylinder with the same radius.

V = π × r² × h and V(fill) = π × r² × f

Because the sides are straight, every inch of depth holds the same amount. Half the depth means half the volume. For more on upright tanks, see our vertical cylinder tank calculator.

Rectangular Tank Formula

l w h f

A rectangular tank, also called a rectangular prism or box, has flat sides.

V = l × w × h and V(fill) = l × w × f

Like a vertical cylinder, depth and volume rise together in a straight line.

Horizontal Oval Tank Formula

w h a r f

An oval (stadium or obround) tank has two half circles joined by a flat middle. When it lies flat, the width w is larger than the height h. Use r = h ÷ 2 and the flat middle width a = w − h.

V = (π × r² + 2 × r × a) × L

To find the filled volume, treat the tank as a horizontal cylinder split in half with a rectangular section in between:

V(fill) = [segment area at depth f + a × f] × L

Vertical Oval Tank Formula

h w a f

Stand the same oval on its edge and the height h is larger than the width w. Now r = w ÷ 2 and a = h − w. The total volume formula stays the same. The fill depends on where the liquid sits:

  • Below the bottom curve (f ≤ r): use the circular segment area at depth f.
  • In the straight middle (r < f ≤ r + a): half circle area plus 2 × r × (f − r).
  • In the top curve (f > r + a): full tank minus the dry cap at the top.
V = (π × r² + 2 × r × a) × L

Horizontal Capsule Tank Formula

a d r f

A capsule tank is a cylinder with a half sphere glued onto each end. Put the two ends together and you get a full sphere.

V = π × r² × (a + 4/3 × r), where a is the straight side length

For the filled volume, add the cylinder fill and the sphere fill:

V(fill) = cylinder segment × a + π × f² × (3r − f) / 3

The second piece is the formula for a spherical cap. You can read more about it in our hemisphere volume guide.

Vertical Capsule Tank Formula

a d r f

Turn the capsule vertical and the total volume is the same, but the fill has three stages:

  • Bottom dish (f ≤ r): a spherical cap, π × f² × (3r − f) / 3.
  • Straight middle (r < f ≤ r + a): bottom half sphere plus a cylinder of height f − r.
  • Top dish (f > r + a): full tank minus the dry spherical cap left above the liquid.
V = π × r² × (a + 4/3 × r)

Tank With 2:1 Elliptical Heads Formula

a d/4 d f

In ASME pressure vessels, a 2:1 semi-elliptical head has a depth equal to one-quarter of the tank diameter (d ÷ 4). Both heads together have the volume of a sphere squashed by half along one axis:

V(both heads) = π × d³ / 12
V = π × r² × a + π × d³ / 12

Partly filled 2:1 elliptical heads scale with the cylinder segment: the head fill fraction at depth f equals (3f/d − 2(f/d)²) × cylinder segment fraction.

Tank With Dish Ends Formula

a b r R

Dish ends (torispherical or spherical caps) are curved outward by a dish depth b. A shallow dish with radius r and depth b cut from a larger sphere of radius R has a radius of (r² + b²) ÷ (2b).

V(one dish) = π × b² × (3R − b) / 3, where R = (r² + b²) / (2b)
V = π × r² × a + 2 × V(one dish)

There's no simple closed formula for a partly filled dish. The calculator slices each dish into hundreds of thin circles and adds up the liquid in each one. When the dish depth equals the radius, the dish becomes a half sphere and the answer matches the capsule tank.

Elliptical Tank Formula

w h f

A true elliptical tank has an oval cross-section shaped like a stretched circle, not a stadium. Here w is the width, h is the height, and h is always the vertical measurement.

V = π × w × h × L / 4
V(fill) = (w × h / 4) × [acos(1 − 2f/h) − (1 − 2f/h) × √(1 − (1 − 2f/h)²)] × L

Spherical Tank Formula

r d f
V = (4/3) × π × r³ and V(fill) = π × f² × (3r − f) / 3

The filled part is a spherical cap, the same piece used for capsule ends. Our guide to half sphere volume shows where this formula comes from.

Cone Bottom Tank Formula

hcyl hc R r f

A cone bottom tank is a cylinder sitting on a frustum (a cone with its tip cut off). Add the two parts:

V(frustum) = (1/3) × π × hc × (R² + R × r + r²), where R is the top radius and r is the outlet radius
V = V(frustum) + π × R² × hcyl

Liquid fills the cone first, then the cylinder. You can see a full worked example in our conical bottom tank guide.

Cone Top Tank Formula

hc hcyl R f

A cone top tank has the same parts in reverse. The cylinder sits at the bottom and the cone narrows toward the top. The total volume is identical, but the liquid fills the cylinder first.

Frustum Tank Formula

h R dt r db f
V = (1/3) × π × h × (R² + R × r + r²)

For a partly filled frustum, the calculator finds the radius at the liquid surface first, then uses the same formula with the fill depth as the height.

How Partial Fill Works in a Horizontal Tank

In a horizontal tank, the depth of the liquid and the volume of the liquid don't rise at the same rate. The tank is narrow at the bottom, wide in the middle, and narrow again at the top. So the first few inches hold less liquid than the inches near the middle.

The math uses a circular segment, the part of a circle cut off by a straight line. In a tank, that straight line is the liquid surface. The segment area depends on the central angle θ (theta):

θ = 2 × acos((r − f) / r) and A = (1/2) × r² × (θ − sin θ)

Multiply A by the tank length and you have the filled volume. If you want the full proof, Wolfram MathWorld has a clear definition of the circular segment.

Here's what that means in practice for any horizontal cylinder:

Fill depth (% of diameter) Volume (% of capacity)
10%5.2%
20%14.2%
25%19.6%
30%25.2%
40%37.3%
50%50.0%
60%62.7%
70%74.8%
75%80.4%
80%85.8%
90%94.8%

A gauge reading of one quarter does not mean one quarter of the fuel. At 25% depth, the tank holds only about 19.6% of its capacity. That's why dipstick charts exist. Learn how to build one in our guide to horizontal tank dipstick charts.

Circular Segment & Partial Fill Dynamics
Drag the fill depth slider to inspect central angle, chord length, and the non-linear volume relationship.
θ
Central Angle (θ)153.2° (2.67 rad)
Liquid Chord Width95.4%
Segment Area31.2%
Depth % vs Vol %35.0% → 31.2%
Depth % vs Volume % Response Curve
Vertical tank (straight line)0%Depth %100%

Tank Volume Examples (US Units)

Example 1: Vertical Water Tank

A vertical water tank is 4 feet across and 6 feet tall. The water is 5 feet deep.

  • Radius = 2 ft
  • Total volume = π × 2² × 6 = 75.40 cubic feet = 564.0 US gallons
  • Filled volume = π × 2² × 5 = 62.83 cubic feet = 470.0 US gallons (83.3% full)

Example 2: Horizontal Fuel Tank

A horizontal fuel tank is 48 inches in diameter and 10 feet (120 inches) long. The dipstick reads 18 inches.

  • Radius = 24 in
  • θ = 2 × acos((24 − 18) ÷ 24) = 2.636 radians
  • Segment area = (1/2) × 24² × (2.636 − sin 2.636) = 619.8 square inches
  • Filled volume = 619.8 × 120 = 74,377 cubic inches ÷ 231 = 322.0 US gallons
  • Total capacity = π × 24² × 120 ÷ 231 = 940.0 US gallons

The depth is 37.5% of the diameter, but the tank is only 34.3% full by volume. Learn how fleet and plant engineers handle this in our fuel tank capacity guide.

Example 3: Rectangular Water Tote

A rectangular tank is 8 feet long, 4 feet wide, and 3 feet tall, with 2 feet of water.

  • Total volume = 8 × 4 × 3 = 96 cubic feet = 718.1 US gallons
  • Filled volume = 8 × 4 × 2 = 64 cubic feet = 478.8 US gallons

Example 4: 500 Gallon Propane Tank

A common 500 gallon propane tank is about 37 inches in diameter and about 120 inches long from end to end. The ends are half spheres, so the straight side is 120 − 37 = 83 inches.

  • Total volume = π × 18.5² × 83 + (4/3) × π × 18.5³ = 115,764 cubic inches = 501.1 US gallons

Propane tanks are filled to about 80% of their volume, which is about 401 gallons.

Here's the catch. 80% of the volume is not 80% of the height. At 80% of the diameter (29.6 inches), this tank is already 86.6% full. Read more in our propane tank 80% fill rule guide.

Interactive Worked Examples
Tap "Load this example" on any card below to instantly populate the calculator.
d = 4 fth = 6 ftf = 5 ft
Example 1
Vertical Water Tank
Diameter 4 ft, Height 6 ft, Fill 5 ft
Capacity: 564.0 US gal
Filled: 470.0 US gal (83.3%)
Fill: 5.0 ft83.3%
L = 120 in (10 ft)d = 48 inf = 18 in
Example 2
Horizontal Fuel Tank
Diameter 48 in, Length 10 ft, Dipstick 18 in
Capacity: 940.0 US gal
Filled: 322.0 US gal (34.3%)
Fill: 18.0 in37.5%
l = 8 ftw = 4 fth=3, f=2
Example 3
Rectangular Water Tote
Length 8 ft, Width 4 ft, Height 3 ft, Fill 2 ft
Capacity: 718.1 US gal
Filled: 478.8 US gal (66.7%)
Fill: 2.0 ft66.7%
a = 83 in (straight)d = 37 in
Example 4
500 Gal Propane Tank
Diameter 37 in, Straight side 83 in, 80% Rule
Capacity: 501.1 US gal
Filled: 400.9 US gal (80.0%)
Fill: 29.6 in80.0%

Tank Volume vs Tank Capacity

People often use these two words for the same thing, but they mean different things in the field.

Tank volume is the total space inside the tank. It's what the geometry gives you.

Tank capacity (or working capacity) is how much you should actually put in. Most tanks need empty space at the top for expansion, vapor, vents, and safety.

Many liquid storage tanks are filled to about 90% to 95% of their volume. Propane tanks stop at about 80% because liquid propane expands a lot as it warms up. Fuel oil tanks also need room for expansion and for the vent alarm to work. Use the "Safe fill limit" option in the calculator to see your usable gallons at any limit.

Tank Capacity vs Usable Working Volume
Illustrating safe expansion headspace using a nominal 1,000 US Gallon tank benchmark.
Vapor 200 galUsable 800 gal
Total Geometric Volume:1,000.0 US gal
Usable Liquid Storage:800.0 US gal
Safety Vapor Headspace:200.0 US gal

Tank Volume Unit Conversions

The calculator converts every result for you, but here are the exact factors if you're working by hand. These values follow the US standards published in the NIST guide to SI units and conversions.

From To Multiply by
Cubic inchesUS gallons÷ 231
Cubic feetUS gallons7.48052
Cubic feetLiters28.3168
US gallonsLiters3.78541
Imperial gallonsUS gallons1.20095
Cubic metersUS gallons264.172
Cubic metersLiters1,000
Oil barrelsUS gallons42

A US gallon (3.785 L) is smaller than an Imperial gallon (4.546 L). If your tank came from the UK or Canada, check which gallon the label uses. For quick swaps, try our liters to gallons converter or the cylinder volume in cubic feet tool.

Multi-Unit Volume Conversion Strip
Enter any quantity to instantly view reciprocal values across all 8 standard measurement units.

How Much Does the Liquid in Your Tank Weigh?

Knowing the weight helps you plan a stand, a slab, a trailer, or a roof mount. Multiply the gallons by the weight per gallon of your liquid.

Liquid Approx. weight per US gallon
Water8.34 lb
Seawater8.55 lb
Vegetable oil7.7 lb
No. 2 heating oil7.2 lb
Diesel7.1 lb
Kerosene6.8 lb
Gasoline6.1 lb
Liquid propane4.2 lb

These are typical values at about 60°F. Water gets a little lighter as it warms, as the USGS water density data shows. A full 1,000 gallon water tank holds about 8,340 pounds of water before you count the tank itself. For metal tanks and full cylinders, our cylinder weight calculator can help.

Liquid Density and Weight Comparison
Visualizing payload weight per gallon at standard 60°F conditions.

How to Measure Your Tank Correctly

Small measuring errors turn into big gallon errors, because the radius gets squared. A 1 inch mistake on a 48 inch tank changes the result by about 4%. Follow these tips:

  • Use inside dimensions. Subtract the wall thickness twice from the outside diameter. Thick plastic and fiberglass walls can be half an inch or more.
  • Measure the straight part separately. For capsule, 2:1, and dish end tanks, measure the straight shell length, or use the "overall length" toggle and let the calculator subtract the heads.
  • Find the diameter from the circumference. Wrap a tape around the tank and divide by 3.1416. Then subtract the walls. Our radius from circumference tool does the math for you.
  • Measure fill depth from the lowest inside point. Use a clean dipstick and read it at the center of the tank, not near the ends.
  • Check that the tank is level. A tilted horizontal tank reads high at one end and low at the other.

If your tank holds water at home, our home water tank capacity guide walks through common household setups.

Interactive Tank Measurement Inspection Guide
Toggle between critical inspection points to see common measuring pitfalls.
Inside vs Outside Diameter: Always subtract wall thickness twice (t × 2) from outer measurements. A 0.5-inch fiberglass wall on a 48-inch tank reduces volume by over 4%.

Make a Dipstick Chart for Your Tank

A dipstick chart (also called a tank chart or strapping table) lists the gallons for each inch of depth. It saves you from doing math every time you check your level.

Switch to the Dipstick Chart tab in the calculator, pick an increment such as 1 inch or 1 centimeter, and the tool builds a full table from empty to full. Download it as a CSV file or print it and tape it near the tank.

Sample Strapping Table (48 in × 10 ft Horizontal Tank)

Notice the uneven steps: the first 6 inches hold about 68 gallons, while the 6 inches just below the middle hold about 148 gallons.

DepthVolume% Full
6 in67.8 gal7.2%
12 in183.8 gal19.6%
18 in322.0 gal34.3%
24 in470.0 gal50.0%
30 in618.1 gal65.7%
36 in756.3 gal80.4%
42 in872.2 gal92.8%
48 in940.0 gal100.0%

Special Cases: Septic, Fuel, Propane, and Chemical Tanks

The geometry doesn't change based on what's inside the tank. What changes is how you pick the size.

  • Septic tanks: Size is set by your local health department based on bedrooms, daily flow, and soil. Use the calculator to check a tank's gallons, then confirm the size with your local authority. The EPA's septic care guide explains why regular pumping matters. Our septic tank sizing guide covers typical sizes.
  • Heating oil and fuel tanks: Leave expansion room at the top and use a dipstick chart to track deliveries.
  • Propane tanks: Fill only to about 80% of volume. Your propane supplier handles the fill, but this tool helps you read your gauge in gallons.
  • Chemical storage tanks: Sizing depends on the chemical, the code that applies, and secondary containment needs. Have an engineer or the right agency review your final size.
  • Rainwater tanks: Match the tank to your roof area and rainfall. Our rainwater tank sizing guide shows the math.
Special Application Engineering Cards
Select any tank use case for sizing standards, safety thresholds, and specialized guides.
🚽Septic Tanks↓

Sized strictly by state health codes using bedroom count and soil percolation rate. Requires working retention volume plus sludge settlement zone.

Read Septic Tank Sizing Guide →
🛢️Heating Oil & Fuel Tanks↓

Common standard is 275-gal vertical oval. Always maintain 10% ullage so high-fill vent whistles operate properly without overfilling spills.

Read Dipstick Chart Guide →
🔥Liquid Propane Tanks↓

Must never exceed 80% volume fill. Liquid propane expands 17 times faster than water under ambient heating, needing ample expansion headspace.

Read Propane 80% Rule Guide →
⚗️Chemical Storage Vessels↓

Requires specific gravity structural allowances and secondary containment sizing of at least 110% of total vessel capacity.

Read Pressure Vessel Guide →
🌧️Rainwater Harvesting↓

Capacity calculated from catchment roof area (sq ft) multiplied by 0.623 per inch of rainfall, deducting filter first-flush runoff.

Read Rainwater Harvesting Guide →

Frequently Asked Questions

How do I calculate the volume of a tank in gallons?

Find the volume in cubic inches with the formula for your tank shape, then divide by 231. If you measured in feet, multiply cubic feet by 7.48052. For example, a vertical tank 24 inches wide and 32 inches tall holds π × 12² × 32 = 14,476 cubic inches, or 62.7 US gallons.

What's the difference between tank volume and tank capacity?

Tank volume is all the space inside the tank. Tank capacity is the amount you can safely store, which leaves room at the top for expansion and vapor. Many tanks are filled to 90% to 95% of their volume, and propane tanks to about 80%.

Is the fill depth percentage the same as the volume percentage?

Only in tanks with straight sides, like vertical cylinders and rectangular tanks. In horizontal and rounded tanks, they differ. A horizontal cylinder filled to 25% of its diameter holds only about 19.6% of its capacity.

How many gallons are in a tank that is 4 feet wide and 8 feet long?

A horizontal cylinder 4 feet in diameter and 8 feet long holds π × 2² × 8 = 100.5 cubic feet. Multiply by 7.48052 and you get about 752 US gallons when full.

How do I measure a tank with rounded ends?

Measure the diameter and the straight side length between the ends. If you can only measure the overall length, pick the "overall length" option in the calculator. It subtracts the rounded ends for you based on the head type.

Why does my 275 gallon oil tank show fewer gallons?

A common vertical oval heating oil tank measures about 27 inches wide, 44 inches tall, and 60 inches long. Its exact geometric volume is about 268 gallons. Tank sizes are nominal labels, and real dimensions vary by maker, so always measure your own tank.

How full can a propane tank be filled?

Propane tanks are filled to about 80% of their volume. The extra space lets the liquid expand safely as it warms up. A 500 gallon tank holds about 400 gallons of propane when full.

Can I use this calculator for septic tank sizing?

Yes, for checking a tank's volume. Enter the inside dimensions to get the gallons. But the size you need is set by your local health department, so confirm it with them before you buy or install a tank.

How accurate is the tank volume calculator?

The math is exact for perfect geometric shapes. Real tanks have dents, fittings, sloped bottoms, and wall thickness, so treat the result as a close estimate. Accurate inside measurements matter more than anything else.

How do I convert cubic feet to gallons?

Multiply cubic feet by 7.48052 to get US gallons, or by 6.22884 to get Imperial gallons. To get liters, multiply cubic feet by 28.3168.