Skip to main content
Calnex LogoCalnex
Environment

Aquarium Volume Calculator

Calculate the gross and net water volume of a rectangular aquarium in liters and US gallons, and estimate the maximum safe fish length based on the net volume.

Gross Volume (Liters)200.00 LView results
cm
cm
cm
cm

Real-time Results

Gross Volume (Liters)
200.00L
Gross Volume (Gallons)
52.83gal

Detailed Stocking Analysis

ItemValue
Estimated Net Water180.00 L
Max Safe Fish Length120.00 cm

How it works

This calculator estimates the water volume of a rectangular aquarium from its length, width, and height in centimeters. It provides gross volume in liters and US gallons, then subtracts the volume displaced by substrate and a fixed 10% allowance for decorations and air gaps to estimate net water volume. The net volume is used to estimate the maximum safe total fish length using a simple rule of 1.5 liters per centimeter of fish. It is intended for hobbyists planning tank setup and stocking, but the stocking rule is a rough guideline and not a substitute for species-specific research.

How does substrate depth affect the net water volume?

The substrate depth is subtracted from the tank height to account for the volume occupied by gravel, sand, or other substrate. The calculator caps the substrate depth at the tank height, so if you enter a substrate depth greater than the height, it uses the height instead.

For example, a 100 cm × 40 cm × 50 cm tank with 5 cm of substrate loses 100 × 40 × 5 / 1000 = 20 liters to substrate. The net volume is further reduced by a fixed 10% of the gross volume for decorations and air gaps.

What does the maximum safe fish length mean?

The maximum safe fish length is an estimate based on the net water volume using a rule of 1.5 liters per centimeter of fish length. It is the total length of all fish combined, not the length of a single fish.

This rule is a very rough guideline and does not account for fish behavior, territorial needs, filtration, or other factors. Always research the specific needs of your fish species before stocking.

Why is there a 10% decor and gap allowance?

The calculator assumes that decorations, plants, and the air gap at the top of the tank reduce the usable water volume by 10% of the gross volume. This is a fixed percentage and does not change with the amount of decor you actually have.

If your tank is heavily decorated or has a large air gap, the actual net volume may be lower than the estimate. Conversely, a bare tank with no air gap may have a higher net volume.

Examples and interpretation(5)

How do I calculate the volume of a standard 100 cm tank with no substrate?

Length (cm)
100 cm
Width (cm)
40 cm
Height (cm)
50 cm
Substrate Depth (cm)
0 cm
  1. Enter length 100 cm, width 40 cm, height 50 cm, and substrate depth 0 cm.
  2. Gross volume = 100 × 40 × 50 / 1000 = 200 L. Gallons = 200 / 3.78541 ≈ 52.83 gal. Net volume = 200 − 0 − 20 = 180 L. Max fish length = 180 / 1.5 = 120 cm.
Gross Volume (Liters)
200.00
Gross Volume (Gallons)
52.83
Detailed Stocking Analysis: Estimated Net Water
180.00 L
Detailed Stocking Analysis: Max Safe Fish Length
120.00 cm

The tank holds 200 liters gross, but after the 10% decor allowance, the estimated net water is 180 liters, allowing a total fish length of 120 cm.

How do I account for a 5 cm substrate in a 60 cm tank?

Length (cm)
60 cm
Width (cm)
30 cm
Height (cm)
35 cm
Substrate Depth (cm)
5 cm
  1. Enter length 60 cm, width 30 cm, height 35 cm, and substrate depth 5 cm.
  2. Gross volume = 60 × 30 × 35 / 1000 = 63 L. Substrate volume = 60 × 30 × 5 / 1000 = 9 L. Decor allowance = 6.3 L. Net volume = 63 − 9 − 6.3 = 47.7 L. Max fish length = 47.7 / 1.5 = 31.8 cm.
Gross Volume (Liters)
63.00
Gross Volume (Gallons)
16.64
Detailed Stocking Analysis: Estimated Net Water
47.70 L
Detailed Stocking Analysis: Max Safe Fish Length
31.80 cm

The substrate reduces the net volume by 9 liters, and the decor allowance further reduces it, leaving 47.7 liters for fish.

What is the net volume for a large 120 cm tank with 10 cm substrate?

