Skip to content
Tank Capacity Calculator
Professional Volume Calculator

Tank Volume Calculator

Enter your tank's internal dimensions to get its total capacity and the volume of liquid at any fill level, instantly converted to litres and US gallons.

Tank volume calculator

Real-time calculation for cylinders and rectangles

Leave at 0 to calculate total capacity only.

Tank Volume Calculator for Cylinder and Rectangular Tanks

This Tank Volume Calculator works out how much a tank holds and how much liquid is in it right now. Pick the tank shape, type in the dimensions and the liquid level, and you get total tank capacity, liquid volume and percent full, in litres and US gallons.

There are 3 tank shapes in the calculator:

  • Horizontal cylinder

    A round tank lying on its side, such as a diesel tank, heating oil tank or water trailer.

  • Vertical cylinder

    A round tank standing upright, such as a rainwater tank, plastic water tank or silo.

  • Rectangular tank

    A box-shaped tank, such as a rooftop water tank, aquarium, sump or IBC-style cube.

That makes it a water tank volume calculator, a fuel tank capacity calculator and an aquarium volume calculator in one. The numbers update as you type. Nothing needs submitting, and every field has its own unit selector, so you can enter the length in metres and the liquid level in centimetres without converting anything first.

Who Uses a Tank Capacity Calculator

Most people reach for a tank capacity calculator for one of 5 jobs:

  • Ordering fuel or water

    Check how many litres fit before the delivery truck arrives.

  • Buying a new tank

    Compare the real capacity of 2 or 3 tank sizes before you buy.

  • Reading a dipstick

    Turn a measured liquid level into litres or gallons.

  • Dosing chemicals

    Find the water volume of a tank, pool sump or aquarium before adding treatment.

  • Planning storage

    Work out how many days of water a household or farm tank holds.

How to Use the Tank Volume Calculator

To calculate tank volume, choose a shape, fill in 2 or 3 dimensions and add the liquid level. The whole process takes 5 steps.

  1. Choose the shape

    Open the Shape menu and select Horizontal cylinder, Vertical cylinder or Rectangular tank. The input fields change to match the shape.

  2. Enter the dimensions

    Type each measurement and pick its unit: cm, m, in or ft.

  3. Enter the liquid level

    Type the depth of liquid in the Liquid level (fill height) field. Leave it at 0 to calculate total capacity only.

  4. Read the results

    The Calculated volume panel shows the total tank capacity, the liquid volume and the percent full.

  5. Change any value to test another tank

    The results refresh straight away, so you can compare sizes in seconds.

Which Fields Each Shape Uses

ShapeField 1Field 2Field 3Liquid level measured
Horizontal cylinderLength (L)Diameter (D)—From the bottom of the tank up, across the diameter
Vertical cylinderHeight (H)Diameter (D)—From the tank floor up
Rectangular tankLength (L)Width (W)Height (H)From the tank floor up

The first field changes its label with the shape. For a horizontal cylinder it reads Length (L), and for a vertical cylinder it reads Height (H). Enter the straight side of the tank in that field either way.

How to Read the Results

The results panel gives 3 numbers:

Litres and gallons show up to 2 decimal places. Percent full shows 1 decimal place. A liquid level higher than the tank is capped at the tank's height or diameter, so the result tops out at 100% full.

ResultWhat it meansUnits shown
Total tank capacityHow much the tank holds when completely fullLitres and gallons (US)
Liquid volumeHow much liquid sits in the tank at the level you enteredLitres and gallons (US)
Percent fullLiquid volume as a share of total capacity% full

Tank Volume Formulas Behind the Results

The calculator uses the standard geometric formula for each shape. It converts every dimension to centimetres first, works out the volume in cubic centimetres, then divides by 1,000 to get litres. US gallons equal litres × 0.264172.

Rectangular Tank Volume Formula

Total capacity = L × W × HLiquid volume = L × W × liquid level

A rectangular tank has straight walls, so every centimetre of liquid adds the same volume. Half the height means half the capacity.

Vertical Cylinder Tank Volume Formula

