CalcCards

Aquarium Volume Calculator: Find Your Fish Tank Size in Gallons & Liters

Updated Apr 10, 2026

Aquarium Volume Calculator

inches
inches
inches

Results

Volume (gallons)50.50
Volume (liters)191.10
Water Weight (lbs)421
View saved →

Embed

Add this to your site

<iframe
  src="https://calc.cards/embed/pets/aquarium-volume-calculator"
  width="600"
  height="700"
  frameborder="0"
  loading="lazy"
  title="Calc.Cards calculator"
  style="border:1px solid #e0e0e0;border-radius:8px;max-width:100%;"
></iframe>

Free with attribution. The Aquarium Volume Calculator runs entirely inside the iframe.

Branded

Customize & brand for your site

Get the Aquarium Volume Calculator as a self-contained widget styled with your colors and logo. No iframe, no Calc.Cards branding.

  • Brand color palette (auto-extract from your URL)
  • Your logo, your typography
  • Clean HTML/CSS/JS you can drop on any page
  • Lifetime updates if the formula changes
Brand this calculator — $199

Need something different? Build a fully custom calc

You're About to Buy Fish. But Do You Know How Big Your Tank Actually Is?

You have a tank sitting in your living room, and you've decided to set up fish. The label says "20 gallon," but you're not sure if that's accurate, and honestly, you're worried you're starting with too small a tank. Or maybe you just got a tank from a friend and have no idea how many gallons it is. Tank size matters enormously, stocking a tank incorrectly (overstocking) leads to poor water quality, disease, and dead fish. Understocking is safer, but you might not be using your tank's capacity. This calculator takes your tank's dimensions and instantly shows you the exact volume in gallons and liters. No guessing, no relying on a possibly-mislabeled old tank, you'll know exactly what you're working with.

What This Calculator Does

This aquarium volume calculator computes tank volume for the most common shapes: rectangular (the standard), cylinder (common for small tanks or those used as centerpieces), hexagonal (smaller specialty tanks), and bowfront (curved front, rectangular back). You enter the dimensions in inches or centimeters, the calculator converts to volume in both gallons and liters, and accounts for the water actually inside the tank versus the tank's full interior (because the substrate, decorations, and equipment take up real space). The result is a realistic picture of how much water is actually in your aquarium, helping you calculate appropriate stocking levels, filter capacity, and water change volumes.

How to Use This Calculator

First, identify your tank's shape. Measure the interior dimensions if possible (the actual water-holding space), not the glass thickness. Use inches or centimeters consistently.

For rectangular tanks: Measure length, width, and height inside the tank. This is the most straightforward shape.

For cylinder tanks: Measure the diameter (or radius) across the top and the height inside the tank.

For hexagonal tanks: Measure the width (point to point) and height, or the distance across one side. Different hexagon orientations might have slightly different measurement conventions, if in doubt, measure at the widest point.

For bowfront tanks: Measure the depth (back to front), the width (straight across the back), and height. The curved front is accounted for in the calculator's formula.

Enter these dimensions, and the calculator shows the total volume in gallons and liters. Subtract 10–20% for substrate, decorations, and equipment (rocks, plants, heater, filter intake), which gives you the actual water volume. That's the number you use for stocking decisions and water change calculations.

The Formula Behind the Math

Rectangular tank: Volume = Length × Width × Height (all in inches) ÷ 231 cubic inches per gallon

Metric: Length × Width × Height (in cm) ÷ 1,000 = liters

Example: A 36" × 18" × 24" tank.

Volume = 36 × 18 × 24 = 15,552 cubic inches
In gallons = 15,552 ÷ 231 = 67.3 gallons (roughly 70 gallons)
In liters = 36 cm × 18 cm × 24 cm = (after conversion) ~270 liters

But wait, that 70-gallon tank has gravel, decorations, heater, filter, and plants that take up space. Subtract 15%: 70 × 0.85 = roughly 59 gallons of actual water. Use that number (59) to decide how many fish.

Cylinder tank: Volume = π × radius² × height ÷ 231

For a cylinder 12 inches diameter (6 inch radius) and 18 inches tall:

Volume = 3.14159 × 6² × 18 ÷ 231
= 3.14159 × 36 × 18 ÷ 231
= 2,035 ÷ 231 = 8.8 gallons (roughly 10 gallons)

Subtract 10–15% for equipment: 10 × 0.85 = about 8.5 gallons of actual water.

Hexagonal tank: Approximated as a cylinder (a reasonable estimate for stocking purposes).

Bowfront: Uses a modified rectangular formula that accounts for the curved front slightly reducing volume. Bowfronts hold slightly less than equivalent rectangular dimensions would suggest.

Metric conversions: 1 gallon = 3.785 liters. Our calculator does all of this instantly, but now you understand exactly what it's computing.

Actual Water Volume Matters More Than Tank Capacity

