Updated on April 22nd, 2026

Aquarium Calculator

Created By Jehan Wadia

Tank Shape & Dimensions
Select a preset to auto-fill dimensions, or choose "Custom" for manual entry.
Rectangular
Cube
Cylinder
Bow-Front
Hexagonal
Corner
Pentagon
Flatback Hex
L-Shaped
Most tanks are filled 1–2 inches below the rim. Defaults to tank height.
Tank Volume Results
Gross Volume48.44 US gal
Volume (Liters)183.39 L
Volume (Cubic Inches)11,193.60 in³
Fill-Level Volume48.44 US gal
Displacement & Usable Volume
Uses same unit as dimensions above.
Typical: 5–15%
Heater, filter media, etc. Typical: 2–5%
Usable Volume
Substrate Displacement1.68 US gal
Rock/Decor Displacement2.42 US gal
Equipment Displacement1.45 US gal
Total Displaced5.56 US gal
Net Usable Water Volume42.88 US gal (162.34 L)
Fish Stocking Analysis
General Rule: ~1 inch of fish per 1 US gallon of net water for freshwater community tanks. Saltwater and aggressive species need more space.
Stocking Analysis
Total Fish Inches12.0 in
Recommended Max Inches42.9 in
Stocking Level28%
Status✓ Understocked — Room for more fish
28%
Filtration Assessment
Gallons per hour. Check filter label.
Freshwater: 4×, Planted: 6×, Saltwater: 8–10×
Filtration Results
Net Tank Volume42.88 US gal
Required GPH (at target turnover)171.5 GPH
Your Filter GPH200 GPH
Actual Turnover Rate4.7× / hour
Status✓ Adequate Filtration
117%
Aquarium Unit Converter
Conversion Result
50 US Gallons =189.271 Liters
US GallonsLitersImperial GallonsCubic Feet
518.934.160.67
1037.858.331.34
2075.7116.652.67
29109.7824.153.88
40151.4233.315.35
55208.2045.807.35
75283.9162.4510.03
100378.5483.2713.37
125473.18104.0816.71
Volume Breakdown

Introduction

Setting up an aquarium is exciting, but getting the details right matters for your fish. Our Aquarium Calculator helps you figure out important numbers like tank water volume, how many fish your tank can hold, and other key measurements. Whether you have a freshwater or saltwater setup, knowing these numbers keeps your fish healthy and happy. Just enter your tank details, and the calculator does the math for you — no guessing needed.

How to Use Our Aquarium Calculator

Enter your tank's shape, size, and stocking details to find out your water volume, usable space after displacement, fish stocking level, filtration needs, and unit conversions.

Tank Preset: Search for or pick a common tank model (like "55g Standard" or "Fluval Flex") from the dropdown to auto-fill all dimensions. Choose "Custom" if you want to type in your own measurements.

Tank Shape: Click the shape that matches your aquarium. You can pick from nine options: Rectangular, Cube, Cylinder, Bow-Front, Hexagonal, Corner, Pentagon, Flatback Hex, or L-Shaped. The diagram will update to show you which measurements are needed.

Dimension Unit: Select the unit your measurements are in — inches, feet, centimeters, millimeters, or meters. All fields in the calculator will use this unit.

Tank Dimensions: Type in the measurements for your tank. The fields that appear depend on the shape you chose. For example, a rectangular tank asks for length, width, and height, while a cylinder asks for diameter and height.

Water Fill Level: Enter the actual water height in your tank. Most tanks are filled 1 to 2 inches below the rim. If you leave this blank, the calculator uses the full tank height.

Substrate Depth and Type: Enter how deep your substrate (gravel, sand, or soil) is and choose its type from the dropdown. Different substrates take up different amounts of space, which affects your usable water volume.

Rocks & Decorations (%): Enter the percentage of your tank's volume that rocks, driftwood, and decorations take up. A typical setup uses about 5 to 15 percent.

