Measure length, width, and depth in inches, then use the right formula for your tank shape

The volume of your aquarium depends on its shape. A rectangular tank uses one formula, a cylinder uses another, and a bow-front or corner tank needs adjustment. Measure the inside dimensions in inches — not the outside of the glass — then multiply according to the shape. Divide the final number by 231 to convert cubic inches to gallons. This takes five minutes and a tape measure.

Why measure the inside? The glass itself takes up space. A 20-gallon tank marked on the box might hold only 18 gallons of actual water because the glass walls have thickness. Knowing the true volume matters for stocking fish, dosing treatments, and understanding water change percentages.

Key Takeaways

  • Rectangular tanks: multiply length × width × depth (in inches), then divide by 231 to get gallons.
  • Cylindrical tanks: multiply 3.14 × radius squared × height (in inches), then divide by 231.
  • Always measure the inside dimensions where water actually sits, not the outer glass edges.
  • Subtract 10 to 15 percent from the final number to account for substrate, decorations, and the space the filter takes up.
  • Write down your true water volume and keep it with your tank records for future reference.

Rectangular tanks: the most common shape

Most home aquariums are rectangular. Measure the inside length, inside width, and inside depth in inches. Multiply all three numbers together. This gives you cubic inches. Then divide by 231 — that is the number of cubic inches in one gallon.

Example: a tank that is 36 inches long, 18 inches wide, and 18 inches tall. Multiply: 36 × 18 × 18 = 11,664 cubic inches. Divide by 231: 11,664 ÷ 231 = 50.5 gallons. The tank holds approximately 50 gallons of water.

If your tank came with a label saying "55 gallons," the difference between 50 and 55 is normal. The label assumes the tank is filled to the very top, which you should never do. You also lose volume to gravel, rocks, plants, and the filter intake tube.

Cylindrical and corner tanks

A cylindrical tank (like a drum or column) uses a different formula because it has a circular base. Measure the radius — half the diameter of the circle — in inches. Measure the height in inches. Multiply 3.14 × radius × radius × height. Then divide by 231.

Example: a cylinder 12 inches in diameter and 24 inches tall. The radius is 6 inches. Multiply: 3.14 × 6 × 6 × 24 = 2,712.96 cubic inches. Divide by 231: 2,712.96 ÷ 231 = 11.7 gallons.

Corner tanks and bow-front tanks are harder to measure because they are not straightforward shapes. Treat them as rectangular tanks using the widest points of length and width. This overestimates slightly, but the error is small enough for practical purposes. If you need precision, look up the tank model online — most manufacturers publish the true volume.

Account for what takes up space inside the tank

Your calculated number is the theoretical maximum. The actual water volume is less because substrate, decorations, and equipment occupy space. Gravel or sand typically takes up 8 to 12 percent of the tank volume. A large piece of driftwood or rock can add another 2 to 5 percent. The filter intake and heater add a small amount.

Subtract 10 to 15 percent from your calculated volume to get a realistic water volume. If your rectangular tank calculated to 50 gallons, the true water volume is probably 42 to 45 gallons. This is the number to use when you dose medication, calculate water change amounts, or decide how many fish the tank can hold.

Why this matters for fish and treatments

Fish stocking guidelines are based on water volume. The rule of thumb is one inch of fish per gallon of water — meaning a 50-gallon tank can hold 50 inches of fish total. If you overestimate your volume, you will overstock, and the water quality will suffer. Knowing the true volume prevents this mistake.

Medications and water treatments are dosed by volume. If you add medicine for 55 gallons to a tank that actually holds 45 gallons, you overdose. If you add it to a tank you think is 45 gallons but is actually 55, you underdose and the treatment does not work. Accurate volume is the foundation of safe treatment.

Frequently Asked Questions

Should I measure to the very top of the tank or to where I actually fill it?

Measure to the very top of the inside. You will never fill it that high — you need space for the filter intake and to prevent overflow — but the volume calculation should be the theoretical maximum. Then subtract 10 to 15 percent to account for what you actually put inside.

What if my tank is not a standard shape?

Irregular shapes like hexagons or pentagons can be approximated as rectangles using the longest length and width measurements. For very unusual tanks, the manufacturer usually publishes the volume. You can also fill the tank with a measured container and count how many containers it takes, though this is time-consuming.

Do I need to recalculate if I add more decorations later?

Not for the tank itself — the water volume stays the same. But if you add a large decoration that takes up significant space, you may want to recalculate the usable water volume for stocking purposes. Most small additions do not change the number enough to matter.

Is the volume the same if I use saltwater instead of freshwater?

Yes. Saltwater is slightly denser than freshwater, but the volume in gallons is the same. The density difference does not affect how you calculate gallons.

Can I use centimeters instead of inches?

Yes, but you will need a different conversion factor. Measure in centimeters, multiply as usual, then divide by 3,785 instead of 231. Or convert your centimeter measurements to inches first — divide centimeters by 2.54 — then use the inch formula.