As an Amazon Associate I earn from qualifying purchases. Learn more›

How to Calculate Fish Tank Volume (Gallons and Liters)

How to find the volume of a fish tank: length x width x water depth divided by 231, why real water volume is less than the label, and odd shapes.

How to Calculate Fish Tank Volume (Gallons and Liters)

To find the volume of a fish tank, measure its length, width, and water depth in inches, multiply the three numbers, and divide by 231. The result is the volume in U.S. gallons, because the National Institute of Standards and Technology defines one U.S. gallon as exactly 231 cubic inches. Multiply gallons by 3.785 to get liters. That number is the space the water fills, not the size printed on the box: a tank sold as a 10 gallon holds less than 10 gallons of water once gravel, decor, and the gap below the rim are taken out. This guide walks through the formula, a worked example with real maker dimensions, odd shapes such as cylinders and bow fronts, and why the measured number matters more than the label when you size a heater, a filter, or a water change.

This is general measuring information. It is not structural advice for stands or floors, and it does not replace the directions on any product label. For water treatments, follow the manufacturer’s directions; for a fish that looks sick, contact a licensed veterinarian who treats fish.

How to Find the Volume of a Fish Tank: The Formula

For a rectangular tank, the math has three steps.

  • Measure in inches. Take the length (side to side), the width (front to back), and the depth of the water itself, not the height of the glass.
  • Multiply. Length x width x water depth gives cubic inches.
  • Convert. Divide cubic inches by 231 for U.S. gallons. Multiply gallons by 3.785 for liters.

The 231 figure comes from the NIST Handbook 44 tables of units of measurement, which list 4 quarts as 1 gallon and 1 gallon as 231 cubic inches, and give 1 gallon as 3.785 411 784 liters. The same tables give 1,728 cubic inches per cubic foot and about 7.48 gallons per cubic foot, so if you measure in feet, multiply length x width x depth in feet by 7.48 instead.

If you measure in centimeters, the metric route is shorter. NIST’s page on SI units of volume explains that a liter is a cubic decimeter and that a 10 cm x 10 cm x 10 cm cube holds 1 liter, so length x width x depth in centimeters, divided by 1,000, gives liters directly. NIST’s page on units of length states that one inch is exactly 25.4 mm, which is the factor to use if you need to switch a tape measure reading from inches to centimeters.

How Many Gallons Is My Fish Tank? A Worked Example

Here is the formula applied to a real tank. Aqueon’s standard glass rectangle aquarium page lists the 10 gallon size at 20.25″ x 10.5″ x 12.6″. Using the outside numbers alone, our arithmetic gives 20.25 x 10.5 x 12.6 = about 2,679 cubic inches, or about 11.6 gallons. That is more than 10, and it is the first lesson of tank math: published dimensions describe the outside of the tank, glass and frame included, and the water never fills that whole box.

Aqueon’s aquarium setup guide gives two numbers that shrink it. It says to fill the aquarium with water to 1/2″ from the top of the frame, and that gravel depth should measure 1″ to 3″ from the bottom. Take 2 inches of gravel as an example. The water column is then 12.6 minus 0.5 minus 2, or 10.1 inches. Our arithmetic: 20.25 x 10.5 x 10.1 = about 2,148 cubic inches, which divided by 231 is about 9.3 gallons, or about 35 liters.

Even that figure runs high, because it still uses outside length and width, so the thickness of the glass is counted as water, and decor has not been subtracted. Aqueon’s FAQ puts the real-world result plainly: the average aquarium holds less water than its designated size once gravel and decorations are added, and a fully decorated 10 gallon aquarium holds about 8 gallons of actual water.

Nominal Size vs Real Water Volume

The gallon number in a tank’s name is a size class, not a measurement of the water inside. Running the outside dimensions of several standard tanks through the same formula shows how loose that label is. The dimensions below are Aqueon’s published figures; the gallon column is our arithmetic on the outside box, with no deduction for glass, gravel, or the fill line.

Tank as soldAqueon outside dimensions (L x W x H, in)Outside box in gallons (our arithmetic)
2.5 gallon12.25 x 6.25 x 8.125About 2.7
10 gallon20.25 x 10.5 x 12.6About 11.6
20 Long30.25 x 12.5 x 12.75About 20.9
29 gallon30.25 x 12.5 x 18.75About 30.7
40 Breeder36.25 x 18.25 x 17About 48.7
55 gallon48.25 x 12.75 x 21About 55.9

