The Aquarium Adviser
Aquarium Equipment

Fish Tank Volume Calculator - Cylindrical, Rectangular, and More

By Sharon Ben-Moshe · Founder, The Aquarium Adviser · Updated 6 min read
Fish Tank Volume Calculator - Cylindrical, Rectangular, and More

Photo by AZRainman on Openverse (CC BY 2.0)

Getting the right aquarium size starts with accurately calculating your tank's volume-and that volume directly determines how many fish your tank can healthily support. Whether your aquarium is rectangular, cylindrical, or an unusual shape, measuring and calculating volume correctly will help you maintain stable water chemistry, prevent disease, and give your fish room to grow properly.

Why Tank Volume Matters for Fish Health

The relationship between water volume and fish health is fundamental to aquarium keeping. More water per fish means fish waste becomes more dilute, which reduces ammonia and nitrate buildup and protects your fish from disease and stress.

Oxygen availability also improves with tank size. Larger aquariums have more surface area for gas exchange and buffer against fluctuations in dissolved oxygen. This is especially important for active species and heavily stocked tanks.

Growth and development depend on space. Many hobbyists use the "1 inch of fish per gallon" rule as a starting point-meaning 1 inch (2.5 cm) of young fish body length per 1 gallon of water, or roughly 2.5 cm per liter. This rule works reasonably well for young fish no longer than 2 inches (5 cm) each. However, it has real limits: different species have different body shapes and oxygen demands. A streamlined tetra consumes much less oxygen per unit of length than a chunky cichlid or pleco.

If you stock a 10-gallon (40-liter) tank to its "1 inch per gallon" limit with ten 1-inch fish, you'll provide minimal room for growth. Your fish will likely survive, but they won't reach their full adult size, and their fins and bodies won't develop into their most beautiful or desirable proportions. Stunted fish also struggle to breed reliably.

A better approach: Start with the fish you want to keep, research their adult size, and work backward. Five young fish measuring 2 inches (5 cm) each fit comfortably in a 10-gallon (40-liter) tank initially. But once they grow to 3-4 inches (7.5-10 cm) each, that same tank becomes crowded. For those five fish, a 15-20-gallon (60-80-liter) tank gives far better long-term results.

How to Calculate Volume for Rectangular Tanks

Rectangular aquariums are the most common shape and the simplest to measure.

Basic formula:
Length × Width × Height = Volume (in cubic inches or centimeters)

Steps:

  • Measure the inside dimensions of your tank (not the outside frame), in either inches or centimeters-be consistent.
  • Multiply length by width by height.
  • Convert to gallons or liters:
  • US gallons: Divide cubic inches by 231
  • Liters: Divide cubic centimeters by 1,000

Example:
A 36-inch long × 18-inch wide × 18-inch tall tank:

  • 36 × 18 × 18 = 11,664 cubic inches
  • 11,664 ÷ 231 = 50.5 US gallons

Metric example:
A 90 cm × 45 cm × 45 cm tank:

  • 90 × 45 × 45 = 182,250 cubic centimeters
  • 182,250 ÷ 1,000 = 182.25 liters

In practice, your actual usable volume will be slightly less because substrate, decorations, and equipment displace water. Expect to lose 10-15% of calculated volume to these items.

How to Calculate Volume for Cylindrical Tanks

Cylindrical and bow-front aquariums require a different formula.

Basic formula:
π × radius² × height = Volume

Steps:

  • Measure the diameter of the circular base (the widest part).
  • Divide diameter by 2 to get the radius.
  • Multiply radius by itself (radius²).
  • Multiply by π (3.14159).
  • Multiply by the height of the tank.
  • Convert to gallons or liters using the same conversion factors above.

Example (cylindrical tank):
A tank with a 12-inch diameter and 18-inch height:

  • Radius = 12 ÷ 2 = 6 inches
  • 3.14159 × 6² × 18 = 3.14159 × 36 × 18 = 2,035 cubic inches
  • 2,035 ÷ 231 = 8.8 US gallons

Cylindrical tanks waste more floor space than rectangular tanks of similar volume, so they're often used for aesthetics or specialty species rather than general community tanks.

Calculating Volume for Specialty Tank Shapes

Bow-front, hexagonal, and other irregular aquariums require breaking the tank into simpler geometric shapes or using an approximation formula.

Bow-front tanks are essentially rectangular tanks with a curved front panel. Measure the tank as if it were rectangular (using the straight back edge and average width at the bulge), then subtract 10-15% to account for the curvature. Alternatively, fill the tank incrementally with a measuring bucket.

Hexagonal tanks are harder to calculate precisely. Break the hexagon into rectangles and triangles, or use the bucket-fill method for accuracy.

Pentagonal and corner tanks: Use the bucket method-fill the tank with a measuring bucket, keep count, and multiply by bucket volume.

Online Tank Volume Calculators

