Aquarium Volume Calculator
Your Aquarium Capacity
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.
| 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
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 |