Total capacity = π × r² × HLiquid volume = π × r² × liquid level

r is the radius, which is half the diameter. Like a rectangular tank, a vertical cylinder fills in a straight line: 60% of the height holds 60% of the capacity.

Horizontal Cylinder Tank Volume Formula

Total capacity = π × r² × LLiquid volume = L × [ r² × acos((r − h) ÷ r) − (r − h) × √(2rh − h²) ]

h is the liquid level measured from the bottom of the tank. The part in square brackets is the area of the circular segment the liquid fills. Multiplying it by the tank length gives the liquid volume.

A horizontal tank doesn't fill evenly. The tank is narrow at the bottom, widest at the middle and narrow again at the top. A quarter of the diameter holds only 19.6% of the capacity, not 25%.

rDh
  • Circular segment
  • Liquid level
  • Centre line
Cross-section of a horizontal cylinder: the liquid fills a circular segment of height h.

Units and Conversion Factors

FromToMultiply by
Cubic centimetres (cm³)Litres (L)0.001
Cubic metres (m³)Litres1,000
Cubic inches (in³)Litres0.016387
Cubic feet (ft³)Litres28.3168
LitresUS gallons0.264172
US gallonsLitres3.785412
LitresImperial (UK) gallons0.219969

Tank Volume Examples

Each of the 6 examples below uses inputs you can type straight into the calculator to check the result.

Example 1: Vertical Water Tank in Litres

A round rainwater tank stands 150 cm tall with a 120 cm diameter. The water level is 110 cm.

InputValue
ShapeVertical cylinder
Height (H)150 cm (59.1 in)
Diameter (D)120 cm (47.2 in)
Liquid level110 cm (43.3 in)
  • Radius: 120 ÷ 2 = 60 cm
  • Total capacity: π × 60² × 150 = 1,696,460 cm³ = 1,696.46 litres (448.16 US gallons)
  • Liquid volume: π × 60² × 110 = 1,244.07 litres (328.65 US gallons)
  • Percent full: 73.3%

This is how to calculate water tank capacity in litres for any round upright tank: radius squared, times π, times height, then divide the cubic centimetres by 1,000.

Example 2: Horizontal Fuel Tank in Inches

A horizontal diesel tank measures 72 in long with a 48 in diameter. A dipstick reads 18 in of fuel.

InputValue
ShapeHorizontal cylinder
Length (L)72 in (182.88 cm)
Diameter (D)48 in (121.92 cm)
Liquid level18 in (45.72 cm)

Results:

  • Total capacity: 2,135.04 litres (564.02 US gallons)
  • Liquid volume: 731.29 litres (193.19 US gallons)
  • Percent full: 34.3%

The fuel sits at 37.5% of the diameter (18 ÷ 48) but fills only 34.3% of the tank. That gap is the curved bottom at work, and it's the reason a simple "depth ÷ diameter" estimate gets horizontal tanks wrong.

Example 3: Rectangular Rooftop Tank in Metres

A rectangular water tank measures 2 m long, 1.5 m wide and 1.2 m high. The water is 0.9 m deep.

  • Total capacity: 2 × 1.5 × 1.2 = 3.6 m³ = 3,600 litres (951.02 US gallons)
  • Liquid volume: 2 × 1.5 × 0.9 = 2.7 m³ = 2,700 litres (713.26 US gallons)
  • Percent full: 75.0%

Example 4: Large Horizontal Tank at Quarter Depth

A horizontal tank has a 180 cm diameter and a 300 cm length. The liquid level is 45 cm, a quarter of the diameter.

  • Total capacity: 7,634.07 litres (2,016.71 US gallons)
  • Liquid volume: 1,492.47 litres
  • Percent full: 19.6%

Raise the liquid level to 90 cm, the centre line, and the liquid volume becomes 3,817.04 litres, exactly half the tank.

Example 5: Aquarium in Inches

A tank measures 32 × 16 × 16 inches (81.28 × 40.64 × 40.64 cm).

  • Volume: 32 × 16 × 16 = 8,192 cubic inches
  • In litres: 8,192 × 0.016387 = 134.24 litres
  • In gallons: 35.46 US gallons

