Tank Volume Calculator: Formulas, Shapes, and How to Estimate Capacity
Tank volume is the amount of space inside a tank, and it decides how much water, oil, fuel, or other liquid the tank can hold. This tank volume calculator estimates both the total capacity of an empty tank and the volume of liquid inside a partially filled tank, using the exact geometry of seven common shapes and reporting the answer in gallons, liters, cubic feet, and cubic meters at once.
Whether you are sizing a rainwater barrel, reading the level in a heating oil tank, or planning an aquarium, the math comes down to the same idea: find the cross-sectional area of the tank and multiply by its length or height. The shapes differ in how that area is calculated, which is exactly what this guide and the tool above take care of for you.
Below you will find the formula for each tank shape, worked examples with real numbers, unit conversions, practical measuring tips, and answers to the questions people ask most often about tank capacity. For related project math such as coverage and material volume, the calculators at Tingo Tools can handle the surrounding steps.
How to Use the Tank Volume Calculator
The calculator is built around one simple flow: choose a shape, enter inside dimensions, and read the results. Adding a filled depth is optional and only needed when you want the current liquid volume rather than the full capacity.
Choose the tank shape
Pick the shape that matches your tank: horizontal or vertical cylinder, rectangle, horizontal or vertical oval, or horizontal or vertical capsule. The calculator changes the required dimension fields to fit that shape.
Measure the inside dimensions
Measure the internal length, width, height, or diameter of the tank rather than the outside, because wall thickness reduces the usable space. Enter each value and pick its unit, from inches and feet to millimeters, centimeters, and meters.
Add the filled depth if needed
If you want the current liquid volume, enter the filled depth measured from the bottom of the tank. Leave this field blank when you only need the total capacity of an empty tank.
Select Calculate
Choose Calculate to run the geometry for your shape. The tool returns total capacity and, when a fill depth is set, the filled volume in the same result table.
Read the volume table
Review the results in U.S. gallons, U.S. quarts, Imperial gallons, liters, cubic meters, and cubic feet. Use Reset to clear every field and start a new tank estimate.
What Is Tank Volume and Capacity?
Volume is a measure of three-dimensional space. Tank volume is the internal space bounded by the tank walls, and capacity is the largest volume of liquid that space can hold. Because the walls have thickness, the outside of a tank is always a little larger than the inside, so accurate capacity always comes from internal measurements.
Every volume calculation multiplies an area by a length. For a straight-sided tank, you find the area of the end and multiply by how long or tall the tank is. This is the same principle used when you work out floor area first and then a depth, which is why an area tool like the Square Footage Calculator pairs naturally with volume work.
Total capacity versus filled volume
Total capacity assumes the tank is completely full to the top. Filled volume is the amount of liquid currently inside, measured from the bottom up to the liquid surface. For a vertical tank these scale together in a straight line, but for a horizontal round tank they do not, because a tank filled to half its height is not filled to half its volume.
This distinction matters whenever you read a dipstick or sight gauge. Knowing that a horizontal cylinder at half height is exactly 50 percent full is a happy coincidence of symmetry, while the same tank at one quarter of its height holds well under a quarter of its capacity.
Units of Tank Volume
Tank capacity is expressed in several units depending on the region and the industry. Liquids are usually measured in gallons or liters, while storage space is often quoted in cubic feet or cubic meters. The table below summarizes the main units and how they relate.
| Unit | Equals | In cubic units | Typical use |
|---|---|---|---|
| U.S. Gallon | 3.785 liters | 0.1337 cubic foot | Fuel and water volume in the United States |
| Imperial Gallon | 4.546 liters | 0.1605 cubic foot | UK and Commonwealth liquid volume |
| U.S. Quart | 0.946 liter | 0.0334 cubic foot | Smaller liquid quantities, four per gallon |
| Liter | 0.264 U.S. gallon | 0.0353 cubic foot | Standard metric liquid volume worldwide |
| Cubic Foot | 7.48 U.S. gallons | 28.317 liters | Storage and construction volume |
| Cubic Meter | 264.17 U.S. gallons | 1,000 liters | Large tanks and industrial capacity |
Because the results table shows every unit together, you can switch between a gallons mindset and a metric one without extra math. If you would rather convert one figure by hand, a general Cubic Feet Calculator is a handy companion for translating a box volume into cubic feet.
Tank Shapes This Calculator Supports
Real tanks come in a handful of standard shapes, and each one needs a slightly different formula. The calculator supports seven shapes, and the table below lists the dimensions each one requires so you know what to measure before you start.
| Tank shape | Dimensions needed | Common examples |
|---|---|---|
| Horizontal Cylinder | Length, Diameter | Fuel tanks, propane tanks, water tanks lying on their side |
| Vertical Cylinder | Height, Diameter | Silos, water towers, upright storage drums |
| Rectangle | Length, Width, Height | Aquariums, box tanks, sumps, and totes |
| Horizontal Oval | Length, Width, Height | Heating oil tanks and slim horizontal tanks |
| Vertical Oval | Length, Width, Height | Space-saving upright oval tanks |
| Horizontal Capsule | Length, Diameter | Pressure vessels and rounded-end tanks on their side |
| Vertical Capsule | Height, Diameter | Upright vessels with domed top and bottom |
If your tank does not match any of these exactly, choose the closest shape and treat the answer as an estimate. Very large industrial tanks are usually cylinders or capsules, while home and garden tanks are often rectangles or ovals.
Formulas for Each Tank Shape
Each shape has a total-volume formula built from the area of its end multiplied by its length or height. The summary table gathers all seven formulas in one place, and the subsections that follow explain how each one works.
| Shape | Total volume formula | Notes |
|---|---|---|
| Horizontal Cylinder | V = π × r² × l | r is radius (d/2), l is length |
| Vertical Cylinder | V = π × r² × h | r is radius (d/2), h is height |
| Rectangle | V = l × w × h | Length times width times height |
| Horizontal Oval | V = (π × r² + 2 × r × a) × l | r = h/2, a = w − h, l is length |
| Vertical Oval | V = (π × r² + 2 × r × a) × l | r = w/2, a = h − w, l is length |
| Horizontal Capsule | V = π × r² × ((4/3) × r + a) | r is radius, a = l − d |
| Vertical Capsule | V = π × r² × ((4/3) × r + a) | r is radius, a = h − d |
Cylinder tanks
A cylinder has a circular end, so its area is π times the radius squared. Multiply by the length of a horizontal cylinder or the height of a vertical one to get the volume. The radius is always half the diameter.
For a vertical cylinder filled to depth f, the filled volume is simply π × r² × f, because the liquid forms a shorter cylinder with the same radius. Horizontal cylinders are different and are covered in the partial fill section.
Rectangular tanks
A rectangular or box tank is the simplest case. Multiply length by width by height for total volume, and replace the height with the filled depth to get the liquid volume.
This is the same length-times-width-times-height idea used for many building materials, so a volume tool like the Cubic Yards Calculator uses an identical foundation when estimating bulk material.
Oval tanks
An oval tank has a stadium-shaped end: a rectangle capped by two half-circles. Its area is the circle area π × r² plus the rectangle area 2 × r × a, where a is the flat straight portion. Multiplying by the tank length gives the total volume.
For a horizontal oval, the radius equals half the height and a equals width minus height. For a vertical oval, the radius equals half the width and a equals height minus width. Getting these two right is the most common source of oval-tank errors.
Capsule tanks
A capsule is a cylinder with a hemisphere on each end, which together form a full sphere. Its volume is the sphere volume (4/3) × π × r³ plus the cylinder volume π × r² × a, where a is the straight middle length. The combined formula factors neatly.
Because the rounded ends add real volume, treating a capsule as a plain cylinder underestimates its capacity. The extra sphere is exactly the difference, and the calculator includes it automatically.
Partial Fill Volume for Round Tanks
The trickiest calculation is a partially filled horizontal cylinder or capsule. The liquid forms a shape called a circular segment when viewed from the end, and its area does not grow in a straight line with fill height.
Here f is the filled depth and r is the radius. Multiplying this segment area by the horizontal length gives the filled volume of the cylinder portion. For capsule ends, the rounded caps add a spherical cap volume on top of that.
These formulas explain why a horizontal round tank at a quarter of its height holds far less than a quarter of its volume: the narrow bottom curve fills slowly at first, then faster toward the middle. The calculator applies the correct segment and cap math so you never have to solve the trigonometry by hand.
Worked Examples
The best way to trust a formula is to see it produce a number. These examples use round figures so you can follow each step, and they match what the calculator returns for the same inputs.
Example 1: Horizontal cylinder capacity
A cylindrical water tank lies on its side. Its inside diameter is 3 feet and its length is 8 feet. First find the radius, then the volume, then convert to gallons and liters.
| Step | Value | Working |
|---|---|---|
| Radius (r) | 1.5 ft | d ÷ 2 = 3 ÷ 2 |
| Length (l) | 8 ft | Measured inside length |
| Total volume | 56.55 ft³ | π × 1.5² × 8 |
| U.S. gallons | 423.0 gal | 56.55 × 7.48 |
| Liters | 1,601 L | 56.55 × 28.317 |
So this tank holds about 56.55 cubic feet, which is roughly 423 U.S. gallons or 1,601 liters when completely full. If you needed the weight of that water, you would combine the volume with a density figure from a Density Calculator.
Example 2: Rectangular tank with a partial fill
A box tank is 4 feet long, 2 feet wide, and 3 feet tall. It currently holds liquid to a depth of 2 feet. Total capacity uses the full height, while filled volume uses the fill depth.
| Step | Value | Working |
|---|---|---|
| Length (l) | 4 ft | Inside length |
| Width (w) | 2 ft | Inside width |
| Height (h) | 3 ft | Full inside height |
| Total volume | 24 ft³ | 4 × 2 × 3 |
| Filled depth | 2 ft | Liquid measured from bottom |
| Filled volume | 16 ft³ | 4 × 2 × 2 |
The tank's total capacity is 24 cubic feet, and at a 2-foot depth it holds 16 cubic feet, or two thirds of capacity. Because a rectangle fills linearly, that fraction is easy to check, and if you want it expressed as a simplified fraction the Fractions Calculator can reduce 16/24 to 2/3 in one step.
Example 3: Reading a fill percentage
Suppose a vertical cylinder has a total capacity of 500 gallons and currently holds 375 gallons. The fill percentage is 375 divided by 500, times 100, which is 75 percent. Turning volumes into a percentage like this is a quick way to describe how full any tank is.
That same part-of-a-whole logic drives a Percentage Calculator, which is useful when you want to express any filled volume as a share of total capacity without repeating the arithmetic.
Volume Unit Conversions
Once you know the volume in one unit, converting to another is just multiplication. The table below lists the conversion factors used most often with tank capacity, along with a quick example for each.
| Conversion | Multiply by | Example |
|---|---|---|
| Cubic feet to U.S. gallons | × 7.48052 | 10 ft³ = 74.8 gal |
| Cubic feet to liters | × 28.3168 | 10 ft³ = 283.2 L |
| Cubic meters to liters | × 1,000 | 2 m³ = 2,000 L |
| Cubic meters to U.S. gallons | × 264.172 | 2 m³ = 528.3 gal |
| U.S. gallons to Imperial gallons | × 0.83267 | 100 US gal = 83.3 Imp gal |
| Liters to U.S. gallons | ÷ 3.78541 | 500 L = 132.1 gal |
Metric users often prefer cubic meters for very large tanks, since one cubic meter is a clean 1,000 liters. For shipping and freight volume, a dedicated CBM Calculator works in cubic meters directly and pairs well with tank sizing for transport planning.
If a conversion factor gives you a long decimal and you would rather see it as a fraction, the Decimal to Fraction Calculator turns values like 0.75 into 3/4 so measurements read more naturally.
Common Uses of Tank Volume Calculations
Tank volume math appears across the home, garden, farm, and worksite. The table below shows where these calculations matter and which tank shape usually applies.
| Setting | Why volume matters | Typical shape |
|---|---|---|
| Home heating oil | Check how much oil is left before ordering a delivery | Horizontal oval or cylinder |
| Rainwater harvesting | Size a storage tank for roof runoff and dry spells | Vertical cylinder |
| Aquarium keeping | Match filter and heater capacity to water volume | Rectangle |
| Agriculture and livestock | Plan water troughs, sprayer tanks, and feed slurry | Cylinder or capsule |
| Fuel and chemical storage | Confirm capacity and monitor filled level safely | Capsule or cylinder |
| Pools and ponds | Estimate water volume for treatment dosing | Rectangle or oval |
Landscaping projects often mix tank work with bulk material estimates, so a Gravel Calculator or a Mulch Calculator can round out a project plan once you know how much water a storage tank will supply.
If your project also involves building up a bed or filling a low area with soil, a Topsoil Calculator uses the same volume-then-convert approach to turn dimensions into cubic yards and bag counts.
Tips for Accurate Tank Measurements
The formulas are exact, so the accuracy of your answer depends almost entirely on the accuracy of your measurements. A few habits make a big difference.
- Measure the inside of the tank, not the outside, so wall thickness does not inflate the result.
- Use a single unit for every dimension of one tank, then let the calculator convert, to avoid mixing feet and inches by mistake.
- For a diameter, measure across the widest point through the center rather than along a chord.
- Measure filled depth straight down from the liquid surface to the very bottom of the tank.
- For irregular tanks, split the shape into parts, calculate each, and add the volumes together.
When a tank sits inside a paved or graded area, you may also be estimating the surrounding surface. In that case an Asphalt Calculator handles the paved apron while the tank tool handles the vessel itself.
Common Mistakes to Avoid
Most tank volume errors come from a small number of repeated slips. Watching for these keeps your estimate reliable.
- Confusing radius with diameter. The radius is half the diameter, and squaring the wrong one quadruples the error.
- Assuming half height equals half volume in a horizontal round tank. It does not, except by symmetry at exactly the halfway line.
- Ignoring the rounded ends of a capsule tank, which undercounts real capacity.
- Mixing units, such as entering length in feet and depth in inches without converting.
- Using outside dimensions on a thick-walled tank and overstating capacity.
A careful measurement and the right shape almost always matter more than the last decimal place. When in doubt, calculate twice and compare, or add a small safety margin for planning.
Frequently Asked Questions
Should I use inside or outside tank dimensions?
Always measure the inside dimensions. Tank walls take up space, so outside measurements overstate how much liquid a tank actually holds. For thick-walled or insulated tanks, the difference between inside and outside volume can be significant.
How do I find the volume of a partially filled tank?
Enter the filled depth measured from the bottom of the tank along with the full dimensions. The calculator uses circular segment math for round tanks and spherical cap math for capsule ends, so partial fills are handled correctly rather than by simple proportion.
Why is a horizontal cylinder harder to calculate than a vertical one?
A vertical cylinder fills as a shorter cylinder, so partial volume is a simple proportion of height. A horizontal cylinder fills as a circular segment, whose area follows a trigonometric formula, so half the height is not half the volume.
How many cubic feet are in a gallon?
One U.S. gallon equals about 0.1337 cubic feet, and one cubic foot holds about 7.48 U.S. gallons. The calculator handles these conversions for you and reports every result in gallons, liters, and cubic units at the same time.
What is the difference between U.S. and Imperial gallons?
A U.S. gallon is about 3.785 liters, while an Imperial (UK) gallon is about 4.546 liters. The same tank therefore holds fewer Imperial gallons than U.S. gallons, which is why the results table lists both separately.
Can I use this for oil, water, or fuel tanks?
Yes. Volume depends on the tank's geometry, not on the liquid inside, so the same capacity applies to water, oil, fuel, or any other liquid. If you need weight, multiply the volume by the density of that specific liquid.
How accurate are the tank volume results?
The formulas are geometrically exact for the shapes shown. Real tanks may have fittings, domed ends, baffles, or slightly irregular walls, so treat the numbers as close estimates and add a small margin for critical planning.
How do I convert the result into weight?
Convert the volume to liters or cubic meters, then multiply by the liquid's density. Water is about 1 kilogram per liter, so 1,000 liters weighs roughly 1,000 kilograms, while oils and fuels are lighter per liter.
What does filled percentage tell me?
The filled percentage compares the current liquid volume to the total capacity. It is useful for reading a dipstick, planning a delivery, or checking how much room is left before a tank is full.
Final Thoughts
Tank volume looks intimidating because of the round shapes and partial fills, but it always reduces to one idea: find the area of the end and multiply by the length. The calculator handles the trigonometry for horizontal cylinders and capsules so you can focus on measuring carefully and choosing the right shape.
Use inside dimensions, keep your units consistent, and add a filled depth whenever you need the current liquid level rather than the full capacity. With those habits, the results table gives you a dependable estimate in gallons, liters, and cubic units for almost any tank you are likely to meet.