Fish Tank Calculator

Calculate aquarium volume, fish stocking levels, heater size, filter capacity, and more for your fish tank.

Tank Dimensions

Tip: Measure inside dimensions of the tank, not outside dimensions, for accurate volume calculation.

Tank Volume

19.9 gal
75.5 liters

Fish Stocking

Small (1-2")
Neon Tetras, Guppies
~19 fish
Medium (2-4")
Mollies, Platies
~9 fish
Large (4-6")
Angelfish, Goldfish
~5 fish
X-Large (6-10")
Oscars, Plecos
~3 fish

* These are general guidelines. Actual stocking depends on fish species, filtration, and maintenance schedule.

Equipment Recommendations

Heater60-100W
Filter Flow Rate80 GPH
Lighting (planted)40-80W
Air Pump76 L/hr

Tank Details

Water Weight (filled)166.4 lbs (75.5 kg)
Surface Area2.00 sq ft

Care Tips

  • • Change 10-25% of water weekly
  • • Don't overstock - fish produce waste
  • • Cycle your tank before adding fish
  • • Test water parameters regularly
  • • Surface area matters for oxygen exchange

What the Fish Tank Calculator Does

The fish tank calculator turns the physical dimensions of an aquarium into the practical numbers every fishkeeper needs: total water volume in gallons and liters, a safe fish stocking estimate, the correct heater wattage, the right filter flow rate, suggested lighting, an air pump size, the weight of a filled tank, and the open water surface area that drives oxygen exchange. Instead of guessing whether your 24 by 12 by 16 inch tank holds enough water for the fish you want, you get an instant, math-backed answer.

The calculator supports three common tank shapes — rectangular, cylindrical, and bow front — and accepts measurements in either inches or centimeters. Centimeter inputs are converted to inches internally (dividing by 2.54), then volume is computed in cubic inches and converted to US gallons using the exact relationship of 231 cubic inches per gallon. Liters follow from 3.78541 liters per gallon. Because every downstream recommendation — stocking, heater, filter, lighting, and air pump — is derived from that gallon figure, getting the volume right is the foundation of a healthy aquarium.

This aquarium calculator is built for beginners setting up a first community tank and for experienced aquarists planning a new build, an upgrade, or a quarantine setup. It replaces the rough rules of thumb that lead to overstocked, under-filtered tanks with consistent arithmetic, so you can shop for equipment and livestock with confidence.

How Aquarium Volume Is Calculated

Volume is the heart of the tank volume calculator. The geometry depends on the shape you select, and all linear measurements are reduced to inches before the volume is found in cubic inches.

For a rectangular tank the volume is simply length times width times height: V = L × W × H. For a cylindrical tank it uses the area of a circle times the height: V = π × r² × H, where the radius r is half the diameter. A bow front tank bulges outward at the front pane, so the calculator approximates it as a rectangular box plus about 10% extra: V = L × W × H × 1.1.

Once the cubic-inch volume is known, the conversion to usable units is exact: gallons = cubic inches ÷ 231 and liters = gallons × 3.78541. For the default rectangular tank of 24 × 12 × 16 inches, that is 4,608 cubic inches, which divides by 231 to give about 19.9 gallons or 75.5 liters. Remember to measure the inside dimensions of the glass, and keep in mind that substrate, rocks, driftwood, and the gap of air left below the rim mean the actual water volume is usually 10–15% lower than the calculated maximum.

Aquarium Volume and Gallon Conversion

V_rect = L*W*H, V_cyl = pi*(d/2)^2*H, gallons = V / 231, liters = gallons * 3.78541

Where:

  • L= Tank length in inches (cm input divided by 2.54)
  • W= Tank width (front-to-back) in inches
  • H= Tank height in inches
  • d= Diameter in inches for a cylindrical tank; r = d/2
  • V= Volume in cubic inches before conversion
  • gallons= US gallons, where 1 gallon = 231 cubic inches

Fish Stocking Rules and the Inch-Per-Gallon Guideline

The most widely taught starting point for fish stocking is the one inch of fish per gallon guideline. This calculator builds on that rule but adjusts it for fish size, because a single bulky fish produces far more waste and needs more swimming room than its length alone suggests. The total stocking budget in inches of fish is computed as gallons × a size multiplier, then divided by a typical adult length to estimate how many fish of each class fit.

The size multipliers used are: 1.5 for small fish (you can stock a bit more than an inch per gallon), 1.0 for medium fish (the classic one-inch-per-gallon), 0.5 for large fish, and 0.25 for extra-large fish. So for a 19.9 gallon tank set to small fish, the budget is 19.9 × 1.5 = 29.9 inches of fish, which at 1.5 inches each yields about 19 small fish such as neon tetras or guppies.

Fish Class Examples Multiplier Length Used
Small (1–2")Neon tetras, guppies1.51.5"
Medium (2–4")Mollies, platies1.03"
Large (4–6")Angelfish, goldfish0.55"
X-Large (6–10")Oscars, plecos0.258"

Treat these counts as a ceiling, not a target. Aggressive species, schooling minimums, bioload, and your maintenance routine all matter. A lightly stocked tank with strong filtration is always healthier than one filled to the calculated limit.

Sizing the Heater, Filter, Light, and Air Pump

Once the volume is known, the fish tank calculator sizes the four core pieces of equipment using established per-gallon ratios. Each result is rounded up so you never under-buy.

  • Heater: 3 to 5 watts per gallon. A roughly 20 gallon tank therefore calls for about a 60 to 100 watt heater. Rooms that run cold or large tanks benefit from two smaller heaters for redundancy.
  • Filter flow rate: turn the entire tank over about 4 times per hour, so filter GPH = gallons × 4. For 19.9 gallons that is roughly 80 GPH. Heavily stocked or messy fish such as goldfish do better with 6 to 10 turnovers.
  • Lighting (planted): 2 to 4 watts per gallon under the old wattage rule, giving about 40 to 80 watts for a 20 gallon planted tank. Modern LED fixtures are far more efficient, so use this as a relative guide and match PAR to your plant species.
  • Air pump: sized at roughly 1 liter of air per hour per liter of water, so a 75.5 liter tank suggests about a 76 L/hr pump for good gas exchange.

The tool also reports the water surface area, the open top of the tank where oxygen enters and carbon dioxide leaves. For rectangular and bow front tanks this is length × width; for cylinders it is π × r². A wider, shallower tank with more surface area generally holds more fish than a tall, narrow column of the same volume because gas exchange is better.

Water Weight and Why It Matters

Aquariums are deceptively heavy, and the water weight figure from this calculator is essential for safety. Fresh water weighs about 8.34 pounds per gallon (roughly 1 kilogram per liter), so the calculator multiplies your gallon total by 8.34 to get pounds, then by 0.453592 to convert to kilograms.

For the default 19.9 gallon tank, that is about 166 pounds (75 kg) of water alone — before adding the weight of the glass, substrate, rocks, and the stand. A common 55 gallon tank holds roughly 459 pounds of water, and a 75 gallon tank tops 600 pounds. That much concentrated weight can exceed the rated capacity of ordinary furniture, so a dedicated aquarium stand and a level, load-bearing floor are not optional for larger setups.

Knowing the filled weight in advance helps you choose a stand, decide where in the room the tank can safely live, and plan for moving day. Always set up and fill a tank in its final position, because a full aquarium should never be lifted or slid even a few inches once it contains water.

The Nitrogen Cycle and Stocking Responsibly

No aquarium calculator can replace a properly cycled tank. Fish continuously excrete ammonia, which is toxic. Beneficial bacteria in the filter and substrate convert that ammonia into nitrite (also toxic) and then into far less harmful nitrate through the nitrogen cycle. A new tank must be cycled — allowed to grow these bacterial colonies over several weeks — before fish are added, or the fish risk ammonia poisoning.

This is why the stocking numbers from the calculator are upper guidelines rather than guarantees. A tank's true carrying capacity depends on filtration, water-change frequency, plant density, and species temperament. The standard maintenance routine is a 10–25% water change each week to keep nitrate low, plus regular testing of ammonia, nitrite, nitrate, and pH.

Stock gradually. Add a few fish at a time so the bacterial population can keep pace with the rising bioload, and resist filling the tank to its calculated maximum on day one. A modestly stocked, well-filtered, and regularly maintained aquarium is healthier, clearer, and far easier to keep stable than one pushed to the edge of its theoretical limit.

Worked Examples

Standard 20-gallon rectangular community tank

Problem:

A rectangular tank measures 24 inches long, 12 inches wide, and 16 inches high, stocked with small fish. Find the volume, water weight, and small-fish count.

Solution Steps:

  1. 1Volume in cubic inches = 24 × 12 × 16 = 4,608 cubic inches.
  2. 2Gallons = 4,608 ÷ 231 = 19.9 gallons; liters = 19.9 × 3.78541 ≈ 75.5 liters.
  3. 3Water weight = 19.9 × 8.34 ≈ 166 lbs (about 75 kg).
  4. 4Stocking budget for small fish = 19.9 × 1.5 = 29.9 inches; count = floor(29.9 ÷ 1.5) = 19 fish.

Result:

About 19.9 gallons (75.5 L), roughly 166 lbs of water, and space for about 19 small fish such as neon tetras.

Cylindrical nano column tank

Problem:

A cylindrical tank has a diameter of 18 inches and a height of 16 inches. Find its volume in gallons and the recommended filter flow rate.

Solution Steps:

  1. 1Radius = 18 ÷ 2 = 9 inches; volume = π × 9² × 16 = π × 81 × 16 ≈ 4,071.5 cubic inches.
  2. 2Gallons = 4,071.5 ÷ 231 ≈ 17.6 gallons.
  3. 3Filter flow rate = ceil(17.6 × 4) = ceil(70.5) = 71 GPH.

Result:

About 17.6 gallons of water, needing a filter rated for roughly 71 GPH (4x turnover).

Bow front tank measured in centimeters

Problem:

A bow front tank is 90 cm long, 35 cm wide, and 45 cm high. Find its volume in gallons and the heater wattage range.

Solution Steps:

  1. 1Convert to inches: L = 90 ÷ 2.54 = 35.43, W = 35 ÷ 2.54 = 13.78, H = 45 ÷ 2.54 = 17.72 inches.
  2. 2Bow front volume = 35.43 × 13.78 × 17.72 × 1.1 ≈ 9,514 cubic inches; gallons = 9,514 ÷ 231 ≈ 41.2 gallons.
  3. 3Heater range = ceil(41.2 × 3) to ceil(41.2 × 5) = 124 W to 206 W.

Result:

About 41.2 gallons, requiring a heater of roughly 124 to 206 watts (often two heaters for a tank this size).

Stocking the same 20-gallon tank with large fish

Problem:

Using the 19.9 gallon rectangular tank from Example 1, estimate how many large fish (such as angelfish) it can hold.

Solution Steps:

  1. 1Large-fish multiplier is 0.5, so stocking budget = 19.9 × 0.5 = 9.95 inches of fish.
  2. 2Large fish are sized at 5 inches each in the model.
  3. 3Count = floor(9.95 ÷ 5) = floor(1.99) = 1 fish.

Result:

Only about 1 large fish fits, showing why a 20-gallon tank suits small schooling fish far better than large species.

Tips & Best Practices

  • Measure the inside dimensions of the glass, not the outside, for an accurate volume.
  • Subtract 10 to 15 percent from the calculated volume to account for substrate, decor, and the air gap below the rim.
  • Choose a wider, shallower tank over a tall column when possible, because more surface area means better oxygen exchange.
  • Treat the stocking count as a ceiling and aim well below it for a healthier, more stable tank.
  • Cycle the tank fully before adding fish, then introduce livestock a few at a time.
  • Change 10 to 25 percent of the water every week and test ammonia, nitrite, nitrate, and pH regularly.
  • Size the filter for 4x turnover minimum, and go higher for messy fish like goldfish.
  • Always place and fill a large tank in its final location, as a filled aquarium should never be moved.

Frequently Asked Questions

It first reduces every measurement to inches, converting centimeters by dividing by 2.54. It then computes the volume in cubic inches based on the tank shape and divides by 231, since one US gallon equals exactly 231 cubic inches. Liters are found by multiplying gallons by 3.78541.
It is a rough starting point, not a precise law. The calculator improves on it by applying a size multiplier, allowing more small fish per gallon and far fewer large ones. Real stocking also depends on filtration, water changes, species behavior, and bioload, so always treat the count as an upper limit.
Manufacturers usually label tanks with a nominal gallon figure based on outside glass dimensions, while this tool uses the inside measurements you enter. Substrate, rocks, decorations, and the air gap left below the rim also reduce the actual water volume, so the real filled amount is typically 10 to 15 percent less than the geometric maximum.
The calculator recommends 3 to 5 watts of heating per gallon and a filter that turns the tank over about 4 times per hour (gallons times 4 GPH). For a 20-gallon tank that is roughly a 60 to 100 watt heater and an 80 GPH filter. Heavily stocked tanks or cold rooms benefit from extra capacity.
Fresh water weighs about 8.34 pounds per gallon, so the calculator multiplies your gallon total by 8.34. A 20-gallon tank holds roughly 166 pounds of water, and a 55-gallon tank exceeds 450 pounds before counting glass, substrate, and the stand. Always use a rated aquarium stand on a load-bearing floor.
Yes. A new tank must establish beneficial bacteria that convert toxic ammonia into nitrite and then nitrate through the nitrogen cycle, a process that takes several weeks. Adding fish to an uncycled tank exposes them to ammonia poisoning, so cycle first and then stock gradually rather than filling to the calculated maximum at once.

Sources & References

Last updated: 2026-06-05

💡

Help us improve!

How would you rate the Fish Tank Calculator?

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

Source

Formula Source: Standard Mathematical References

by Various

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.

Privacy choices

MyCalcBuddy uses necessary storage for the site to work. Optional analytics, notifications, and future advertising features stay off unless you allow them.