A tank labeled "50 gallons" might hold 50 gallons to the brim, but you never fill a tank that full. You leave headspace (usually 2–3 inches) so water doesn't slosh when fish move or you add water. More importantly, gravel (if you use it) takes up 10–15% of tank volume. Decorations, plants, filters, and heaters take up more space. The actual water volume might be 35–40 gallons in a "50-gallon" tank.

This matters because stocking guidelines (fish per gallon) are based on actual water volume, not tank capacity. A "one inch of fish per gallon" rule is a rough guideline, a one-inch fish in 50 gallons is fine, but that rule works only if you know your actual water volume.

Tank Size and Fish Compatibility

Larger tanks are almost always better than smaller ones for fish. Small tanks are harder to maintain because water chemistry changes faster, a small amount of fish waste or uneaten food throws off the whole system. Larger tanks are more forgiving.

Minimum tank recommendations for common aquarium fish:

Betta fish: Minimum 5 gallons (though marketed in 1-gallon tanks, bettas do far better in 5+ gallons with filtration).
Small community fish (tetras, rasboras, danios): 1 inch of fish per gallon, so a 20-gallon tank could hold 20 inches of small fish.
Goldfish: 20 gallons for the first goldfish, 10 additional gallons per extra goldfish (they're bigger and messier than people realize).
Corydoras catfish: Minimum 20 gallons (they're small but need space to forage and hide).
Oscars and other large cichlids: 55+ gallons minimum (they're territorial and destructive).

Your specific fish's needs depend on species, aggression level, and bioload (how much waste they produce). Research your intended stocking before buying fish.

Tips and Things to Watch Out For

Measure inside dimensions, not outside. Glass thickness varies, a tank that appears to be 40" wide might have interior dimensions of 37" wide. Measure the actual water-holding space.

Don't forget to subtract for decorations and equipment. A bare tank and a heavily planted tank hold very different actual water volumes. If you plan rocks, driftwood, and plants, subtract 15–20% from the calculated volume.

The "one inch per gallon" rule is a rough starting point, not gospel. Small fish in stable large tanks can be slightly denser. Large fish in small tanks should be sparser. This rule ignores filtration, maintenance, and individual temperament.

Filters need appropriate flow rate for tank size. A filter rated for 20–40 gallons should run on a 30-gallon tank. Undersized filters can't process waste fast enough. Oversized filters waste electricity but work fine.

Frequent water changes matter more than tank size. A well-maintained 10-gallon tank with 30% weekly water changes is healthier than a neglected 100-gallon tank. Consistency beats capacity.

Different substrate materials take up different percentages of space. Sand is denser than gravel and takes up less volume. Plants live in gravel/sand. Hard decorations displace water but don't absorb it. Budget conservatively, a tank always holds less water than simple math suggests.

Frequently Asked Questions

How many fish can I put in my tank?

Research the specific species. Many common guidance says "one inch of fish per gallon," but this varies widely. Betta fish need 5+ gallons alone; small tetras can go 1 per gallon; goldfish need 20+ gallons per fish. Check stocking guides for your intended species.

What size tank should I start with?

At least 20–30 gallons if you want stable water parameters. Smaller tanks (10 gallons or less) are harder to maintain and offer less margin for error. If budget allows, larger is easier to manage and often better for fish welfare.

Does gravel really take up that much space?

Yes. A 40-gallon tank with 2–3 inches of gravel loses roughly 10–15% of water volume to the substrate. More gravel means more volume lost. This is why tank volume calculations always include a discount.

Can I stack tanks (aquariums on top of each other)?

Yes, if the lower tank is supported properly on a sturdy stand rated for the combined weight. Water is heavy (8.3 lbs per gallon), so a 40-gallon tank weighs over 300 lbs plus the tank structure. Make sure the stand is rated for the load.

What if my tank isn't a standard shape?

Measure it as closely as possible to one of the standard shapes, or break it into rectangular sections and add them together. For very unusual shapes, fill it with a measured volume of water step by step to find the actual capacity.

How often should I change the water?

Generally, 25–50% every one to two weeks, depending on stocking density and filtration. Heavily stocked tanks need more frequent changes. Lightly stocked, well-filtered tanks can go longer between changes. Test water parameters (ammonia, nitrite, nitrate) to guide change frequency.

Do plants reduce the need for water changes?

Somewhat. Live plants consume some fish waste (nitrogen compounds), which improves water quality. But they don't eliminate the need for water changes. Even heavily planted tanks need regular maintenance.

What if the tank capacity label doesn't match my measurements?

Trust your measurements. Tanks are sometimes mislabeled, or the label reflects a different standard. Your actual water volume matters for stocking and care decisions.

Related Calculators

Once you know your tank volume, you can determine appropriate stocking and maintenance. We offer a Pet Cost Calculator to budget for initial setup, ongoing supplies, and maintenance costs for aquarium ownership. For other pet types, check our Dog Age Calculator, Cat Age Calculator, Dog Food Calculator, and other pet care tools.

Related Calculators