Length (cm)
120 cm
Width (cm)
50 cm
Height (cm)
60 cm
Substrate Depth (cm)
10 cm
  1. Enter length 120 cm, width 50 cm, height 60 cm, and substrate depth 10 cm.
  2. Gross volume = 120 × 50 × 60 / 1000 = 360 L. Substrate volume = 120 × 50 × 10 / 1000 = 60 L. Decor allowance = 36 L. Net volume = 360 − 60 − 36 = 264 L. Max fish length = 264 / 1.5 = 176 cm.
Gross Volume (Liters)
360.00
Gross Volume (Gallons)
95.10
Detailed Stocking Analysis: Estimated Net Water
264.00 L
Detailed Stocking Analysis: Max Safe Fish Length
176.00 cm

This large tank has a net volume of 264 liters, which corresponds to a maximum total fish length of 176 cm.

What happens if the substrate depth exceeds the tank height?

Length (cm)
80 cm
Width (cm)
35 cm
Height (cm)
40 cm
Substrate Depth (cm)
50 cm
  1. Enter length 80 cm, width 35 cm, height 40 cm, and substrate depth 50 cm.
  2. The calculator caps substrate depth at 40 cm. Substrate volume = 80 × 35 × 40 / 1000 = 112 L, which equals the gross volume. Net volume = 112 − 112 − 11.2 = −11.2, clamped to 0. Max fish length = 0 cm.
Gross Volume (Liters)
112.00
Gross Volume (Gallons)
29.59
Detailed Stocking Analysis: Estimated Net Water
0.00 L
Detailed Stocking Analysis: Max Safe Fish Length
0.00 cm

If the substrate fills the entire tank, the net water volume is zero, and the maximum fish length is zero. This is an extreme case but shows the clamping behavior.

How do I calculate a small tank with a thin substrate layer?

Length (cm)
45 cm
Width (cm)
25 cm
Height (cm)
30 cm
Substrate Depth (cm)
2 cm
  1. Enter length 45 cm, width 25 cm, height 30 cm, and substrate depth 2 cm.
  2. Gross volume = 45 × 25 × 30 / 1000 = 33.75 L. Substrate volume = 45 × 25 × 2 / 1000 = 2.25 L. Decor allowance = 3.375 L. Net volume = 33.75 − 2.25 − 3.375 = 28.125 L, rounded to 28.13 L. Max fish length = 28.125 / 1.5 = 18.75 cm.
Gross Volume (Liters)
33.75
Gross Volume (Gallons)
8.92
Detailed Stocking Analysis: Estimated Net Water
28.13 L
Detailed Stocking Analysis: Max Safe Fish Length
18.75 cm

The net volume is 28.13 liters, and the maximum total fish length is 18.75 cm. Note that the net volume is rounded to two decimal places in the output.

Formula

Gross volume (L) = length (cm) × width (cm) × height (cm) / 1000. Net volume (L) = gross volume − substrate volume − 10% decor/gap allowance, clamped to 0. Max safe fish length (cm) = net volume (L) / 1.5.

How to use

  1. Enter the aquarium length in centimeters.
  2. Enter the aquarium width in centimeters.
  3. Enter the aquarium height in centimeters.
  4. Optionally enter the substrate depth in centimeters; if omitted, it defaults to 0.
  5. Review the gross volume in liters and gallons.
  6. Check the detailed stocking analysis for estimated net water volume and maximum safe fish length.

Frequently asked questions

Does the calculator use US or imperial gallons?

The calculator uses US gallons. One US gallon is defined as 3.78541 liters in this implementation.

Can I enter dimensions in inches or feet?

No, the calculator only accepts dimensions in centimeters. You must convert your measurements to centimeters before entering them.

What if I don't know the substrate depth?

You can leave the substrate depth field empty or set it to 0. The calculator will then assume no substrate and only apply the 10% decor and gap allowance.

Is the maximum fish length rule accurate for all fish?

No, the rule of 1.5 liters per centimeter is a very rough guideline. It does not account for fish species, behavior, filtration, or other factors. Always research your specific fish.

Why does the net volume sometimes show 0.00 L?

If the substrate depth is equal to or greater than the tank height, the substrate volume equals the gross volume, and after the decor allowance the net volume becomes negative. The calculator clamps it to 0.00 L.

Does the calculator account for water displaced by decorations?

Yes, it subtracts a fixed 10% of the gross volume for decorations and air gaps. This is a rough estimate and does not change based on the actual amount of decor.

Back to EnvironmentAll Calculators