Aquarium Volume Calculator – Tank Size & Capacity

Aquarium Volume Calculator

Rectangular
Cube
Cylinder
Half Cylinder
Quarter Cylinder
Bow Front
Corner Bow
Hexagon
Octagon
L-Shaped
Triangular
Pentagon

Your Aquarium Capacity

Total Volume
Actual Water Volume (accounting for substrate & glass)
Weight When Full
Recommended Fish Capacity
Heater Wattage Needed
Filter Flow Rate

How to Use This Calculator

Calculating your fish tank’s volume is straightforward with our calculator. Start by selecting your tank’s shape from the options above. We’ve included 12 different shapes to cover virtually every aquarium design you might have, from standard rectangular tanks to specialty bow-front and corner setups.

Once you’ve selected your shape, enter the dimensions of your tank. Make sure to measure from inside the glass, not outside, for the most accurate results. You can choose between imperial (inches) or metric (centimeters) units depending on your preference.

If you want even more precision, add the optional measurements. Glass thickness helps account for the space the aquarium walls take up, while substrate depth calculates how much volume your gravel or sand will occupy. These details give you the actual water volume rather than just the tank’s outer dimensions.

Why Accurate Volume Matters

Knowing your exact tank volume isn’t just about curiosity. It’s the foundation for keeping healthy fish. When you add medications, water conditioners, or fertilizers, the dosage depends on your water volume. Too much can harm your fish, while too little won’t be effective.

Your tank’s volume also determines your bioload capacity. This means how many fish you can safely keep. Overcrowding leads to poor water quality, stressed fish, and disease outbreaks. Our calculator provides stocking guidelines based on the widely-accepted one-inch-of-fish-per-gallon rule for freshwater tanks, though saltwater tanks need more conservative stocking.

Volume Formulas for Each Shape

Rectangular Tanks

Formula: Length × Width × Height

This is the most common aquarium shape and the easiest to calculate. Simply multiply all three dimensions together. For example, a tank that’s 30 inches long, 12 inches wide, and 18 inches tall holds 30 × 12 × 18 = 6,480 cubic inches. Convert to gallons by dividing by 231 (there are 231 cubic inches in a gallon), giving you about 28 gallons.

Cube Tanks

Formula: Side × Side × Side (or Side³)

Perfect cubes have equal dimensions on all sides. A 12-inch cube tank would be 12 × 12 × 12 = 1,728 cubic inches, or roughly 7.5 gallons.

Cylindrical Tanks

Formula: π × Radius² × Height

For round tanks, you need the diameter (distance across the tank) or radius (half the diameter). If your cylinder has a 20-inch diameter and is 24 inches tall, the radius is 10 inches. Calculate: 3.14159 × 10² × 24 = 7,540 cubic inches, or about 32.6 gallons.

Bow Front Tanks

These tanks combine a rectangular back section with a curved front panel. The calculation requires both the standard dimensions and the measurement of the outward curve. Our calculator handles the complex geometry automatically, saving you from manual trigonometric calculations.

Hexagonal and Octagonal Tanks

Multi-sided tanks require breaking down the shape into triangular sections. The calculator uses the number of sides and the distance from center to corner to compute the total volume accurately.

Stocking Your Aquarium

The classic rule suggests one gallon of water per inch of adult fish for freshwater tanks. A 20-gallon tank could theoretically hold 20 inches worth of fish, perhaps four 5-inch fish or ten 2-inch fish. However, this rule has limitations.

Factors That Affect Stocking Density

Fish activity level matters significantly. Active swimmers like danios need more space than slower fish like bettas, even if they’re the same size. Territorial species require even more room to establish their domains without constant conflict.

Body shape also plays a role. A slim, streamlined fish produces less waste than a chunky, round-bodied fish of the same length. Goldfish, for instance, are heavy waste producers and need more gallons per inch than tetras or guppies.

Your filtration capacity can allow slightly higher stocking if you have excellent biological filtration and perform regular maintenance. Conversely, minimal filtration requires more conservative stocking to maintain water quality.

