You can work out any aquarium's volume with a tape measure and one formula. For a standard rectangular tank: length x width x height in inches, divided by 231, gives US gallons. In centimetres, divide by 1,000 to get litres. The rest of this guide covers other tank shapes, worked examples and the difference between a tank's label size and the water it really holds.

If you just want the answer, the aquarium volume calculator does all of this for you. For help taking the measurements themselves, see how to measure a fish tank.

The formula for a rectangular tank

Most aquariums are rectangles, so their volume is simply length x width x height. The number 231 comes from the definition of a US gallon: one US gallon is exactly 231 cubic inches.

Measuring inFormulaGives
InchesL x W x H ÷ 231US gallons
InchesL x W x H ÷ 277.42UK (imperial) gallons
CentimetresL x W x H ÷ 1,000Litres
FeetL x W x H x 7.48US gallons

Worked example in inches: a 55 gallon tank

A standard 55 gallon tank measures 48 x 13 x 21 inches.

  1. Multiply the three sides: 48 x 13 x 21 = 13,104 cubic inches.
  2. Divide by 231: 13,104 ÷ 231 = 56.7 US gallons.
  3. For litres, multiply by 3.785: 56.7 x 3.785 = about 215 litres.

The result is a little over 55 because these are outside measurements, and tank sizes are rounded down to a familiar number.

Worked example in centimetres: a 60 cm tank

A popular European and nano size is 60 x 30 x 36 cm.

  1. Multiply: 60 x 30 x 36 = 64,800 cubic centimetres.
  2. Divide by 1,000: 64.8 litres.
  3. For US gallons, divide litres by 3.785: about 17.1 gallons.

Formulas for other tank shapes

ShapeWhat to measureVolume (cubic inches)
CylinderDiameter and height3.1416 x radius x radius x height
HexagonOne side and height2.598 x side x side x height
Corner (quarter circle)One straight back side and height0.785 x side x side x height
BowfrontLength, depth at the sides, depth at the middle, height(length x side depth + curved section) x height

Divide each result by 231 for US gallons, or measure in centimetres and divide by 1,000 for litres.

Cylinder example

A cylinder tank 20 inches across and 24 inches tall has a radius of 10 inches. 3.1416 x 10 x 10 x 24 = 7,540 cubic inches, which is 32.6 US gallons.

Hexagon example

A hexagon tank with 12 inch sides, 24 inches tall: 2.598 x 12 x 12 x 24 = 8,979 cubic inches, or 38.9 US gallons.

Corner tank example

A quarter-circle corner tank with 24 inch back sides, 24 inches tall: 0.785 x 24 x 24 x 24 = 10,857 cubic inches, or 47 US gallons.

Bowfront tanks

A bowfront is a rectangle with a curved section added to the front. Treat the part behind the curve as a rectangle (length x depth at the sides), then add the curved slice. For a 36 inch bowfront that is 12 inches deep at the ends and 16 inches at the middle, the curved slice adds about 97 square inches to the 432 square inch rectangle. At 20 inches tall, that's about 10,580 cubic inches, or 45.8 US gallons. The curve is fiddly to work out by hand, so choose Bowfront in the volume calculator and it does the geometry for you.

Nominal volume vs real water volume

The formulas above give the volume of the whole box, measured from the outside. The water you actually have is less, because several things take up space:

  • Glass thickness: commonly 3 to 12 mm, thicker on bigger tanks. Measuring inside the glass fixes this.
  • Substrate: a 2 inch gravel bed fills the bottom 2 inches of the tank.
  • The gap below the rim: most tanks are filled to about an inch below the top.
  • Rocks, wood and decor: large hardscape can displace several gallons.

For the 55 gallon example, allowing for 6 mm glass, a 2 inch gravel bed and a 1 inch gap at the top leaves an inside water space of about 47.5 x 12.5 x 17.8 inches, or about 46 gallons: roughly 19% less than the 56.7 gallons of the outside box. The real water volume calculator works this out from your own tank.

Which volume to use

TaskUse
Choosing a stand or checking spaceOutside dimensions
Choosing a heater or filterNominal size (the label); see the heater size guide
Dosing medicine, fertiliser or water conditionerReal water volume
Working out total weightReal water volume, plus glass, substrate and rock; see the weight guide

Quick reference: water weight from volume

Once you know the volume, the weight of the water follows directly: fresh water weighs about 8.34 lb per US gallon, or 1 kg per litre. The 55 gallon example's 56.7 gallons of box volume would weigh about 473 lb if filled to the brim, before adding the glass and gravel.

Compare your result with the aquarium size chart to see which standard tank you have, or convert between units with the gallons to litres guide.

How to Calculate Aquarium Volume (Gallons & Litres): chart to save
Save this chart for later. Save to Pinterest

Frequently asked questions

How do you calculate the gallons in a fish tank?

Multiply the length, width and height in inches, then divide by 231. A 48 x 13 x 21 inch tank is 13,104 cubic inches, or about 56.7 US gallons.

How do you calculate aquarium volume in litres?

Measure in centimetres, multiply length x width x height, and divide by 1,000. A 60 x 30 x 36 cm tank holds 64.8 litres. To convert US gallons to litres, multiply by 3.785.

Why does my tank hold less water than its size?

Glass thickness, substrate, decor and the gap between the water line and the rim all take up space. Real water volume is often 10 to 20% lower than the nominal size.

How do you calculate the volume of a cylinder fish tank?

Use 3.1416 x radius x radius x height. A tank 20 inches across and 24 inches tall holds about 7,540 cubic inches, or 32.6 US gallons.

Which volume should I use for medicine or fertiliser?

Use the real water volume, not the tank's nominal size. Overdosing is more likely if you dose for the full nominal volume of a tank that holds less.