Equipment (%): Enter the percentage of tank volume taken up by your heater, filter media, and other gear. Most setups use about 2 to 5 percent.

Water Type: Choose Freshwater, Saltwater, or Brackish. This changes the fish species list and adjusts stocking rules, since saltwater fish need more space per inch than freshwater fish.

Fish Species and Count: Pick a species from the dropdown and enter how many you plan to keep. Click "Add Fish" to add them to your list. You can add multiple species and remove any by clicking the ✕ button next to it.

Filter Flow Rate (GPH): Enter your filter's flow rate in gallons per hour. You can find this number on the filter's label or in its manual.

Filter Type: Select what kind of filter you use — Hang-on-Back, Canister, Sponge, Internal, Sump, or Fluidized Bed.

Target Turnover (× per hour): Enter how many times per hour you want all the water in your tank to pass through the filter. A good target is 4× for freshwater, 6× for planted tanks, and 8 to 10× for saltwater tanks.

Unit Converter: Type in any value, choose the "From" unit and the "To" unit, then click "Convert." It supports US Gallons, Imperial Gallons, Liters, Cubic Feet, Cubic Inches, Cubic Meters, and Cubic Centimeters (mL).

Aquarium Calculator: Tank Volume, Stocking, and Filtration

Setting up an aquarium the right way starts with knowing your numbers. This aquarium calculator helps you figure out your tank's water volume, how much space your substrate and decorations take up, whether your fish will have enough room, and if your filter is strong enough to keep the water clean. Whether you're planning a small freshwater nano tank or a large saltwater reef setup, getting these details right from the start helps keep your fish healthy and your tank thriving.

How Tank Volume Works

The volume of your aquarium depends on its shape and dimensions. A standard rectangular tank is the most common, but aquariums also come in cube, cylindrical, bow-front, hexagonal, corner, pentagon, flatback hex, and L-shaped designs. Each shape uses a different math formula to find volume. For example, a rectangular tank's volume is simply length × width × height, while a cylindrical tank uses the formula for the area of a circle (π × radius²) times the height — similar to how our Cylinder Volume Calculator works. This calculator converts everything into cubic inches first, then translates that into US gallons, liters, and other units.

Keep in mind that most tanks are not filled all the way to the top. You usually leave 1 to 2 inches of space below the rim to prevent spills and allow room for equipment. The water fill level field lets you account for this, giving you a more accurate picture of how much water is actually in your tank.

Why Displacement Matters

The number printed on your tank (like "55 gallons") is the gross volume — the total space inside if it were completely empty and full of water. In reality, your tank holds less usable water than that. Substrate (sand, gravel, or aqua soil) sits on the bottom and pushes water out of the way. Rocks, driftwood, and decorations take up space too. Even your heater, filter intake, and other equipment displace some water.

Different substrates displace different amounts. Fine sand packs tightly and displaces about 60% of the space it fills, while coarse gravel has bigger gaps between pieces and only displaces about 40%. The calculator uses these percentages along with your substrate depth and tank base area to estimate how many gallons your substrate pushes aside. Rock and equipment displacement are entered as a percentage of your total fill volume — typically 5–15% for decorations and 2–5% for equipment. If you're calculating material for a different kind of project, tools like the Pea Gravel Calculator, River Rock Calculator, or Sand Calculator can help estimate quantities for landscaping and construction.

Your net usable water volume is what remains after subtracting all that displacement. This is the number you should use for stocking fish, dosing medications, adding fertilizers, and sizing your filter.

Fish Stocking Guidelines

The most common rule of thumb for freshwater community tanks is 1 inch of fish per 1 US gallon of net water volume. This means if you have 40 usable gallons, you can generally keep about 40 inches of fish. A fish's size refers to its adult length, not how big it is when you buy it at the store. A common pleco sold at 2 inches will grow to 15 inches and needs at least 75 gallons.