Source for the dimensions: Aqueon’s standard glass rectangle aquarium page (size options 2.5, 10, 20 Long, 29, 40 Breeder, 55). Aqueon’s Critical Dimensions sheet lists the same sizes in fractional inches, within about an eighth of an inch of these figures.

Two things stand out. Most outside boxes come in a little above the name, which is what you would expect once glass and frame are counted. The 40 Breeder is the outlier: its outside box works out to nearly 49 gallons. Aqueon does not publish how much water any of these tanks hold at the fill line, so treat the name as a label and your own measurement as the number to plan around. Other makers measure the same way. Marineland’s Deep Dimension specification chart labels its sizes as approximate gallons and its measurements as approximate outside frame dimensions. Sizes and shapes vary by maker, which is why a tank’s exact measurements matter more than its class.

Measure Inside the Glass for a Closer Number

For the closest figure without filling buckets, measure the water, not the box:

  • Length and width: measure inside the glass, wall to wall, at the waterline. This removes the glass and frame from the count.
  • Depth: measure from the top of the gravel to the water surface, not from the bottom pane to the rim.
  • Decor: rocks and wood take up space the formula cannot see. If the tank is heavily decorated, Aqueon’s 10 gallon example (about 8 gallons of actual water) is a reminder of how much that can be.

If you have a sump or a refugium below the tank, measure its water section the same way and add it to get the system total.

Volume Formulas for Other Tank Shapes

The divide-by-231 step is the same for every shape; only the area of the base changes. These are standard geometry formulas, and every number in the examples below is a made-up illustration, not a real product.

Cylinder or Column Tank

Area of a circle x water depth: 3.1416 x radius x radius x depth, in inches, then divide by 231. Example: a cylinder 12 inches across (radius 6) with 18 inches of water is 3.1416 x 6 x 6 x 18, about 2,036 cubic inches, or about 8.8 gallons.

Hexagon Tank

For a regular hexagon, the base area is about 2.598 x side length x side length. Multiply by water depth and divide by 231. Measure one side of the inside glass, not the distance across.

Bow Front Tank

A bow front is a rectangle with a curved bulge on the front. A practical estimate: treat the base as a rectangle at the depth measured at the ends, then add about two thirds of the width x the extra depth the bow adds at the center, which approximates the curved slice. Example: 36 inches wide, 12 inches deep at the ends, 4 inches of extra bow at the center, and 18 inches of water. Base area is 36 x 12 = 432 plus about 2/3 x 36 x 4 = 96, for 528 square inches. Times 18 is 9,504 cubic inches, or about 41 gallons. Curves vary, so treat any bow front figure as an estimate.

Corner and Irregular Tanks

For shapes that do not break into simple pieces, the fill method below is more reliable than any formula.

The Fill Method: Counting What the Tank Holds

How can we find the volume of this fish tank when it is an odd shape or already set up? Count the water. Fill the empty tank with a container of known size, such as a marked 1 gallon jug or a bucket with gallon marks, and keep a tally. Stop at the level you plan to keep the water. Aqueon’s setup guide says an aquarium should be placed and filled on a level, suitably designed stand, so count with the tank already in its final spot. Keep cords and plugs dry; Aqueon’s tank page says to always include a drip loop when plugging aquarium appliances into an outlet. For a tank that is already running, the next water change is a chance to count: tally how many gallons come out when you drain a measured amount, and compare that with your calculated figure.

Why the Real Volume Matters

The measured number is the one that equipment and care advice are written for:

  • Heaters. Tetra’s HT heater page sizes each model by a gallon range and warns that buying a heater too small for your tank can cause under heating.
  • Filters. Aqueon’s FAQ advises choosing a filter rated one size larger than your aquarium.
  • Stocking. Aqueon’s FAQ gives the rule of thumb as one inch of adult fish per net gallon, and adds that activity level, territoriality, available habitat, and filtration also count. Net gallons are the measured figure, not the label. Stocking a 10 gallon tank by that rule is a separate topic with its own limits.
  • Water changes. Aqueon’s FAQ calls a 10% weekly water change ideal. In a tank with about 8 gallons of real water, 10% is a little under a gallon.
  • Water treatments. If a product’s directions are given per gallon, use your measured gallons with the manufacturer’s directions rather than the tank’s name. Never treat sick fish by guesswork; a licensed veterinarian who treats fish can advise on medication.