Pro Tip: Always stock gradually. Add a few fish, wait 2-3 weeks for your biological filter to adjust, then add more. This prevents ammonia spikes that can kill your entire tank.
Tank Size Conservative Stocking Moderate Stocking Maximum Stocking
10 gallons 5-7 small fish 8-10 small fish 12-15 small fish
20 gallons 10-12 small fish 15-18 small fish 20-25 small fish
55 gallons 25-30 small fish 35-45 small fish 50-60 small fish
75 gallons 35-40 small fish 50-60 small fish 70-80 small fish

Equipment Sizing Guide

Heaters

The standard recommendation is 3-5 watts per gallon for tropical tanks. A 20-gallon tank needs a 60-100 watt heater. Colder rooms or tanks in basements might need heaters on the higher end of this range. Consider two smaller heaters instead of one large heater for tanks over 40 gallons. This provides backup if one fails and distributes heat more evenly.

Filters

Your filter should cycle the entire tank volume 4-6 times per hour. A 30-gallon tank needs a filter rated for 120-180 gallons per hour (GPH). More filtration is better than less, especially for messy fish like goldfish or cichlids. You can’t really over-filter a tank, though you can create too much current for certain fish species.

Lighting

For fish-only tanks, 1-2 watts per gallon of standard fluorescent lighting works well. Planted tanks need more intense lighting, often 3-5 watts per gallon or specific PAR (Photosynthetically Active Radiation) measurements for LED systems. The depth of your tank matters too, as light intensity decreases with depth.

Air Pumps

If you’re using air-driven filters or decorations, choose a pump rated for your tank size. Most pumps list their recommended tank size range. For deeper tanks over 20 inches, you’ll need a more powerful pump to overcome water pressure.

Common Questions

Do I need to subtract the volume of decorations and equipment?
Yes, technically everything in your tank displaces water. Large rocks, driftwood, filters, and heaters all take up space. For most tanks, this displacement amounts to 5-10% of the total volume. Our calculator’s substrate depth option helps account for some of this. If you have particularly heavy decoration, consider your actual water volume about 10% less than calculated.
How full should I fill my aquarium?
Most people fill tanks to about 1-2 inches below the rim. This prevents overflow when you put your hands in for maintenance and gives jumping fish a bit less distance to clear the top. Some tanks have a fill line molded into the frame. This also means your actual water volume is slightly less than the tank’s total capacity.
Why do store-bought tank sizes differ from calculated volumes?
Manufacturers usually list nominal sizes based on external dimensions or rounded figures. A “20-gallon” tank might actually hold 18 or 22 gallons depending on glass thickness and exact dimensions. There are also “20-gallon long,” “20-gallon high,” and “20-gallon breeder” tanks with different dimensions but similar volumes. Always measure your specific tank for accuracy.
How much does a filled aquarium weigh?
Water weighs approximately 8.34 pounds per gallon. Add the weight of the tank itself, substrate, decorations, and equipment. A 55-gallon tank weighs about 460 pounds when filled, plus another 50-100 pounds for everything else. That’s over 500 pounds total. Always place tanks on sturdy, level furniture designed to hold that weight.
Can I use this for saltwater reef tanks?
Absolutely. The volume calculations work the same for saltwater and freshwater. However, stocking guidelines differ significantly. Reef tanks need much lower fish density, typically one small fish per 5-10 gallons due to the sensitivity of corals and the complex ecosystem. Saltwater also weighs slightly more than freshwater, about 8.6 pounds per gallon.
What if my tank is an unusual custom shape?
For truly custom shapes, you might need to break the tank into sections and calculate each separately. Measure rectangular sections normally, identify any cylindrical portions, and add the volumes together. Alternatively, you can fill the tank with measured containers of water and count how many gallons you add, though this is messy and impractical for large tanks.
How often should I change the water?
Most aquariums benefit from weekly water changes of 20-25% of the volume. For a 40-gallon tank, that’s 8-10 gallons weekly. Heavily stocked tanks or those with messy fish might need twice-weekly changes or larger volumes. Lightly stocked, well-planted tanks might get by with 10% weekly or 25% biweekly. Test your water parameters to find what works for your specific setup.

