Fish Tank Volume Calculator – Gallons & Liters | Aquarium Tool

Fish Tank Volume Calculator

Know exactly how many gallons or liters your aquarium holds. Accurate volume is the foundation for safe medication dosing, proper filter and heater sizing, and responsible fish stocking. Use our free calculator for rectangular, cylindrical, and bow‑front tanks.

📐 Calculate Your Tank Volume

📏 Total Water Volume: 0 gallons | 0 liters

* This is the theoretical empty‑tank volume. For actual water volume (after substrate & decorations), use the Aquarium Water Volume Calculator.

Why Aquarium Volume Matters

Every successful aquarium starts with knowing its true water capacity. Here’s why that number is critical:

  • Medication & Water Treatments: Most fish medications and dechlorinators are dosed per gallon or liter. An incorrect volume can under‑dose (ineffective) or over‑dose (toxic).
  • Heater Selection: A 100‑watt heater works for a 20‑gallon tank but won’t keep a 40‑gallon warm. Our Heater Size Calculator uses volume as its base.
  • Filter Sizing: Filters are rated by flow rate (GPH – gallons per hour). You need a filter that turns over your tank volume 4‑6 times per hour.
  • Fish Stocking: The “inch per gallon” guideline depends on accurate volume. Overestimating leads to overstocking.
  • Water Changes: A 20% water change on a 30‑gallon tank is 6 gallons. Know your volume to perform precise maintenance.

How to Measure Your Aquarium

To get an accurate volume, use a tape measure and measure the inside dimensions (length, width, height) in inches or centimeters. For standard rectangular tanks, measure from the inside glass to inside glass. If you use outside dimensions, you’ll overestimate volume (glass thickness adds 0.25‑0.5 inches per side).

For cylindrical tanks, measure the inside diameter (distance across the circle) and the inside height. For bow‑front tanks, measure the length, the width at the deepest point (center of the curve), and height.

Gallons vs Liters: Understanding Units

The calculator above gives results in both US gallons and liters. 1 US gallon = 3.785 liters. Many aquarium products (heaters, filters, medications) are labeled in gallons, while some international brands use liters. The formulas are:

  • Cubic inches → gallons: (L × W × H) ÷ 231
  • Cubic inches → liters: (L × W × H) × 0.0163871
  • Centimeters → liters: (L × W × H) ÷ 1000

Our calculator does the math instantly – no manual conversion needed.

Volume Formulas for Common Aquarium Shapes

Rectangular

Volume = Length × Width × Height (cubic inches) ÷ 231 = gallons

Example: 36″L × 18″W × 24″H = 15,552 cu in ÷ 231 ≈ 67.3 gallons

Cylindrical

Volume = π × radius² × height (cu in) ÷ 231

Diameter 18″ → radius 9″ → 3.1416 × 81 × 24″ = 6,108 cu in ÷ 231 ≈ 26.4 gal

Bow‑front

Approx: Length × (width at center) × Height × 0.85 ÷ 231 (adjustment for curvature)

More accurate: Use the rectangle volume of the largest width then multiply by 0.85.

Real‑Life Examples: Small, Medium & Large Tanks

🐟 Small (10 gallon nano tank): Dimensions approx 20″L × 10″W × 12″H → 20×10×12 = 2,400 ÷ 231 = 10.4 gallons. Perfect for a betta, shrimp, or small school of tetras.

🐠 Medium (40 gallon breeder): 36″L × 18″W × 16″H → 36×18×16 = 10,368 ÷ 231 = 44.9 gallons. Common community tank size.

🦈 Large (125 gallon): 72″L × 18″W × 21″H → 72×18×21 = 27,216 ÷ 231 = 117.8 gallons. Ideal for larger cichlids or aggressive fish.

Always measure your own tank – “standard” sizes vary by manufacturer.

How Tank Volume Guides Equipment Choice

  • Heaters: 2.5‑5 watts per gallon. A 20‑gal tank needs a 50‑100W heater. Use the Heater Size Calculator.
  • Filters: For freshwater, aim for a filter with a GPH rating 4‑6× your tank’s gallons. For a 30‑gallon, get 150‑180 GPH. Check Filter Size Calculator.
  • Water change volume: A 20% weekly change on a 50‑gal tank = 10 gallons. The Water Change Calculator uses your exact volume.
  • Fertilizers / additives: Most liquid fertilizers are dosed “per 10 gallons”. Accurate volume prevents algae blooms or plant deficiencies.

Common Volume Calculation Mistakes (and How to Avoid Them)

Mistake: Using outside dimensions.
Fix: Measure inside glass to inside glass.
Mistake: Forgetting to subtract substrate & décor.
✅ Use the Water Volume Calculator for actual water.
Mistake: Mixing inches and centimeters.
✅ Always use the same unit (inches for gallons; cm for liters).
Mistake: Not measuring the water height (if tank isn’t full).
✅ Measure from inside bottom to the water surface level.

Tips for Accurate Measurements

  • Use a rigid tape measure, not a cloth one (cloth stretches).
  • Measure twice to avoid reading errors.
  • If your tank is already set up, measure water depth instead of tank height – decorations displace water.
  • For odd shapes (corner, hexagon), consult our custom shape tools or use the Aquarium Water Volume Calculator that accounts for displacement.

Frequently Asked Questions

1. How do I calculate fish tank volume?
Measure length, width, and height (in inches) and multiply them. Divide that number by 231 for US gallons. Or use our calculator above – just input dimensions and shape.
2. Should I measure inside or outside dimensions?
Always measure the inside dimensions. Outside measurements include glass thickness, which can add 10-20% extra volume and lead to overdosing medications or oversizing equipment.
3. How many gallons is my aquarium?
Use the calculator on this page – select your tank shape, enter the inside dimensions, and it will display gallons and liters instantly.
4. Why is tank volume important?
Volume determines heater wattage, filter flow rate, medication dosing, water change amounts, and safe fish stocking levels. Getting it wrong can harm your fish.
5. Can decorations reduce actual water volume?
Yes. Rocks, driftwood, and thick substrate displace water. That’s why we recommend the Aquarium Water Volume Calculator for the true water volume after adding décor.
6. Is this calculator accurate for all aquarium shapes?
Our calculator supports rectangular, cylindrical, and bow‑front shapes. For hexagon, corner, or other custom shapes, please use the general formula for that polygon or contact us for assistance.
7. How do I convert liters to gallons?
1 US gallon = 3.785 liters. Divide liters by 3.785 to get gallons. Our calculator does both conversions for you.
8. What equipment depends on tank volume?
Heaters, filters, air pumps, UV sterilizers, protein skimmers (saltwater), lighting (somewhat), and powerheads all rely on accurate tank volume to perform correctly.

Related Calculators You Might Need

Start with Volume, Succeed with Confidence

Before you buy a heater, choose a filter, or add your first fish – calculate your tank’s exact volume. It’s the single most important measurement in fishkeeping. Use this calculator, then explore the related tools to design a healthy, balanced aquarium. Happy fishkeeping!