This rule has important limits. It works best for small, slim-bodied community fish like tetras, rasboras, and guppies. Large-bodied fish like oscars and goldfish produce much more waste per inch of length, so they need more water than the rule suggests. Saltwater fish need roughly twice the space — about 1 inch per 2 gallons — because they are more sensitive to water quality changes. Brackish species fall somewhere in between.

Beyond total inches, pay attention to these factors:

  • Minimum tank size: Some fish need a certain tank size regardless of stocking levels. For example, a yellow tang needs at least 75 gallons even if it's the only fish, because it needs room to swim.
  • Schooling species: Fish like neon tetras, corydoras catfish, and harlequin rasboras are schooling fish that should be kept in groups of at least 6. Keeping fewer causes stress and can lead to illness or aggression.
  • Temperament: Peaceful fish (like guppies) should not be mixed with aggressive species (like African cichlids). Semi-aggressive fish (like tiger barbs) can sometimes work with peaceful fish but need to be watched carefully.
  • Water type: Never mix freshwater, saltwater, and brackish fish in the same tank. They have very different needs for salinity, pH, and minerals. If you're curious about water chemistry, our pH Calculator can help you understand acidity and alkalinity levels.

Filtration and Turnover Rate

Your filter's job is to remove fish waste, uneaten food, and harmful chemicals like ammonia and nitrite from the water. Filters are rated by their flow rate in gallons per hour (GPH). The turnover rate is how many times per hour your filter processes the entire tank volume. For example, a 200 GPH filter on a 50-gallon tank has a turnover rate of 4× per hour.

Recommended turnover rates depend on the type of aquarium:

  • Freshwater community: 4× per hour
  • Planted tanks: 6× per hour (plants benefit from water circulation)
  • Saltwater and reef tanks: 8–10× per hour (marine life is more sensitive to water quality)
  • Heavily stocked tanks: 6–8× per hour regardless of water type

If your filter's GPH meets or exceeds the required GPH for your target turnover rate, your filtration is adequate. If it falls below 75% of the target, consider upgrading your filter or adding a second one. Keep in mind that real-world flow rates drop over time as filter media gets dirty, so it's smart to have a little extra capacity built in.

Common Filter Types

  • Hang-on-Back (HOB): Popular for small to medium tanks. Easy to maintain but can be noisy.
  • Canister: Great for medium to large tanks. Sits below the tank and provides excellent mechanical and biological filtration.
  • Sponge Filter: Gentle flow, ideal for breeding tanks and shrimp tanks. Run by an air pump.
  • Internal Power Filter: Compact, sits inside the tank. Good for small tanks.
  • Sump: A separate tank below the display tank that houses filtration equipment. Common in saltwater setups and large freshwater systems.
  • Fluidized Bed: Excellent biological filtration using suspended media. Often used as a supplemental filter.

Unit Conversions for Aquariums

Aquarium products and guides use different measurement units depending on the country. In the United States, tank sizes are listed in US gallons. In Europe, Australia, and most of the rest of the world, liters are standard. The United Kingdom sometimes uses imperial gallons, which are about 20% larger than US gallons. Knowing how to convert between these units is important when following care guides, dosing products, or shopping for equipment made in a different country.

Key conversions to remember: 1 US gallon equals 3.785 liters, 1 imperial gallon equals 4.546 liters, and 1 cubic foot equals about 7.48 US gallons. The unit converter section of this calculator handles all of these conversions instantly, including cubic inches, cubic centimeters (milliliters), and cubic meters.

Related Pet Calculators

If you're a pet owner beyond the aquarium hobby, you might find our other pet tools helpful. Our Dog Age Calculator and Cat Age Calculator help you understand your pet's life stage, while the Dog Food Calculator ensures you're feeding your canine companion the right amount. For outdoor water features, the Pool Volume Calculator uses similar volume math, and the Pond Liner Calculator can help if you're building an outdoor pond for koi or goldfish.


Frequently Asked Questions

How do I find out how many gallons my fish tank holds?