Select Rectangular tank, set all 3 units to in, and enter 32, 16 and 16 to get the same answer.

Example 6: Rectangular Trough in Feet

A stock-water trough measures 8 ft long, 4 ft wide and 3 ft deep (243.84 × 121.92 × 91.44 cm).

  • Volume: 8 × 4 × 3 = 96 cubic feet
  • In litres: 96 × 28.3168 = 2,718.42 litres
  • In gallons: 718.13 US gallons

Every cubic foot holds about 7.48 US gallons, so a quick check in your head is cubic feet × 7.5.

Quick Hand Check: Litres From Dimensions

Want to sanity-check a result without the calculator? Multiply the 3 inside dimensions for a box, or π × r² × height for a cylinder, then convert with the factor that matches your tape:

Dimensions measured inVolume unit you getLitres =
Centimetrescm³volume ÷ 1,000
Metresm³volume × 1,000
Inchesin³volume ÷ 61.024
Feetft³volume × 28.317

A box 50 × 40 × 30 cm gives 60,000 cm³, so 60 litres. The same box in inches (19.69 × 15.75 × 11.81) gives 3,662 in³, and 3,662 ÷ 61.024 is 60 litres again. Both routes land on the same number, which is a handy way to catch a typo.

Horizontal Tank Fill Chart

Use this chart to estimate the contents of any horizontal cylinder tank from a dipstick reading. The percentages hold for every size of flat-ended horizontal cylinder.

  • Horizontal cylinder
  • Vertical cylinder or rectangular tank
Liquid volume (% of capacity)0%0%25%25%50%50%75%75%100%100%10% → 5.2%20% → 14.2%25% → 19.6%30% → 25.2%40% → 37.4%50% → 50.0%60% → 62.6%70% → 74.8%75% → 80.4%80% → 85.8%90% → 94.8%Liquid level (% of diameter)
Fill curve of a horizontal cylinder compared with the straight-line fill of a vertical cylinder or rectangular tank.
Liquid level (% of diameter)Liquid volume (% of capacity)
10%5.2%
20%14.2%
25%19.6%
30%25.2%
40%37.4%
50%50.0%
60%62.6%
70%74.8%
75%80.4%
80%85.8%
90%94.8%

The bottom and top 10% of the diameter hold only about 5% of the volume each. For an exact figure, enter your tank's length, diameter and dipstick reading in the calculator.

Capacity of Common Tank Sizes

These capacities assume inside dimensions and flat ends. Litres are rounded to 2 decimals.

ShapeDimensionsCapacity (litres)Capacity (US gallons)
Rectangular1.0 × 1.0 × 1.0 m
1,000
264.17
Rectangular2.5 × 2.0 × 1.0 m
5,000
1,320.86
Rectangular2.5 × 2.0 × 2.0 m
10,000
2,641.72
Vertical cylinderØ 1.2 m × 1.5 m high
1,696.46
448.16
Vertical cylinderØ 2.0 m × 2.0 m high
6,283.19
1,659.84
Vertical cylinderØ 3.0 m × 3.0 m high
21,205.75
5,601.97
Horizontal cylinderØ 1.0 m × 2.0 m long
1,570.80
414.96
Horizontal cylinderØ 1.8 m × 3.0 m long
7,634.07
2,016.71

A tank's rated capacity and its brim-full volume aren't always the same. Many manufacturers quote a nominal figure that leaves room for the inlet, overflow and an air gap at the top.

How to Size a Tank for a Target Capacity

Sometimes you know the litres you need and want the dimensions. Rearrange the formulas to solve for the missing measurement:

ShapeKnownMissing dimension
RectangularVolume, length, widthHeight = volume ÷ (length × width)
Vertical cylinderVolume, diameterHeight = volume ÷ (π × r²)
Horizontal cylinderVolume, diameterLength = volume ÷ (π × r²)

