Measuring your aquarium and its real water volume
How to measure a tank the right way, why a gallon is 231 cubic inches, and how fill level and hardscape change the water it actually holds.
Measure the inside, not the outside
The number that matters is the space water can occupy, so measure the inside of the tank in inches: length, then width, then height. Hold the tape against the inner face of the glass rather than the outer edge, because the panel thickness and any plastic trim or bracing steal volume that never touches water. On a rimmed tank the top brace also lowers the practical waterline. Measuring height to the inside of the rim rather than the very top edge keeps your estimate honest, and it lines up with the fill level you enter later.
Why a gallon is 231 cubic inches
A US gallon is defined as exactly 231 cubic inches, a figure inherited from the old English wine gallon. That is why the core formula is simply length times width times height, divided by 231. A 36 by 18 by 18 inch tank is 11,664 cubic inches, which divides down to about 50.49 gallons. To read the same tank in liters, multiply the US gallons by 3.785412, giving roughly 191.1 liters. Keeping the constant in mind lets you sanity check any tank in your head.
Fill level and displacement
The brimful number is only the ceiling. Water in a real tank stops below the rim, so a fill level near 90 percent is common, and this calculator applies that percentage to give the actual water volume. Then subtract for everything solid: substrate, live rock, driftwood and large ornaments all push water out of the way. A deep sand bed plus a rock scape can easily remove 10 to 20 percent of the theoretical volume. The tool does not model that, so treat the actual water figure as an upper bound and shade it down for a heavily aquascaped build.
Why the real volume matters
Stocking guidelines, medication doses and fertilizer or salt mixes are all keyed to the water your tank truly holds, not the size printed on the box. Overestimating volume leads to underdosing treatments and misjudging bioload, while underestimating wastes product. Because evaporation concentrates salts and additives, a smaller true volume also swings parameters faster, which matters most on nano tanks. Working from an honest measurement, a sensible fill level and a mental allowance for hardscape gives you a number you can dose and stock against with confidence.