Mistakes to Avoid

Measuring the Outside Instead of Inside

This is the most common error. Glass thickness varies from 1/4 inch on small tanks to over 1/2 inch on large aquariums. On a 48-inch tank, this could mean losing 2-3 gallons from your calculation. Always measure the interior space where water actually sits.

Forgetting About Water Displacement

New aquarists often calculate the full volume and then wonder why their tank doesn’t hold as much as expected. Substrate alone can displace 10-15% of your volume. A 2-inch gravel bed in a 40-gallon tank takes up 4-6 gallons of space. Add rocks, driftwood, and equipment, and you might only have 32-34 gallons of actual water.

Using the Wrong Units

Mixing inches and centimeters, or gallons and liters, throws off calculations completely. Stick to one unit system throughout. If your tank is measured in centimeters, convert the final cubic centimeters to liters by dividing by 1,000. For inches, convert cubic inches to gallons by dividing by 231.

Overstocking Based on Juvenile Fish Size

That cute 2-inch Oscar will grow to 12 inches. Those tiny goldfish reach 8-10 inches in proper conditions. Always plan your stocking based on adult sizes, not the babies you buy from the store. Research each species’ full-grown size before adding them to your tank.

Ignoring Tank Shape in Stocking Decisions

A 40-gallon breeder tank (36″ x 18″ x 16″) provides more swimming space and surface area than a 40-gallon tall (24″ x 12″ x 24″), even though they hold the same volume. Long, shallow tanks support more fish than tall, narrow ones because surface area matters for oxygen exchange.

Converting Between Units

Working with international products or guides often means converting between measurement systems. Here are the key conversions you’ll need:

Volume Unit Equivalent
1 US Gallon 3.785 Liters
1 Imperial Gallon (UK) 4.546 Liters
1 Liter 0.264 US Gallons
1 Cubic Foot 7.48 US Gallons
231 Cubic Inches 1 US Gallon
1000 Cubic Centimeters 1 Liter

Note that US gallons and UK Imperial gallons differ by about 20%, which can significantly affect dosing calculations. Always check which gallon measurement a product uses, especially with imported items.

Length Conversions

From To Multiply By
Inches Centimeters 2.54
Centimeters Inches 0.394
Feet Meters 0.305
Meters Feet 3.281

Specialized Tank Considerations

Saltwater and Reef Tanks

Marine aquariums require more precise volume calculations because saltwater parameters are less forgiving than freshwater. The salinity, calcium, and alkalinity supplements you add depend on exact water volume. Reef tanks also typically have sumps, which add to the total system volume. Calculate both your display tank and sump, then add them together for your total system volume.

Planted Tanks

Heavily planted aquariums benefit from knowing the volume for fertilizer dosing. Liquid fertilizers specify doses per gallon, and overdosing can cause algae blooms while underdosing starves your plants. Substrate takes up more volume in planted tanks since many use nutrient-rich soil bases 3-4 inches deep rather than thin gravel layers.

Breeding Tanks

Breeding setups often use smaller, shallow tanks because many species spawn in shallow water. A 20-gallon long tank provides better breeding conditions than a 20-gallon tall for most species. Volume still matters for water quality, but surface area becomes equally critical.

Quarantine Tanks

Medication dosing requires accurate volume. Quarantine tanks are usually bare-bottom without substrate, so your calculated volume is close to actual water volume. However, hospital tanks often use more equipment like extra sponge filters, which displace water. Measure carefully to avoid under or overdosing sick fish.

Shape Selection Guide

Shape Best For Considerations
Rectangular Most fish species, general purpose Maximum swimming space, easiest to calculate and maintain
Cube Small spaces, shrimp, bettas Limited swimming length, good for vertical swimmers
Cylinder Centerpiece displays, lobbies Curved glass distorts view, less swimming space per gallon
Bow Front Living rooms, showcase tanks Better viewing angle, slightly more volume than flat front
Corner Space-saving, small rooms Awkward to maintain, limited viewing angles
Hexagon/Octagon Decorative purposes, small fish Reduced swimming space, can be harder to clean corners
Scroll to Top