South Africa version. Works in millimetres and litres for upright rainwater and backup tanks, with the City of Cape Town's approval and use rules for alternative water. US version

Water Tank Volume Calculator (South Africa, Litres)

Litres in a round or rectangular water tank from the water level, the depth for a target volume, and when a rainwater tank needs approval in Cape Town.

The interactive tool loads here when JavaScript runs.

About this tool

What is the Tank Volume Calculator?

A household water tank may catch rain off the roof or hold a reserve for when the municipal supply is interrupted, and either way the question is how many litres are left. This version opens on an upright tank 1 800 mm across and 2 000 mm high inside, which holds 5 089 litres. With water 600 mm deep it has 1 527 litres, and every 10 mm of depth is 25.4 litres, because an upright cylinder has straight sides.

The City of Cape Town's guidelines on alternative water give a feel for how fast a tank fills: 5 mm of rain on a 100 m² roof yields 500 litres. In the tank above that raises the level by 196 mm. They also note that a 5 000 litre tank used mainly for flushing toilets in a winter rainfall area can save up to 15% on annual water use.

Size and placement can need approval. In Cape Town, building compliance approval is needed for any single tank over 10 000 litres, for tanks over 1 000 litres built on site from masonry, concrete or steel, and for any tank on a stand more than 1 m above the ground. The examples below run a tank against each of those limits.

  • Seven shapes: horizontal and vertical cylinder, rectangular, horizontal and vertical capsule, cone bottom and sphere
  • Filled volume, percent full and ullage at any depth
  • Depth for a target volume, solved numerically
  • Dip chart table and volume-depth chart at any step
  • Litres, m³, US and UK gallons, ft³ and oil barrels with exact conversions
Read the guide: Tank Volume Formulas and Dip Charts for Horizontal, Vertical and Odd Shapes

Updated

How to use the Tank Volume Calculator

  1. Pick "Vertical cylinder" for a round plastic tank, or "Rectangular" for a slimline or a built tank.
  2. Enter the inside diameter and height in millimetres. Ribbed tanks lose a little volume to the ribs, so use the maker's rated capacity if it differs.
  3. Enter the water depth measured from the bottom, then read the litres and the percentage full.
  4. Use the dip chart to mark a level stick, and the target volume field to find the depth for a level you care about.

Worked examples

Rainwater tank after a 5 mm shower

Input

Vertical cylinder 1 800 mm diameter x 2 000 mm high, water 600 mm deep

Output

5 089 litres capacity; 1 527 litres at 600 mm (30%); 500 litres is 196 mm of depth

Using the City of Cape Town's figure of 500 litres from 5 mm of rain on 100 m² of roof, one such shower lifts the level from 600 mm to about 796 mm.

Just over the 10 000 litre approval line

Input

Vertical cylinder 2 200 mm diameter x 2 700 mm high, water 1 000 mm deep

Output

10 264 litres capacity; 3 801 litres at 1 m; 10 000 litres sits at 2 631 mm

A single tank of more than 10 000 litres needs building compliance approval in Cape Town. Two smaller tanks side by side stay under the single-tank limit, but the stand and site-built rules still apply.

Small tank on a stand

Input

Vertical cylinder 1 400 mm diameter x 1 700 mm high on a 1.5 m stand, water 850 mm deep

Output

2 617 litres capacity; 1 308 litres at half height

The volume is small, but the stand is more than 1 m above the ground, so Cape Town requires approval for the tank whatever its size. Full, the water alone weighs about 2.6 tonnes on that stand.

Built reservoir in brick or concrete

Input

Rectangular 2 000 x 1 500 x 1 200 mm, water 900 mm deep

Output

3 600 litres capacity; 2 700 litres at 900 mm (75%)

A tank built on site from masonry or concrete needs approval in Cape Town once it holds more than 1 000 litres, so this one does.

Background and insight

A horizontal cylinder's partial volume is the area of a circular segment times the length: A = r² cos⁻¹((r − h)/r) − (r − h)√(2rh − h²). The same segment geometry, rotated, gives the spherical cap V = πh²(3r − h)/3 used for spheres and for the hemispherical ends of capsule tanks. A cone bottom fills as a smaller cone until the liquid reaches the cylinder.

