Aquarium Volume Calculator
Free aquarium volume calculator: enter your tank's length, width and height in inches or cm to get the volume in litres, US gallons and imperial gallons.
Updated 2026-06-09 · Free · No sign-up · Runs privately in your browser
This is the geometric volume. Real water volume is lower after substrate, rocks, the fill line and equipment.
What is an aquarium volume calculator?
An aquarium volume calculator works out how much water a rectangular fish tank holds from its length, width and height, and shows the answer in litres, US gallons and imperial gallons at the same time. Instead of guessing from a label or hunting for a manufacturer spec sheet, you measure three sides and read the capacity instantly.
This matters because almost every part of fishkeeping is sized by volume: stocking limits, heater wattage, filter turnover, water-change amounts, and medication or fertiliser dosing are all quoted “per gallon” or “per litre”. The tool in the hero runs entirely in your browser, so your measurements never leave your device, and you get litres and both gallon standards in one shot — handy when guides mix US and UK units.
How does the aquarium volume calculator work?
The method is the geometric volume of a box: volume = length × width × height. The calculator then converts that raw volume into the units fishkeepers actually use.
The exact steps depend on which units you measure in:
- Inches: compute
length × width × heightto get cubic inches, thencubic inches × 0.0163871 = litres. - Centimetres: compute
length × width × height ÷ 1000 = litres(since 1000 cm³ = 1 litre). - US gallons:
litres × 0.264172. - Imperial (UK) gallons:
litres × 0.219969.
Here “length” is the longest horizontal side, “width” is the front-to-back depth, and “height” is how tall the tank stands. Measure the inside dimensions where you can, because glass thickness slightly reduces the usable space. The result is the full geometric volume — the amount of water the empty box would hold if filled to the very top.
Examples
Each example uses the formula above, so you can reproduce every number with the calculator in the hero.
Example 1 — a 24 × 12 × 16 inch tank (a standard 20-gallon “long”).
First the volume: 24 × 12 × 16 = 4608 cubic inches. Convert to litres: 4608 × 0.0163871 ≈ 75.5 litres. Then to gallons: 75.5 × 0.264172 ≈ 19.9 US gallons (about 16.6 imperial gallons). That lines up with the familiar 20-gallon long footprint.
Example 2 — a 60 × 30 × 30 cm aquarium.
The volume is 60 × 30 × 30 = 54,000 cm³. Divide by 1000: 54,000 ÷ 1000 = 54 litres. Convert: 54 × 0.264172 ≈ 14.3 US gallons (about 11.9 imperial gallons). This is a common nano/community starter size.
Example 3 — a 48 × 18 × 21 inch tank (a classic 75-gallon).
Volume: 48 × 18 × 21 = 18,144 cubic inches. Litres: 18,144 × 0.0163871 ≈ 297.3 litres. Gallons: 297.3 × 0.264172 ≈ 78.5 US gallons (about 65.4 imperial gallons). The geometric figure runs a touch above the “75-gallon” label because the label already discounts the rim gap.
Example 4 — a 100 × 40 × 50 cm aquarium.
Volume: 100 × 40 × 50 = 200,000 cm³. Litres: 200,000 ÷ 1000 = 200 litres. Gallons: 200 × 0.264172 ≈ 52.8 US gallons (about 44.0 imperial gallons) — a typical mid-size display tank.
For a quick mental check, a 30 × 30 × 30 cm cube is 27,000 ÷ 1000 = 27 litres, or about 7.1 US gallons.
Litres to gallons reference table
Once you have litres, this table converts straight to both gallon standards using the same multipliers the calculator applies.
| Litres | US gallons (× 0.264172) | Imperial gallons (× 0.219969) |
|---|---|---|
| 10 | 2.6 | 2.2 |
| 27 | 7.1 | 5.9 |
| 54 | 14.3 | 11.9 |
| 75.5 | 19.9 | 16.6 |
| 100 | 26.4 | 22.0 |
| 150 | 39.6 | 33.0 |
| 200 | 52.8 | 44.0 |
| 297.3 | 78.5 | 65.4 |
Notice that US and imperial gallons are not interchangeable: 200 litres is about 52.8 US gallons but only 44.0 imperial gallons, a gap of nearly nine gallons that matters when you are dosing or buying a heater.
Common uses
- Stocking calculations: the “inch of fish per gallon” guidance and bioload limits all start from a known volume.
- Sizing equipment: heaters are rated in watts per litre or gallon, and filters by turnover (tank volume × 4–10 per hour).
- Water changes: a 25% change on a 200-litre tank means swapping 50 litres — easy once you know the true number.
- Dosing safely: ferts, dechlorinator and medications are dosed per unit of water, so an accurate volume prevents under- or overdosing.
- Buying or selling a tank: quickly confirm whether an unlabelled tank is closer to a 20-gallon or a 40-gallon.
Tips and common mistakes
- Measure inside dimensions when you can. Glass and acrylic thickness can shave a litre or two off larger tanks compared with outside measurements.
- Width means front-to-back depth, not the longest side. Mixing up width and length will not change the multiplication result, but labelling them correctly helps when you compare against standard footprints.
- Keep your units consistent. Do not mix inches and centimetres in one calculation; pick one and stick with it.
- Treat the result as a maximum. It is the brim-full volume — see the limitations below before you use it for stocking.
- Round sensibly. Tiny measuring errors get multiplied three times over, so a result of “75.5 litres” is really “about 75 litres”.
Limitations and accuracy notes
This calculator returns the full geometric volume of a rectangular tank — the water it would hold if filled to the very rim and completely empty of everything else. Your real water volume is always lower. Substrate (gravel or sand), rocks, driftwood, decor and equipment all displace water, and you should never fill to the rim — most aquarists leave a few centimetres of freeboard below the trim. As a rule of thumb, plan for roughly 10–15% less than the calculated figure, more if you run a deep substrate or heavy hardscape.
The tool also assumes a true rectangular box with flat panels. Bow-front, cylindrical, hexagonal, corner and bevelled tanks hold less than the length × width × height estimate, so use this only as an upper bound for those shapes. Everything is computed locally in your browser, so nothing is uploaded, and the conversion factors (0.0163871 litres per cubic inch, 0.264172 US gallons and 0.219969 imperial gallons per litre) are exact standard values. Use the number as a reliable planning figure, then adjust down for the real-world contents of your tank.
If you like pet-focused tools, try our dog age calculator or cat age calculator for converting your pet’s age into human years, or browse more in the pets category.
Frequently asked questions
How do I work out how many gallons my fish tank is?+
Multiply length × width × height to get the volume, convert it to litres, then multiply litres by 0.264172 for US gallons.
How many gallons is a 24 × 12 × 16 inch tank?+
It is 4608 cubic inches, about 75.5 litres, which is roughly 19.9 US gallons — a standard 20-gallon long aquarium.
How many litres is a 60 × 30 × 30 cm aquarium?+
60 × 30 × 30 = 54,000 cm³, and dividing by 1000 gives 54 litres, or about 14.3 US gallons.
How do you convert cubic inches to litres?+
Multiply the cubic inches by 0.0163871; for example 4608 cubic inches × 0.0163871 ≈ 75.5 litres.
What is the difference between US and imperial gallons?+
An imperial (UK) gallon is larger, so multiply litres by 0.264172 for US gallons but by 0.219969 for imperial gallons.
Does the calculator give the actual water volume?+
No — it gives the full geometric volume; real water volume is lower once you add substrate and rocks and leave the tank below the rim.
How do I use this aquarium volume calculator?+
Pick your units, enter length, width and height, and read the volume in litres and gallons instantly.
Why is my tank's real capacity less than the calculated number?+
Gravel, sand, rocks, decor and the air gap below the rim all displace or exclude water, so plan for roughly 10–15% less than the geometric figure.