Work in metres and cubic metres, where 1 m³ equals 1,000 litres. A 5,000 litre target is 5 m³. With a 1.8 m diameter (r = 0.9 m), the height is 5 ÷ (π × 0.81) = 1.96 m.

This table gives the inside height of a vertical cylinder tank for 5 common capacities:

CapacityDiameterHeight needed
1,000 litres (264 US gal)1.1 m1.05 m
2,000 litres (528 US gal)1.4 m1.30 m
5,000 litres (1,321 US gal)1.8 m1.96 m
10,000 litres (2,642 US gal)2.4 m2.21 m
20,000 litres (5,283 US gal)3.0 m2.83 m

Enter the diameter and height in the calculator to confirm a size before ordering. Add space above the liquid for the inlet and overflow.

How Much a Full Tank Weighs

One litre of water weighs about 1 kg (2.2 lb). Multiply the liquid volume by the liquid's weight per litre to get the load on the stand, roof or floor:

LiquidWeight per litre3,600 litre tank, full
WaterAbout 1.0 kg (2.2 lb)About 3,600 kg (7,940 lb)
DieselAbout 0.83–0.85 kg (1.8–1.9 lb)About 2,990–3,060 kg (6,590–6,750 lb)

Add the empty tank's own weight on top. Check the load rating of a roof, platform or stand with a structural engineer before installing a large tank up high.

How Long a Tank Will Last

Divide the liquid volume by the daily use to get the number of days of supply:

Days of supply = Liquid volume ÷ Daily use

The tank in Example 1 holds 1,244.07 litres. At 400 litres a day, it lasts about 3.1 days. Swap in your own daily figure for a household, farm or generator to plan refills.

What to Enter for Common Tank Types

Tank typeShape to chooseWhat to measureWatch out for
Diesel or heating oil tankHorizontal cylinderInside length, diameter, dipstick depthDished ends add volume the formula leaves out
Round plastic water tankVertical cylinderInside diameter, height to the overflowTapered walls change the diameter from top to bottom
Rainwater tankVertical cylinderInside diameter, water depthSediment on the floor reduces usable water
Rooftop or loft tankRectangular tankInside length, width, heightMeasure to the overflow, not the rim
AquariumRectangular tankInside length, width, water depthGlass thickness and substrate cut real capacity
Septic or sump tankRectangular tankInside length, width, liquid depthThick concrete walls shrink the inside volume

Enter the depth to the overflow pipe as the liquid level, and the percent full tells you how much of the tank is usable.

How to Measure a Tank for Accurate Results

Good results start with good measurements. Here are 5 measuring tips:

  1. Use inside dimensions

    The calculator assumes the measurements describe the space inside the tank. Measure the outside and subtract the wall thickness twice from each dimension.

  2. Find the diameter from the circumference

    Wrap a tape around a round tank, then divide the circumference by π (3.1416). A 377 cm circumference gives a 120 cm diameter.

  3. Measure the liquid level straight down

    Drop a dipstick to the lowest point of the tank and read the wet mark. On a horizontal tank, measure at the centre of the length.

  4. Keep units consistent with your tape

    Every field has its own unit menu. Check each one before reading the result.

  5. Measure the straight section only

    For a tank with rounded or dished ends, measure the straight cylinder length. The calculator treats the ends as flat.

Common Tank Volume Calculation Mistakes

There are 6 mistakes that throw tank volume results off:

  • Entering the radius as the diameter

    The calculator asks for the full diameter. A radius typed into the Diameter field gives one-quarter of the real volume.

  • Using outside dimensions on a thick-walled tank

    A concrete tank with 15 cm walls loses a lot of capacity on the inside. Subtract the walls first.

  • Mixing units

    Length in metres and liquid level in inches works fine, but only when each unit menu matches the number typed beside it.

  • Treating a horizontal tank like a vertical one

    Liquid at half the height of a vertical tank is 50%. Liquid at a quarter of a horizontal tank's diameter is only 19.6%.

  • Choosing Height for a horizontal tank

    A horizontal tank's "height" is its diameter. Enter it in the Diameter (D) field and the long side in Length (L).

  • Expecting the label capacity

    A tank's brim-full volume and its rated working capacity differ. Plan deliveries around the working capacity, not the calculated maximum.