Pick your tank shape (rectangular, cube, cylinder, etc.) and enter the measurements like length, width, and height. The calculator multiplies these numbers using the right math formula for your shape and converts the result into US gallons, liters, and cubic inches. You can also search for a preset tank model to auto-fill the dimensions.

What is the difference between gross volume and net usable volume?

Gross volume is the total space inside your empty tank if it were filled to the top. Net usable volume is how much water is actually available for your fish after you subtract the space taken up by substrate, rocks, decorations, and equipment. Always use net usable volume when figuring out how many fish to add.

How do I know if my tank is overstocked?

Add your fish species and counts to the stocking section. The calculator adds up the total adult inches of all your fish and compares it to your net water volume. If the stocking meter goes above 100%, your tank is overstocked. You should remove some fish or get a bigger tank.

Does the 1 inch per gallon rule work for all fish?

No. The 1 inch per gallon rule is a rough guide that works best for small, slim freshwater fish like tetras and guppies. Large or heavy-bodied fish like oscars and goldfish produce much more waste and need more water per inch. Saltwater fish need about 1 inch per 2 gallons.

Why does my substrate type matter for water volume?

Different substrates take up different amounts of space. Fine sand packs tightly and displaces about 60% of the area it fills. Coarse gravel has bigger gaps and only displaces about 40%. The calculator uses these percentages to estimate how much water your substrate pushes out of the tank.

What turnover rate should I use for my filter?

For a freshwater community tank, aim for 4 times per hour. Planted tanks do better with 6 times per hour. Saltwater and reef tanks need 8 to 10 times per hour. If your tank is heavily stocked, bump it up to 6 to 8 times regardless of water type.

How do I convert US gallons to liters?

Use the Unit Converter section at the bottom of the calculator. Select US Gallons as the "From" unit and Liters as the "To" unit, type in your number, and click Convert. One US gallon equals about 3.785 liters.

Can I mix freshwater and saltwater fish in the same tank?

No. Freshwater, saltwater, and brackish fish have very different needs for salinity, pH, and minerals. Mixing them will harm or kill the fish. The calculator will warn you if you try to add fish from different water types to the same list.

What does GPH mean on a filter?

GPH stands for gallons per hour. It tells you how much water your filter can move through itself in one hour. A higher GPH means stronger filtration. You can find this number on your filter's label or in the manual that came with it.

How much space should I leave at the top of my tank?

Most fishkeepers fill their tank 1 to 2 inches below the rim. This prevents spills, leaves room for equipment like hang-on-back filters, and gives fish that jump a little buffer. Enter your actual water height in the Water Fill Level field for a more accurate volume reading.

What is a schooling fish and why does group size matter?

Schooling fish are species that naturally live in groups, like neon tetras and corydoras catfish. They feel safer and stay healthier when kept in groups of 6 or more. Keeping fewer can cause stress, illness, and unusual aggression. The calculator will warn you if you add fewer than 6 of a schooling species.

How accurate are the tank presets?

The presets use standard manufacturer dimensions for popular tank models. They give you a very close estimate. However, glass thickness, silicone seams, and slight manufacturing differences mean the actual volume may vary by a small amount. For the most precise result, measure your specific tank yourself.

What if my tank shape is not listed?

Choose the shape that is closest to yours, or select the Custom preset and pick the best matching shape from the nine options. For unusual tanks, you can measure the water you actually add using a bucket or measuring container and enter that volume directly into the displacement section.

Why does the calculator say my filter is insufficient?

Your filter's GPH is too low for your tank size and target turnover rate. For example, if you have 50 usable gallons and want a 4× turnover, you need at least 200 GPH. If your filter only provides 100 GPH, it cannot keep up. Consider upgrading your filter or adding a second one.

Should I use adult fish size or current size for stocking?

Always use the adult size. Fish grow, and a small fish today could be several times bigger in a few months. The species dropdown already shows the expected adult size in inches for each fish. Plan your stocking based on how big your fish will get, not how big they are now.