Aquarium Gallon Calculator: Find Your Tank's Volume

Aquarium Gallon Calculator: Find Your Tank's Volume

Use simple formulas to convert your aquarium's length, width, and height into an accurate gallon count before buying a filter, heater, or air pump.

Elena Vargas
Elena Vargas, Freshwater Aquarium Specialist
Updated August 5, 20267 min read
Share:

If you're standing in front of an empty tank with a tape measure in one hand and a calculator app in the other, you're not alone. Most first-time aquarium owners hit the same wall: they know the tank's dimensions, but they have no idea how that translates into gallons, filter size, or heater wattage. Getting this number right before you buy equipment saves you from returning a filter that's too weak or a heater that can't warm the water fast enough.

Quick Answer: To find your tank's volume, multiply length × width × height in inches, then divide by 231 for US gallons (or by 277 for UK gallons). A standard 24×12×16-inch tank holds about 20 gallons. Round down slightly to account for substrate, decor, and water displacement.

What Is an Aquarium Calculator (And Why You Need One)

An aquarium calculator converts your tank's raw dimensions into a usable gallon or liter figure so you can shop for the right gear the first time. Without it, you're guessing — and guessing usually means buying a filter rated for less water than you actually have.

This matters most right when you're setting up your first tank. Every piece of equipment you'll buy next — heater, filter, air pump — is sized by gallon count, not by tank dimensions.

Gallons vs. Liters

Most US retailers list tanks in gallons; most European and Asian retailers use liters. One US gallon equals 3.785 liters, so a 20-gallon tank holds roughly 75.7 liters.

If you bought a tank online from an international seller, double-check which unit the listing used before you calculate. Mixing the two is the single most common source of an oversized filter order.

Why Guessing Costs You Money

Buying equipment for the wrong tank size is the fastest way to overspend as a beginner. A filter rated for a 10-gallon tank can't safely handle a 30-gallon load, and you'll be shipping it back within a week [1].

  • An undersized filter leads to ammonia spikes and stressed fish
  • An oversized heater can overshoot your target temperature
  • Incorrect gallon counts throw off medication and water-conditioner dosing

Pro Tip: If you're renting, most leases treat aquariums under 20 gallons as standard furnishings rather than "pets," but always confirm weight limits with your landlord before going bigger — a full 55-gallon tank weighs over 600 lbs.

Tank Shapes and How They Change the Math

Not every aquarium is a simple rectangle, and shape changes which formula you need. Bow-front, cylinder, and corner tanks all hold different volumes than a rectangular tank with the same footprint.

Rectangular Tanks

This is the shape most beginner kits use, and it's the easiest to calculate. You only need three measurements: length, width, and height, all in inches.

Bow-Front and Cylinder Tanks

A bow-front tank bulges outward, adding roughly 8-10% more volume than a flat-front rectangle of the same width and height. Cylinder tanks use a different formula entirely, based on the radius rather than the width.

Pro Tip: Always measure the inside of the glass, not the outside. Glass thickness on larger tanks can shave off 1-2 gallons of your real usable volume.

The Formulas Behind the Fish Tank Calculator

Every aquarium gallon calculator is built on one of three basic geometry formulas, depending on tank shape [2]. Once you know your tank's shape, plug your measurements into the matching formula below.

Tank ShapeFormula (inches → US gallons)Example
RectangularL × W × H ÷ 23124 × 12 × 16 = 19.9 gal
Bow-front(L × W × H ÷ 231) × 1.0824 × 12 × 16 = 21.5 gal
Cylinder(π × r² × H) ÷ 23112" diameter, 18"H = ~44 gal
Corner/hexSum of two triangle prismsVaries by panel length

Common Myth: "One inch of fish per gallon" is a safe stocking rule. Reality: This old rule ignores body shape, waste output, and swimming behavior. A single 6-inch goldfish produces far more waste than six 1-inch tetras, which is why tools like AqAdvisor's stocking calculator weigh filtration and bioload instead of just length [3].

How to Use This Tool as an Aquarium Gallon Calculator

Follow these five steps and you'll have an accurate gallon count in under two minutes.

  1. Measure the inside length, width, and height in inches (not the stand or trim).
  2. Identify your tank shape — rectangular, bow-front, cylinder, or corner.
  3. Plug the numbers into the matching formula from the table above.
  4. Subtract 10-15% for substrate, decor, and equipment displacement to get your usable water volume.
  5. Use that final number to shop for a filter, heater, and air pump rated for your actual gallons.

New to sizing a whole first setup, not just the tank? Check out our 20 Gallon Aquarium beginner guide for a full walkthrough →

Real Example: How Big Is a 75-Gallon Aquarium?

A standard 75-gallon aquarium measures about 48×18×21 inches and weighs roughly 850 lbs when full — glass, stand, substrate, and all. Here's how it compares to other common beginner and mid-size tanks.

Tank SizeStandard Dimensions (L×W×H)Full Weight (approx.)Best For
10 gallon20 × 10 × 12~111 lbsNano/betta setups
20 gallon (high)24 × 12 × 16~225 lbsFirst-timers
29 gallon30 × 12 × 18~330 lbsCommunity tanks
40 gallon breeder36 × 18 × 16~458 lbsWide floor space for cichlids
55 gallon48 × 13 × 21~625 lbsStatement centerpiece tank
75 gallon48 × 18 × 21~850 lbsShowpiece, larger schools

Recommendation: First-time keepers should stick to the 20-40 gallon range — enough water volume for stable parameters, without the floor-load and cost jump of a 75-gallon setup. See our Best 50 Gallon Fish Tank picks if you're ready to size up.

Common Aquarium Calculator Mistakes First-Timers Make

The biggest mistake beginners make is measuring the outside of the tank instead of the inside glass. This small error compounds fast once you're sizing a filter or heater.

  • Forgetting the substrate: Gravel and sand can displace 1-3 gallons in a standard tank
  • Mixing gallons and liters: Always confirm the unit before ordering equipment
  • Ignoring decor volume: Large rocks or driftwood can displace several gallons in a heavily aquascaped tank
  • Skipping the weight check: A full tank weighs roughly 8.34 lbs per gallon of water alone, before substrate or glass [4]

Pro Tip: Round your final gallon number down, not up. It's safer to slightly oversize your filter and heater than to undersize them.

From Gallons to Stocking: What to Do With Your Number

Once you know your exact gallon count, that number drives almost every other buying decision you'll make. Filters are rated by gallons-per-hour turnover, heaters by watts-per-gallon, and air pumps by tank volume.

As of 2026, most keepers aim for a filter that turns over 4-6 times your tank's total volume per hour [2]. For a 20-gallon tank, that means a filter rated for 80-120 gallons per hour — a sponge filter and air pump combo works well for beginners at this size.

Water changes and dosing also depend on your gallon number. A liquid water conditioner is dosed per gallon, so an inaccurate calculation means you're either under- or over-treating your water. If algae becomes an issue once your tank is running, our algae problems and solutions guide covers dosing adjustments by tank size.

Need a reliable way to double-check your measurements? A flexible fabric measuring tape is easier to fit inside a tank's corners than a rigid metal one.

Ready to size your first full equipment list? See our Best Aquarium Air Pump buyer's guide picks sized to your exact gallon count →

Frequently Asked Questions

Yes, though the effect is small — most in-tank equipment displaces less than half a gallon. Substrate and decor matter far more for accurate volume.

References & Sources

Disclaimer: This content is for informational purposes only and does not replace professional veterinary advice. Product recommendations may contain affiliate links. Always consult a qualified aquatic veterinarian for health concerns.

Related Articles

HomeSpeciesGuidesGear