Limitations of the Results

The calculator gives exact geometric volumes for perfect shapes. Real tanks differ in 5 ways:

  • 3 shapes are covered. Oval, capsule, cone-bottom, dished-end and elliptical tanks need a different formula. Measure the main section as a cylinder or rectangle for a rough estimate only.

  • Ends are flat. Dished, domed or rounded ends add volume the cylinder formula doesn't count.

  • Walls are straight. Tapered plastic tanks, sloped floors and internal baffles change the real capacity.

  • Liquid expands with temperature. Fuel volume rises and falls with temperature, so a delivery measured at one temperature reads differently later.

  • Tanks tilt. A horizontal tank that isn't level gives a different dipstick reading at each end.

For a shape the calculator doesn't cover, or a tank that needs certified calibration, send the details through the Contact page.

Frequently Asked Questions

How do you calculate the volume of a tank?

Multiply the tank's base area by its height or length. A rectangular tank uses length × width × height. A cylinder uses π × radius² × height (vertical) or × length (horizontal). Divide cubic centimetres by 1,000 to get litres.

How do you calculate the litre capacity of a tank?

Measure the inside dimensions in centimetres, calculate the volume in cubic centimetres, and divide by 1,000. A tank 100 cm × 50 cm × 60 cm holds 300,000 cm³, which is 300 litres. With measurements in metres, multiply the cubic metres by 1,000 instead.

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

Calculate the volume in cubic inches and divide by 231 for US gallons. A tank measuring 24 × 12 × 16 inches holds 4,608 cubic inches, which is 19.95 US gallons. From litres, multiply by 0.264172.

How many gallons is a 32x16x16 tank?

A 32 × 16 × 16 inch tank holds 35.46 US gallons (134.24 litres) when filled to the brim. The water capacity of an aquarium is lower once gravel, decorations and the gap below the rim take up space.

How many gallons is a 10x10x10 tank?

It depends on the unit: a 10 × 10 × 10 inch tank holds 4.33 US gallons, and a 10 × 10 × 10 foot tank holds 7,480.52 US gallons. In centimetres, a 10 cm cube holds exactly 1 litre (0.26 US gallons). Always set the unit menus before reading a result.

How many litres is a 60x30x30 tank?

A 60 × 30 × 30 cm tank holds 54 litres (14.27 US gallons). The calculation is 60 × 30 × 30 = 54,000 cm³, divided by 1,000.

What size is a 5,000 litre water tank?

A 5,000 litre water tank needs 5 cubic metres of inside space. Two common shapes reach that figure: a rectangular tank of 2.5 × 2.0 × 1.0 m, or a vertical cylinder 1.8 m across and about 1.96 m high. Check any candidate size by entering it in the calculator.

How big is a 10,000 litre tank?

A 10,000 litre tank holds 10 cubic metres. As a vertical cylinder, that's about 2.4 m across and 2.21 m high, or 2.5 m across and 2.04 m high. As a rectangle, it's 2.5 × 2.0 × 2.0 m.

How do you calculate fuel tank capacity?

Measure the tank's length and diameter, then use π × radius² × length for a horizontal cylinder. A 72 × 48 inch horizontal tank holds 2,135.04 litres (564.02 US gallons). To find fuel on board, add the dipstick reading as the liquid level. Car fuel tanks have irregular shapes, so use the manufacturer's figure for vehicles.

Can I calculate the volume of an oval or cone-bottom tank?

No, the calculator covers horizontal cylinder, vertical cylinder and rectangular tanks only. An oval or cone-bottom tank needs extra formula terms for its curved sections. A cylinder or rectangle estimate gives a rough figure only, so treat it as approximate.

Find Your Tank's Capacity in Seconds

Scroll back up to the calculator, pick your tank shape and enter the dimensions. You'll see the total capacity, the liquid volume and the percent full in litres and US gallons straight away. Try a few sizes side by side before you buy a tank, book a delivery or dose a treatment.