Because the segment area is not linear in depth, rules of thumb mislead. At a quarter of the diameter a horizontal cylinder is 19.6% full, at half it is exactly 50% and at three quarters it is 80.4%. A sphere at a quarter of its height is only 15.6% full.

Unit factors are exact: 1 US gallon is 3.785411784 L, 1 imperial gallon 4.54609 L, and an oil barrel 42 US gallons (158.987 L). For custody transfer and tax purposes, tanks are calibrated by recognised strapping methods such as API MPMS Chapter 2 rather than from nominal drawings, because real tanks have dished heads, slopes, dents and internal fittings.

Common use cases

  • Fuel and oil inventory

    Turn a dipstick reading into litres or gallons for heating oil, diesel or lube tanks.

  • Water storage and rainwater tanks

    Find capacity and remaining days of supply from the water level.

  • Level gauge marking

    Get the depth for 25%, 50% or any volume to mark a sight glass or set level switches.

  • Process vessels and hoppers

    Volume in capsule and cone-bottom vessels at any fill, for batching and dosing.

Tips and limitations

  • Upright round and rectangular tanks are proportional: half the depth is half the volume. A tank lying on its side is not, so use the horizontal cylinder shape for it.
  • Allow about a tonne of load per 1 000 litres when you plan the base or stand.
  • In Cape Town rainwater may be used for toilets, laundry, gardens, pools and cleaning, but not for drinking, cooking or washing the body, and a tank plumbed into the house needs the City's permission and a non-drinking water sign.
  • Where a tank is filled from the municipal supply as well, the City's guidelines call for an air gap of at least twice the supply pipe diameter, and never less than 25 mm, between the inlet and the overflow level.

Sources and further reading

  1. Alternative water sources, City of Cape Town. Permitted uses of rainwater, signage, permission for plumbed systems; 5 mm of rain on 100 m² gives 500 litres.
  2. Guidelines for the installation of alternative water systems, City of Cape Town. Section 6 on registration and storage (approval above 10 000 litres, site-built tanks over 1 000 litres, stands over 1 m); air gap of twice the supply pipe diameter and at least 25 mm; the 5 000 litre toilet-flushing example.
  3. Circular Segment, Wolfram MathWorld. The formula for a tank lying on its side.

Frequently asked questions

How many litres are in my water tank?

For an upright round tank, multiply π x radius² x water depth in metres, then by 1 000. A tank 1 800 mm across holds 25.4 litres for every 10 mm of depth, so 600 mm of water is 1 527 litres. Enter your own diameter and depth to get the figure for your tank.

How much rainwater will my roof collect?

About one litre per square metre of roof for every millimetre of rain. The City of Cape Town gives the example of 5 mm on a 100 m² roof producing 500 litres. Some water is lost to splashing, first-flush devices and overflow, so treat that as the upper figure.

Do I need approval for a water tank in Cape Town?

Yes for a single tank over 10 000 litres, a tank over 1 000 litres built on site from masonry, concrete or steel, any tank on a stand more than 1 m above ground, or where the building control officer decides the installation needs it. Plumbing rainwater into the house also needs the City's permission.

Can I drink water from my rainwater tank?

Not in Cape Town. The City's Water By-law does not allow rainwater, treated or untreated, to be used for drinking, cooking, food preparation or body washing. It can be used for flushing toilets, laundry, gardens, pools and cleaning.

Does a rainwater tank need a licence from the Department of Water and Sanitation?

The City's guidelines say rainwater and greywater systems do not need permission or licensing from DWS, unlike boreholes and wellpoints. Storage is covered by a general authorisation under the National Water Act, and the City suggests confirming current storage limits with the DWS regional office.

How long will a 5 000 litre tank last?

Divide the litres by your daily use. The City notes that a 5 000 litre tank used mainly for toilet flushing in a winter rainfall area can save up to 15% on annual water use, but the same tank empties quickly if it waters a garden through a dry summer.

Is there an in-depth guide to the Tank Volume Calculator?

Yes. “Tank Volume Formulas and Dip Charts for Horizontal, Vertical and Odd Shapes” covers the background, how it works, common pitfalls and worked examples. Read the full guide.