Aquarium volume calculator

Volume is length × width × height for a rectangular tank, divided by 231 to turn cubic inches into US gallons or by 1,000 to turn cubic centimetres into litres. Other shapes need a different base area: a circle for a cylinder, a hexagon formula, or a rectangle plus the curved bow for a bow front.

1. Tank volume

Real water (substrate, decor)
0US gallons
0litres
0UK gallons

2. Water change

3. Water conditioner

Doses are typical label rates. Always check your bottle.

4. Salt

Mix brands vary; confirm with a refractometer before adding water to the tank.

5. Maintenance schedule

TaskHow oftenNextNotes

Saved you some time? Leave a tip, entirely optional.

TankMath does all of it and shows US gallons, litres and UK gallons side by side, plus the actual water left after substrate and decor and the approximate filled weight, which matters when choosing a stand or floor.

How tank volume is worked out

Every shape comes down to base area × height. For a rectangular tank the base is length × width. A cylinder uses π × radius², a regular hexagon uses 2.598 × side², and a quarter-circle corner tank uses a quarter of π × radius². A bow front is treated as a rectangle plus a curved segment whose area is two thirds of the length times the extra depth at the centre of the bow, which matches most commercial bow fronts closely. In inches the result is divided by 231 to give US gallons; in centimetres it is divided by 1,000 to give litres.

The nominal size of a tank is rarely the water it holds. TankMath subtracts the substrate depth and the gap you leave below the rim, then a percentage for rock and decor, to estimate the real water volume. That figure drives the water change, dosing and schedule, because medicine, conditioner and salt should be measured against the water actually in the tank. The filled weight adds water at about one kilogram per litre and substrate at about one and a half.

Water changes, conditioner and salt

Regular partial changes keep nitrate low and water chemistry steady. With a 25% weekly change, only about a third of today’s water is still in the tank four weeks later. Water conditioner doses scale directly with volume, so the calculator multiplies the label rate by the gallons you are treating. For marine mixes, specific gravity is converted to salinity in parts per thousand and multiplied by the litres you are making; because brands differ, always confirm with a refractometer or hydrometer before the new water goes in.

A schedule that fits your tank

The maintenance plan scales with stocking: heavier stocking means larger, more frequent water changes and more frequent filter rinses. Planted tanks get trimming and fertiliser reminders and gentler substrate cleaning, and saltwater tanks get daily top-offs with fresh RO water and weekly tests. Everything is calculated in your browser and saved only on this device.

Frequently asked questions

How many gallons is a 24 × 12 × 16 inch tank?

About 19.9 US gallons (75 litres) gross, before substrate and decor.

How is a bow front calculated?

As a rectangle plus a curved segment: length × width + ⅔ × length × the extra depth at the centre of the bow.

How heavy is a full aquarium?

Water weighs about 8.3 lb per US gallon (1 kg per litre). Add substrate, rock and the tank itself; a 20 gallon setup is often over 200 lb.

Is TankMath free?

Yes. Every calculator is free with no account.

Is my tank information saved?

Only in this browser, so the calculator remembers your tank next time. Nothing is uploaded.

More tools