Work out your fish tank volume, and what it can really hold
Enter the inside dimensions of a rectangular tank. Get the capacity in gallons and litres, the actual water volume once gravel and headspace are gone, and an honest stocking range.
Free · No signup · Runs entirely in your browser
Using a 90% fill factor (gravel, rockwork and headspace removed).
Measuring a tank properly
A tank volume calculator answers the question behind almost every other aquarium decision: how much water is actually in there? Nearly everything you do is dosed or sized per unit of water — dechlorinator, fertiliser, medication, how much you change each week, how many fish the filter can keep up with. Most people use the number printed on the box, and that number is both rounded and measured before any gravel went in. Getting it right takes one measurement and one division.
The arithmetic is short enough to check by hand. There are exactly 231 cubic inches in a US gallon and exactly 1,000 cubic centimetres in a litre — both are definitions rather than approximations, so a volume worked out this way is as accurate as your tape measure. A 24 by 12 by 16 inch tank is 4,608 cubic inches, which divided by 231 gives 19.94 gallons. A 100 by 40 by 50 centimetre tank is 200,000 cubic centimetres, or exactly 200 litres. One US gallon is 3.785411784 litres if you need to move between the two.
Then subtract what is not water. Substrate, rockwork, hardscape and the headspace under the lid all displace water, and a planted tank with three inches of aquasoil can easily lose a fifth of its nominal volume. Ninety percent is a reasonable default for a lightly decorated tank, seventy-five to eighty for a heavily planted or rocky layout, and a hundred only if you are calculating a bare tank. That corrected figure — not the box number — is what every dose and every stocking estimate should be based on.
Treat the stocking output as a range rather than a limit. The conservative reading suits territorial species and fish that are unusually messy for their length; the generous reading assumes strong filtration, live plants and a disciplined water change routine. Neither tier rescues the groups the rule simply does not fit — goldfish above all, where the honest answer is a species-specific minimum tank size rather than a fraction of an inch-per-gallon figure. When in doubt, stock under the conservative figure and add fish slowly over several weeks, because a new filter has almost no bacterial colony and even a correctly sized plan will spike ammonia if everything arrives at once.
Nominal capacity versus actual water
Nominal capacity is the glass box: length times width times water height. It is the number on the price tag and the number most people quote to each other. Actual water volume is what is left once gravel, rock and headspace are accounted for, and it is the figure that matters for every practical decision — how much dechlorinator, how much fertiliser, what dose of medication, how many fish the filter can support. Confusing the two is how tanks get overdosed and overstocked, and the gap between them is routinely twenty percent.
The one-inch-per-gallon rule persists because it is easy to remember and roughly right for small, slim, peaceful community fish in a filtered tank. It falls apart at both extremes. Two six-inch goldfish are not equivalent to twelve one-inch tetras, because waste output scales with body mass rather than length and because goldfish need room to swim. Equally, a heavily planted tank with an oversized filter and weekly water changes can comfortably support more than the rule suggests. Treat it as a sanity check on a plan you have already researched, not as a shopping list.
Standard tank sizes, measured
| Common tank | Inside dimensions | Nominal | Water at 90% |
|---|---|---|---|
| Nano cube | 12 × 12 × 12 in | 7.48 gal | 6.73 gal |
| Standard 20 | 24 × 12 × 16 in | 19.94 gal | 17.95 gal |
| 40 breeder | 36 × 18 × 16 in | 44.88 gal | 40.39 gal |
| Metric 200 L | 100 × 40 × 50 cm | 200.00 L | 180.00 L |
Three mistakes worth avoiding
Dosing off the wrong number
Dosing off the wrong number is the mistake with the sharpest consequences. Medication and fertiliser doses are specified per unit of water, so if you dose a 20 gallon tank that actually holds 17 gallons you are running roughly eighteen percent over the intended concentration. That is enough to matter with copper-based treatments, with shrimp and snails, and with any fish already weakened by whatever you are treating. Always dose off actual water volume, and when you are unsure, err low and repeat rather than high and hope.
Forgetting the weight
Weight is the mistake with the most expensive consequences. Filled and decorated, a tank comes in around nine to ten pounds per gallon, so a 55 gallon setup is over 500 pounds concentrated on a small footprint. Check the stand and the floor before you fill rather than after, because a full tank cannot be moved without being emptied first, and a stand that merely looks sturdy is not the same as one rated for the load.
Stocking to the maximum on day one
Stocking to the maximum on day one is the mistake people make most often. A new filter has almost no bacterial colony, so even a correctly sized stocking plan will cause an ammonia spike if every fish arrives together. Add a few at a time over several weeks and let the filter catch up between additions.
Aquarium volume questions, answered
Multiply the inside length, width and water height in inches, then divide by 231 — there are exactly 231 cubic inches in one US gallon. A tank measuring 24 by 12 by 16 inches works out at 4,608 cubic inches, or 19.94 gallons. Notice that this is slightly under the 20 gallons printed on the box: manufacturers round to the nearest standard size, and the glass itself takes up a little room. If you measure in centimetres instead, multiply the three numbers together and divide by 1,000 to get litres — 100 by 40 by 50 centimetres is exactly 200 litres. Always measure the inside faces of the glass rather than the outside, and take the height to where the water line will actually sit rather than to the top of the frame.
Two things take up space. Substrate — gravel, sand or aquasoil — usually fills the bottom two to three inches, and you never fill right to the rim, so there is an inch or two of headspace under the lid. Rockwork, driftwood and equipment take a little more. Together these typically remove 10 to 25 percent of the nominal volume, which is why this calculator shows a separate figure for actual water volume and lets you set the fill factor yourself. This matters more than it sounds: dosing medication or fertiliser off the nominal number rather than the actual water volume is the single most common way to accidentally overdose a tank, and with copper-based treatments or sensitive invertebrates that margin is the difference between a treatment and a loss.
The old rule of thumb is one inch of adult fish length per gallon of actual water. It is a starting point and nothing more. It takes no account of body shape — a goldfish produces far more waste than a neon tetra of the same length — nor of filtration, planting, water change routine or how territorial a species is. This calculator gives you conservative, standard and generous readings instead of a single number, because the honest answer depends on which fish and how well the tank is filtered. Use the conservative column for territorial fish and for species that are unusually messy for their length. Be aware, though, that the guideline fails outright for some groups rather than merely needing a lower tier: goldfish are the classic case, where a single fancy goldfish needs far more water than one inch per gallon suggests and common goldfish outgrow almost any indoor tank. For species like that, look up their actual minimum tank size instead of reading a number off this tool. The generous column is only realistic with strong filtration, live plants and a disciplined maintenance schedule. Always check the adult size and temperament of a species before buying, not the size it is in the shop tank.
For volume, only the internal dimensions matter, so this calculator handles any rectangular tank. For stocking it matters a great deal. A tall, narrow tank and a long, shallow tank can hold identical water volumes while offering very different amounts of swimming room and surface area for gas exchange. Long and shallow is generally better for active swimmers and for oxygenation, because a larger water surface exchanges more oxygen; tall tanks suit angelfish, gouramis and heavily planted layouts where vertical space is used. If your tank is bow-fronted, measure the average width to get a close estimate, and for a cylindrical tank use the radius squared times pi times the height instead.
Water weighs roughly 8.34 pounds per US gallon, or one kilogram per litre. Add about ten to fifteen percent for substrate and rock, which are considerably denser than water. A 40 gallon tank therefore comes in around 370 to 390 pounds once it is filled and decorated — which is why it belongs on a purpose-built stand rather than a bookshelf or a chest of drawers, and why you should check what is under the floor before setting up anything larger. A 55 gallon tank exceeds 500 pounds. Work the weight out before you fill, because once a tank is full the only way to move it is to empty it again.
Always measure the inside of the glass, and measure the water height rather than the full height of the tank. Aquarium glass is commonly 6 to 12 millimetres thick, so on a small tank using outside measurements can overstate the volume by several percent — and on a nano tank that error is proportionally worse. Measure from the inside face of one pane to the inside face of the opposite pane, and take the height from the substrate surface up to where the water line will sit. If you have already added substrate, measure from the top of the gravel rather than the bottom of the glass, and leave the fill factor at 100 percent so you are not subtracting it twice.