Aquarium volume calculator

This aquarium volume calculator finds the true water volume of your fish tank in gallons and liters, after you remove substrate and the rim gap. Rectangular tanks calculate below, with formulas for other shapes further down.

How the aquarium volume calculator works

The calculator starts with the gross volume, which is length times width times height in cubic inches, divided by 231 because there are 231 cubic inches in a US gallon. That gross figure is what the tank would hold if it were filled to the very top edge with no substrate.

Real tanks never run that way. The tool then subtracts your substrate depth and a one inch rim gap from the height to get a water height, and it never lets that fall below zero. Net gallons uses length times width times this water height, so it reflects the water you actually keep. Liters come from multiplying gallons by 3.78541. The net figure is the number you should carry into stocking, dosing and heater choices, since using the label size will overstate what your tank really holds.

Here is a worked example. A standard 55 gallon tank measures about 48 by 13 by 21 inches. Filled to the brim with no substrate that is roughly 56.7 gross gallons, already less than some rounded box figures. Add two inches of substrate and a one inch rim gap and the water height drops to 18 inches, giving about 48.6 net gallons, or 184 liters. That is about eight gallons less than the gross figure and around six gallons less than the name on the tank, which is exactly why the net number is the one worth planning around.

Why true volume matters

Almost every fishkeeping decision scales with water volume. Medication and fertilizer doses are set per gallon, so an overstated volume means you underdose and an understated one means you overdose. Stocking guidance depends on how much water dilutes waste. Heater wattage is chosen per gallon. Even the weight your floor carries depends on the water that is really in the tank.

Because substrate and the rim gap can easily remove ten percent or more of a tank's printed size, working from net volume keeps all of those downstream numbers honest. Measure the inside dimensions of the glass rather than the outside, since the frame and glass thickness add up on smaller tanks.

When you buy equipment, size it to the net volume with a little room to spare. A heater or filter chosen for a slightly larger tank copes better on cold nights and heavy stocking than one that runs at its limit. Dosing is the opposite case: measure carefully and dose to the real water volume, because a small tank punishes an overdose far faster than a large one does.

How to measure your tank correctly

Accurate dimensions matter more than the formula. Measure the inside of the glass, not the outside, because the frame, trim and glass thickness can add half an inch or more on each side. On a small tank that easily changes the result by a gallon or two. Use a rigid tape or ruler and measure to the nearest quarter inch.

For length and width, measure across the inside floor of the tank. For height, measure from the inside bottom up to where the water line will sit rather than to the very top rim. If you already leave a rim gap for surface movement and to stop spills, measure to that line and leave the rim gap in this calculator at its default. Take each reading twice, and if the tank is not perfectly square, use the average of the two measurements.

Volume for other tank shapes

The calculator above is built for rectangular tanks, the most common shape. For other shapes, work the volume out in cubic inches with the formula below, divide by 231 to get US gallons, then multiply gallons by 3.78541 for liters. Subtract substrate and a rim gap the same way, using the water height rather than the full height.

For an unusual shape, split the tank into simple parts, find the volume of each, and add them together.

Rocks, substrate and equipment displacement

Substrate is the biggest thing that lowers your water volume, but it is not the only one. Rocks, driftwood, large ornaments and the submerged parts of a heater or filter intake all take up space that would otherwise hold water. A big rockscape or a thick layer of lava rock under the substrate can remove a real share of the volume in a small or medium tank.

The calculator handles substrate directly through the depth input. For heavy hardscape you can estimate the displaced volume and subtract it, or measure it the simple way: note the water level, add the rocks, and see how far the level rises, then convert that rise into extra gallons. For most lightly decorated tanks the effect is small, but for heavily scaped or rock filled tanks it is worth allowing for when you dose or stock.

Gallons, liters and imperial gallons

This calculator shows US gallons first with liters in brackets, which suits most hobbyists. It still helps to know how the units relate. One US gallon is 3.78541 liters and 231 cubic inches, and one liter is about 0.264 US gallons. If a product or a forum uses imperial gallons, common in the United Kingdom, remember that one imperial gallon is about 1.2 US gallons, so an imperial figure is always a little larger for the same tank.

When you follow a dosing instruction, check which gallon it means. Mixing up US and imperial gallons, or gallons and liters, is a common cause of accidental over or underdosing. When in doubt, convert everything to liters first, since liters leave no room for confusion.

Common aquarium sizes

These are typical nominal sizes and outside dimensions in inches, listed as length by width by height. The real net volume is a little less once you remove substrate and the rim gap, so measure the inside of the glass and use the calculator for your own tank.

Frequently asked questions

Why is my water volume less than the tank size on the box?

The printed size is the gross volume to the very top rim. Real tanks lose volume to substrate, rocks and the gap you leave below the rim, so the water you actually hold is always less than the label.

How deep should I assume the rim gap is?

This tool assumes a one inch gap below the rim, which is a common safe margin that stops overflow and gives fish surface space. Adjust your height input if your gap is different.

Does substrate really change the volume that much?

Yes. Two inches of substrate across the full footprint of a tank can remove several gallons of water volume, which matters for dosing, stocking and heater sizing.

How do I calculate the volume of a cylinder or hexagon tank?

For a cylinder, multiply 3.1416 by the radius squared by the height. For a regular hexagon, multiply 2.598 by the side length squared by the height. Work in inches, divide by 231 for US gallons, then subtract substrate and the rim gap.

How much does the water in my tank weigh?

Fresh water weighs about 8.34 pounds per US gallon, so multiply your net gallons by 8.34. A filled tank is mostly water weight. The tank weight calculator adds substrate, decor and glass for a full total.

Should I measure the inside or the outside of the tank?

Measure the inside of the glass. The frame, trim and glass thickness add up, especially on small tanks, so outside measurements overstate the volume. Measure the inside floor for length and width, and up to the water line for height.

How much water does a 75 gallon tank really hold?

Less than 75 gallons. A 48 by 18 by 21 inch tank is about 78 gross gallons, but two inches of substrate and a rim gap bring the real water down to roughly 67 gallons. Always plan from the net figure, not the name.

Do rocks and decorations reduce the water volume?

Yes. Rocks, wood, ornaments and the submerged parts of equipment displace water. For a heavy rockscape, measure how far the water rises when you add the hardscape and subtract that from your volume.

What is the difference between US and imperial gallons?

A US gallon is 3.78541 liters, while an imperial gallon used in the United Kingdom is about 4.546 liters, roughly 1.2 US gallons. Check which one a product means before you dose, since the gap is large enough to matter.

How accurate do my measurements need to be?

Measuring to the nearest quarter inch is fine for planning. Small errors have little effect on a large tank, but on a nano tank a half inch can shift the result by a noticeable fraction, so take extra care on small tanks.

How do I convert gallons to liters?

Multiply US gallons by 3.78541 to get liters. The calculator shows both so you do not have to.

Related calculators

Stocking calculator

Use your net gallons to check how full the tank is.

Heater wattage calculator

Match a heater size to your true volume.

Tank weight calculator

Turn volume into full loaded weight.