Many aquarium retailers and fish-keeping websites offer free volume calculators where you enter your tank dimensions and instantly get US gallons and liters. These are convenient, but always double-check your measurements-garbage in, garbage out.

An accurate calculator speeds up planning and lets you compare tank sizes quickly as you decide what species to keep and how many.

Choosing the Right Tank Size for Your Fish

Once you know your volume, match it to the number and type of fish you plan to keep.

Start with research: Look up the adult size, body shape, and behavior of the species you want. Aggressive or large species (oscars, goldfish, large cichlids) need significantly more space than small, peaceful species (neon tetras, rasboras, guppies).

Apply the 1-inch rule conservatively: For young fish under 2 inches (5 cm), the 1-inch-per-gallon rule is a decent rough guide, but plan to upsize as they grow. Heavy-bodied fish like plecos or goldfish should be stocked at half this density.

Account for future growth: Buy a tank that will comfortably house your fish at adult size, not just when they're young. This is especially important if you want your fish to breed, display full finnage, or reach their genetic potential.

Consider maintenance too: Larger tanks are easier to maintain because water chemistry changes more slowly. A 10-gallon tank can swing wildly in pH and temperature. A 50-gallon tank buffers those swings, giving you more time to react to problems. When you move an aquarium to a new house, accurate volume calculations also help you plan transport logistics and water chemistry adjustments.

A Note on Old Framed Tanks and Plastic Aquariums

Framed glass tanks (with stainless steel, aluminum, or plastic frames) were common decades ago but are now rarely sold. If you inherit one, have it inspected and all seals resealed with aquarium-grade silicone before use, as old frames often leak or harbor corrosion.

Small plastic tanks are inexpensive and sometimes marketed as "ready to go" starter kits, but they have real downsides: they scratch easily, cloud over time, distort your view of the fish, and don't hold heat or water chemistry as reliably as glass. Plastic is acceptable for a temporary quarantine tank when you need to isolate a sick or injured fish for a few days, but not for permanent housing.

Glass remains the best choice for long-term, stable aquarium keeping because it's durable, clear, and chemically inert.

Summary: Take Your Time with Measurements

Accurate volume is the foundation of proper aquarium sizing. Whether you measure a rectangular tank with simple multiplication or work with a calculator for a specialty shape, the effort pays dividends in fish health, stable water chemistry, and your own peace of mind. Once you know your volume, research the fish you want to keep, account for growth, and you'll be well on your way to a thriving tank.

Frequently asked questions

How do I measure the inside versus outside dimensions of my aquarium?+

Measure from the inside glass wall to the inside glass wall. If your tape measure isn't small enough, measure from the outside and subtract the thickness of the glass on both sides (usually about ¼ inch or 6 mm per side). For most standard glass tanks, the difference is small, but it's more accurate to measure inside dimensions directly if you can.

What is the 1 inch per gallon rule, and does it still apply to all fish?+

The 1-inch-per-gallon rule means 1 inch of young fish body length per 1 gallon of water. It's a starting point for young fish under 2 inches (5 cm) each, but it has limits. Heavy-bodied fish (plecos, goldfish, oscars) consume more oxygen and need more space per inch. Streamlined species (tetras, rasboras) fit the rule better. The rule doesn't account for growth: ten 1-inch fish in a 10-gallon tank will outgrow the space as they mature and won't reach their full potential size.

How much volume do substrate, decorations, and equipment actually displace?+

Substrate, rocks, plants, driftwood, and filters typically displace 10-15% of your calculated tank volume. For a 100-gallon tank, expect your actual water volume to be 85-90 gallons. This is why accurate measurement and a small buffer matter: a 55-gallon tank that works out to 47-50 gallons of actual water is tighter than you might think.

Can I use a bucket to measure my tank volume instead of calculating?+

Yes. Fill a measuring bucket (1 gallon, 5 gallon, or 10-liter bucket) and gradually fill your tank, counting how many buckets you use. Write down the number, then multiply by the bucket volume. This method is very accurate and works for any tank shape, especially specialty shapes like hexagons or corners. It's also a practical way to refill after water changes.

Should I size my tank for the fish I want now or the size they'll be as adults?+

Always size for adult size. Young fish are appealing but grow quickly. A 10-gallon tank that seems adequate for five 2-inch juveniles becomes crowded within months as they grow to 3-4 inches each. If you want those five fish to reach full size, display vibrant colors, and potentially breed, start with a 15-20-gallon tank instead. Stunted fish struggle with disease and won't breed reliably.

Are plastic aquariums ever a good choice?+

Small plastic tanks can work as temporary quarantine tanks for isolating sick or injured fish for a few days. For permanent housing, plastic has serious drawbacks: it scratches and clouds easily, distorts the view of fish, and doesn't maintain stable water temperature or chemistry as well as glass. Glass tanks are more durable and reliable for long-term keeping.