Aquarium Calculator

Volume (US Gallons)

Volume (Liters)

Max Fish (inch-per-gallon rule)

Heater Size (watts)

Filter Flow Rate (GPH)

Aquarium Volume Calculation: Formulas for Every Tank Shape

Knowing your exact aquarium volume is essential for dosing medications, calculating heater wattage, sizing filters, and determining safe stocking levels. This calculator computes volume for rectangular tanks using the formula: length x width x height (in inches) divided by 231 to convert cubic inches to US gallons. The result is then multiplied by 3.785 to provide the metric equivalent in liters. Keep in mind that your actual water volume will be less than the calculated total because substrate, rocks, driftwood, and equipment displace water -- typically reducing actual volume by 10-15%.

Different tank shapes require different formulas. Cylindrical tanks use the formula: pi x radius squared x height, divided by 231 for gallons. Bowfront (curved front glass) tanks can be approximated by calculating the rectangular equivalent and adding 10-15% for the additional curved volume, or by measuring the maximum depth at the center of the bow and using the average of the bow depth and flat back depth as your width. Hexagonal tanks use the formula: (3 x square root of 3 / 2) x side length squared x height, divided by 231. For irregular or custom-shaped tanks, filling with a measured container (like a 5-gallon bucket) is the most accurate method.

Common Tank Sizes and Dimensions

Tank SizeDimensions (L x W x H)LitersWeight (filled)Heater (watts)Filter (GPH)
10 gallon20 x 10 x 12"38 L111 lbs50W40-60 GPH
20 gallon long30 x 12 x 12"76 L225 lbs100W80-120 GPH
29 gallon30 x 12 x 18"110 L330 lbs150W115-175 GPH
55 gallon48 x 13 x 21"208 L625 lbs200W220-330 GPH
75 gallon48 x 18 x 21"284 L850 lbs300W300-450 GPH
125 gallon72 x 18 x 21"473 L1400 lbs2x 200W500-750 GPH

Fish Stocking Rules: Beyond One Inch Per Gallon

The one-inch-per-gallon rule is the most widely known stocking guideline and a reasonable starting point for beginners keeping small, slim-bodied community fish like tetras, rasboras, and guppies. Under this rule, a 20-gallon tank could hold roughly 20 inches of total fish body length. However, this guideline has significant limitations. It does not account for body mass -- a 10-inch oscar has dramatically more biomass (and produces far more waste) than ten 1-inch neon tetras. It also ignores activity level, territorial behavior, and species-specific space requirements.

More experienced aquarists use the surface area rule or bioload-based stocking. The surface area rule allocates 12 square inches of surface area per inch of slim-bodied fish and 20 square inches per inch of heavy-bodied fish, which accounts for oxygen exchange at the water surface. Bioload-based stocking considers the ammonia production rate of each species and the biological filtration capacity of the tank. Online stocking calculators like AqAdvisor can estimate bioload for specific species combinations. As a general practice, it is always safer to understock -- a lightly stocked tank has more stable water quality, less aggression, healthier fish, and is far more forgiving of missed water changes or filter maintenance.

Equipment Sizing: Heaters and Filters

Heater sizing follows the general rule of 3 to 5 watts per gallon. Use 5 watts per gallon when the room temperature is significantly cooler than your target water temperature (for example, keeping a tropical tank at 78 degrees F in a room that drops to 60 degrees F at night). Use 3 watts per gallon when the room stays relatively warm year-round. For tanks over 75 gallons, two smaller heaters positioned at opposite ends of the tank provide more even heat distribution and build in redundancy -- if one heater fails in the "on" position, a smaller heater overheating the water is less catastrophic than a single large one. Always use a heater with a reliable thermostat and consider adding a separate temperature controller for expensive or sensitive livestock.

Filter flow rate should turn over your tank volume 4 to 6 times per hour as a minimum. A 30-gallon tank needs a filter rated for at least 120-180 GPH. Heavily stocked tanks, tanks with messy species like goldfish, oscars, or plecos, and tanks with large bioloads benefit from 8-10x turnover. Canister filters are typically the most efficient for medium to large tanks because they hold more filter media and produce less water disturbance than hang-on-back models. Sponge filters are excellent for breeding tanks and shrimp tanks because they provide gentle flow and biological filtration without risk of trapping fry or small invertebrates.

Tank Weight and Placement Considerations

Water weighs approximately 8.34 pounds per US gallon, and that weight adds up quickly. A filled 55-gallon tank with substrate and rock weighs roughly 625 pounds, and a 125-gallon tank approaches 1,400 pounds. Most residential floors can support 40-50 pounds per square foot, which means tanks over 55 gallons should ideally be placed along load-bearing walls (exterior walls or walls that run perpendicular to floor joists) on the ground floor. Upper floors may need structural reinforcement for tanks over 75 gallons. Always place tanks on a dedicated aquarium stand designed for the weight, not on furniture, bookshelves, or dressers. The stand must be perfectly level -- even small irregularities create uneven stress on glass panels and seams, which can cause catastrophic failure over time.

Location also matters for practical reasons. Avoid placing tanks in direct sunlight, which promotes algae growth and causes temperature fluctuations. Keep tanks away from heating vents, air conditioning units, and exterior doors that create drafts. Ensure you have access to a water source and drain for water changes -- carrying buckets of water across the house gets old quickly. Many experienced aquarists install a sink or utility faucet near their fish room, or use a Python-style water changer that connects directly to a faucet for filling and draining.

Tips for Setting Up Your First Aquarium

Frequently Asked Questions

How do I calculate aquarium volume in gallons?

For a rectangular tank, multiply length x width x height (all in inches), then divide by 231 to get US gallons. For liters, multiply gallons by 3.785. A standard 20-gallon tank is typically 24 x 12 x 16 inches. Actual water volume will be slightly less (10-15%) due to substrate, decorations, and not filling to the very top.

What is the one-inch-per-gallon stocking rule?

The one-inch-per-gallon rule suggests keeping one inch of fish body length per gallon of water. While a useful starting point for beginners with small community fish, it breaks down for large-bodied fish, messy species, or active swimmers. A 10-inch oscar produces far more waste than ten 1-inch neon tetras, so bioload and species behavior matter more than length alone.

What size heater do I need for my aquarium?

The general rule is 3-5 watts per gallon of water. Use 5 watts per gallon if the room is significantly cooler than your target tank temperature, and 3 watts per gallon if the room stays warm. For tanks over 75 gallons, two smaller heaters provide more even heating and redundancy in case one fails.

How much filtration flow rate does my tank need?

Aim for a filter that turns over 4-6 times your tank volume per hour (GPH). A 30-gallon tank needs a filter rated for 120-180 GPH. Heavily stocked tanks or messy fish like goldfish and cichlids benefit from 8-10x turnover. Always size up -- over-filtration rarely causes problems, but under-filtration leads to poor water quality.

How heavy is a filled aquarium and where should I place it?

Water weighs approximately 8.34 pounds per US gallon, so a filled aquarium is extremely heavy. A 55-gallon tank with substrate and rocks weighs roughly 625 pounds, and a 125-gallon tank approaches 1,400 pounds. Place tanks over 55 gallons on the ground floor along load-bearing walls. Use a dedicated aquarium stand designed for the weight -- never furniture or bookshelves. Keep tanks away from direct sunlight, heating vents, and exterior doors. Use our water change calculator to plan ongoing maintenance once your tank is set up.

Related Calculators