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.