From Volume to Weight

Once you know the gallons, you can estimate the weight the stand has to carry. Two published rules give two different numbers. The University of Georgia Extension says water at 77 degrees F weighs 8.32 pounds per gallon. That counts the water alone: for the 9.3 gallon example above, our arithmetic gives about 77 pounds. Aqueon’s FAQ says filled aquariums weigh approximately 10 pounds per gallon, a figure that includes fish, substrate, decor, and water, and it gives a 20 gallon aquarium at about 200 pounds filled. Aqueon also says most household furniture will likely only support aquariums of 5 gallons or less, and that larger tanks belong on a stand manufactured for aquarium use. For any stand, check its load rating with the stand’s maker. Stand types are compared in the stands and furniture section.

Gallons and Liters: Conversion Reference

ConvertFactorSource
Cubic inches to U.S. gallonsDivide by 231NIST Handbook 44
U.S. gallons to litersMultiply by 3.785 411 784NIST Handbook 44
Liters to U.S. gallonsMultiply by 0.264 172 1NIST Handbook 44
Cubic feet to U.S. gallonsMultiply by 7.480 519NIST Handbook 44
Cubic centimeters to litersDivide by 1,000NIST SI units of volume
Inches to centimetersMultiply by 2.54NIST units of length (1 inch = 25.4 mm)

One caution on imported products: Handbook 44 notes that the British Imperial gallon is a different unit, at 277.42 cubic inches, 4.546 liters, or 1.201 U.S. gallons. A tank or product labeled in Imperial gallons holds more per “gallon” than a U.S. one, so check which gallon a label means before you compare.

Who Should Look Elsewhere: When a Calculation Is Not Enough

  • You are choosing a stand or floor location for a large tank. Volume gives you a weight estimate, not a safe load. Follow the tank and stand makers’ instructions, and for floor questions ask a qualified contractor.
  • You are treating fish. A volume figure helps you read a label correctly, but it does not tell you what to use. Contact a licensed veterinarian who treats fish.
  • Your tank is custom, acrylic, or an unusual shape. Ask the builder for its measured capacity, or use the fill method.
  • You only need a rough class to shop. For buying lids, lights, and stands, the maker’s listed size class and outside dimensions are the numbers that matter, not the water volume. The full range of fish tanks on this site is in the fish tanks and kits section.

Frequently Asked Questions

How many gallons is my fish tank?

Measure length, width, and water depth in inches, multiply, and divide by 231 for U.S. gallons. For a closer figure, measure inside the glass and from the gravel to the waterline. If you know the maker and size, its published dimensions are a starting point, but they describe the outside of the tank.

Is a 20 x 10 x 12 inch tank a 10 gallon?

It is the standard 10 gallon footprint. Tetra’s 10 gallon kit page gives approximate dimensions of 20 x 10 x 12 inches. Our arithmetic on that outside box is about 2,400 cubic inches, or about 10.4 gallons, and the water you can actually keep in it is less.

How many liters is a 10 gallon tank?

Ten U.S. gallons is about 37.9 liters by the NIST factor of 3.785. The water in a decorated 10 gallon tank is less: Aqueon’s figure of about 8 gallons converts to about 30 liters.

Does gravel reduce the water volume?

Yes. Gravel and decor take up space. Aqueon’s setup guide calls for 1 to 3 inches of gravel, and its FAQ says a fully decorated 10 gallon holds about 8 gallons of actual water. Measure water depth from the top of the gravel.

How can we find the volume of this fish tank if it is not a rectangle?

Use the base area formula for the shape (circle, hexagon, or rectangle plus bow), multiply by water depth, and divide by 231. For irregular shapes, count gallons as you fill it with a measured container.

About the author

Marsha Bates
Marsha Bates

Marsha Bates is an aquarium enthusiast focused on freshwater fishkeeping and everyday tank maintenance. At AquariumTechLab.com, Marsha shares practical guides on tank setup, water quality, and essential equipment to help beginners build healthy, manageable aquariums.