Aquarium Calculator

Calculate fish tank volume, actual water capacity, substrate displacement, and total weight for rectangular, bowfront, cylindrical, hexagonal, and 5 other tank shapes.

Configuration

Calculate total tank capacity and actual water volume based on fill level.
Account for substrate and decorations to find real water capacity for fish and chemicals.
Estimate total weight including water, substrate, and glass for stand and floor safety.
LWH

Enter Values

Results

You can only use the period (.) as the decimal separator.

What is aquarium volume and why does it matter?

Aquarium volume is the total three-dimensional space enclosed by a fish tank's walls, measured in gallons, liters, or cubic units. It determines how much water the tank holds and directly affects every aspect of fishkeeping, from chemical dosing to biological filtration capacity.

Accurate volume measurement matters because medication dosages, water conditioner amounts, and fertilizer concentrations are all calculated per gallon or per liter. A 10% error in volume estimation translates to a 10% overdose or underdose of treatment chemicals, which can stress or kill fish. Filtration systems are rated by flow rate relative to tank volume, so an incorrect volume reading leads to under-filtered or over-filtered water.

A critical distinction exists between total tank volume (the geometric capacity of the empty glass box) and actual water volume (the water remaining after substrate, rocks, driftwood, and decorations displace space). A 55-gallon tank with 2 inches of gravel and several decorations may hold only 42–45 gallons of actual water. This difference directly affects medication dosing and chemical treatment accuracy.

What are the fish tank volume formulas?

Each tank shape requires a different geometric formula. Below is a quick reference for all eight shapes supported by this calculator. Select your shape above to see the full step-by-step calculation.

$$V_{\text{rectangular}} = L \times W \times H$$

where $L$ = length, $W$ = width, and $H$ = height of the tank.

$$V_{\text{cube}} = a^3$$

where $a$ = side length (all sides equal).

$$V_{\text{bowfront}} = L \times H \times \left(W + \frac{2}{3}d\right)$$

where $d$ = arc depth of the curved front glass.

$$V_{\text{cylinder}} = \pi r^2 h$$

where $r$ = radius (half the diameter) and $h$ = height.

$$V_{\text{hexagon}} = \frac{3\sqrt{3}}{2}\, s^2\, h$$

where $s$ = side length of the hexagonal base.

$$V_{\text{pentagon}} = \frac{\sqrt{25 + 10\sqrt{5}}}{4}\, s^2\, h$$

where $s$ = side length of the pentagonal base.

$$V_{\text{corner}} = \frac{1}{2}\, b \times d \times h$$

where $b$ = base, $d$ = depth of the right triangle, and $h$ = tank height.

$$V_{\text{elliptical}} = \pi \times \frac{a}{2} \times \frac{b}{2} \times h$$

where $a$ = major axis, $b$ = minor axis of the oval base.

How does the aquarium volume calculator work?

This calculator supports eight fish tank shapes and three calculation modes. Select your tank shape from the dropdown, enter the required dimensions in any unit (inches, centimeters, millimeters, meters, or feet), and the calculator returns the volume in your preferred output unit (liters, US gallons, UK gallons, cubic feet, cubic inches, cubic meters, or cubic centimeters).

The Aquarium Volume mode calculates total tank capacity and, optionally, the water volume at a specific fill level. The Actual Water Volume mode subtracts substrate and decoration displacement from the total volume to return the true water capacity. The Aquarium Weight Calculator mode estimates the combined weight of water, substrate, decorations, and glass for stand and floor safety verification.

All unit conversions happen within the calculator. Switching an input from centimeters to inches converts the displayed value to maintain the same physical measurement. Switching a result from liters to gallons recalculates the output in the new unit.

What's the formula for a rectangular aquarium's volume?

The rectangular tank is the most common fish tank shape, accounting for the majority of tanks sold worldwide. Standard sizes like the 10-gallon, 20-gallon, 55-gallon, and 75-gallon are all rectangular. The volume formula multiplies three perpendicular dimensions.

$$V = L \times W \times H$$
  • $L$ = Length (longest horizontal dimension, typically front to back)
  • $W$ = Width (shorter horizontal dimension, typically side to side)
  • $H$ = Height (vertical dimension from bottom to water line)

Example: Community Tank Setup

Sarah is setting up her first freshwater community tank in the living room. She purchased a standard rectangular aquarium measuring 48 inches long, 18 inches wide, and 21 inches tall. She wants to know how much water it will hold before buying her filtration system.

  1. Multiply length × width: $48 \times 18 = 864$ square inches
  2. Multiply by height: $864 \times 21 = 18{,}144$ cubic inches
  3. Convert to gallons: $18{,}144 \div 231 = 78.55$ US gallons
  4. Convert to liters: $18{,}144 \div 61.0237 = 297.33$ liters

Manufacturers round this to 75 gallons because the stated capacity accounts for glass thickness, silicone seams, and a water line approximately one inch below the rim.

How much water does a cube aquarium hold?

Cube tanks are popular for nano reef setups, planted aquascapes, and desktop displays. Because all three dimensions are equal, the volume calculation simplifies to a single measurement cubed.

$$V = a^3$$

Example: Office Desk Nano Reef

Mark wants to start a small reef tank on his office desk. He found a cube-shaped aquarium with 20-inch sides and needs to determine the total water capacity to size his protein skimmer and return pump correctly.

  1. Cube the side length: $20^3 = 20 \times 20 \times 20 = 8{,}000$ cubic inches
  2. Convert to gallons: $8{,}000 \div 231 = 34.63$ US gallons
  3. Convert to liters: $8{,}000 \div 61.0237 = 131.10$ liters

Cube tanks offer equal viewing depth from all angles, making them well-suited for centerpiece placement where the tank is visible from multiple sides. The equal dimensions also simplify aquascaping because depth perception is consistent regardless of viewing angle.

What's the actual capacity of a bowfront tank?

Bowfront aquariums feature a curved front glass panel that bows outward, creating a wider viewing area and a more organic appearance. The curved glass adds volume beyond a standard rectangular tank of the same width. The arc depth ($d$) measures how far the curve extends beyond the flat back panel.

$$V = L \times H \times \left(W + \frac{2}{3}d\right)$$

Example: Upgrading to a Bowfront Display

Lisa is upgrading from a standard rectangular tank to a bowfront display for her living room centerpiece. Her new tank measures 36 inches long, 12 inches wide, and 18 inches tall, with a curved front glass that extends 4 inches outward at its deepest point. She wants to calculate the actual capacity to match her existing filtration system.

  1. Calculate effective width: $12 + \frac{2}{3}(4) = 12 + 2.667 = 14.667$ in
  2. Multiply: $36 \times 18 \times 14.667 = 9{,}504$ cubic inches
  3. Convert to gallons: $9{,}504 \div 231 = 41.14$ US gallons

The $\frac{2}{3}d$ term comes from the geometric area of a parabolic segment. It approximates the additional volume created by the outward bow of the front glass. Measure the arc depth by placing a straight edge across the front opening and measuring the maximum gap between the edge and the glass.

How do you calculate a cylindrical tank's capacity?

Cylindrical aquariums are tall, round tanks often used as room dividers or centerpiece displays. The circular cross-section means the volume depends on the radius of the base and the height of the cylinder.

$$V = \pi r^2 h$$

Example: Restaurant Column Tank

A restaurant wants to install a decorative cylindrical column tank as a room divider between dining areas. The tank has a 24-inch diameter and stands 30 inches tall. The owner needs to know the water capacity to plan the lighting, filtration, and water change schedule.

  1. Find the radius: $r = \frac{24}{2} = 12$ inches
  2. Square the radius: $12^2 = 144$ square inches
  3. Multiply by $\pi$: $3.14159 \times 144 = 452.39$ square inches
  4. Multiply by height: $452.39 \times 30 = 13{,}571.68$ cubic inches
  5. Convert to gallons: $13{,}571.68 \div 231 = 58.75$ US gallons

Cylindrical tanks present a unique aquascaping challenge: the curved glass distorts the view of objects near the edges. Fish and plants placed within the central 60% of the diameter appear with minimal distortion.

What's the volume of a hexagonal aquarium?

Hexagonal tanks have six equal sides and offer wider viewing angles than rectangular tanks of similar footprint. The base area of a regular hexagon is $\frac{3\sqrt{3}}{2} s^2$, where $s$ is the side length.

$$V = \frac{3\sqrt{3}}{2}\, s^2\, h$$

Example: Children's Bedroom Display

James is setting up a hexagonal tank in his daughter's bedroom. Each side of the hexagon measures 10 inches, and the tank is 24 inches tall. He wants to calculate the volume to select the right heater wattage (typically 3–5 watts per gallon).

  1. Square the side: $10^2 = 100$
  2. Multiply by $\frac{3\sqrt{3}}{2}$: $2.598 \times 100 = 259.81$ square inches
  3. Multiply by height: $259.81 \times 24 = 6{,}235.38$ cubic inches
  4. Convert to gallons: $6{,}235.38 \div 231 = 26.99$ US gallons

How much water fits in a pentagon aquarium?

Pentagonal (five-sided) tanks are specialty shapes found in custom builds and select manufacturer lines. The base area of a regular pentagon uses the formula $\frac{\sqrt{25 + 10\sqrt{5}}}{4} s^2$.

$$V = \frac{\sqrt{25 + 10\sqrt{5}}}{4}\, s^2\, h$$

Example: Specialty Pet Store Display

A pet store displays a specialty pentagonal aquarium in its front window to attract foot traffic. Each side measures 12 inches, and the tank stands 20 inches tall. The store manager needs the volume to determine how many fish the display can safely hold.

  1. Calculate the constant: $\frac{\sqrt{25 + 10\sqrt{5}}}{4} = \frac{\sqrt{47.36}}{4} = \frac{6.882}{4} = 1.7205$
  2. Square the side: $12^2 = 144$
  3. Base area: $1.7205 \times 144 = 247.75$ square inches
  4. Multiply by height: $247.75 \times 20 = 4{,}955.07$ cubic inches
  5. Convert to gallons: $4{,}955.07 \div 231 = 21.45$ US gallons

What's the capacity of a corner triangle tank?

Corner tanks are right-triangle prisms designed to fit into 90-degree room corners, making them a practical choice for small apartments and offices. The triangular base area is half the product of the two perpendicular sides.

$$V = \frac{1}{2}\, b \times d \times h$$

Example: Small Apartment Corner Setup

Maria lives in a small apartment and wants to use an unused corner for her first aquarium. She found a right-triangle corner tank with a 16-inch base, 16-inch depth, and 18-inch height. She needs to know the water capacity before purchasing substrate and decorations.

  1. Calculate triangle area: $\frac{1}{2} \times 16 \times 16 = 128$ square inches
  2. Multiply by height: $128 \times 18 = 2{,}304$ cubic inches
  3. Convert to gallons: $2{,}304 \div 231 = 9.97$ US gallons

Corner tanks maximize floor space usage in tight rooms. The right-angle corner of the tank sits flush against two walls, and the hypotenuse face provides the primary viewing window.

How do you measure an oval fish tank's volume?

Elliptical (oval) tanks have an elongated circular base defined by two axes: the major axis ($a$, the longest diameter) and the minor axis ($b$, the shortest diameter). The base area is $\pi \times \frac{a}{2} \times \frac{b}{2}$.

$$V = \pi \times \frac{a}{2} \times \frac{b}{2} \times h$$

Example: Elegant Living Room Display

David purchased an elegant oval display tank for his living room. The tank measures 36 inches along its longest axis, 18 inches across its shortest axis, and stands 20 inches tall. He wants to calculate the volume to select the appropriate filter flow rate.

  1. Calculate semi-axes: $\frac{36}{2} = 18$, $\frac{18}{2} = 9$
  2. Base area: $3.14159 \times 18 \times 9 = 508.94$ square inches
  3. Multiply by height: $508.94 \times 20 = 10{,}178.76$ cubic inches
  4. Convert to gallons: $10{,}178.76 \div 231 = 44.06$ US gallons

How do you calculate actual water volume with substrate?

Substrate (gravel, sand, or soil) occupies space inside the tank that would otherwise hold water. Failing to account for this displacement leads to over-dosing medications and water conditioners. Gravel displaces approximately 100% of its submerged volume, while fine sand displaces roughly 80% due to tighter packing and smaller air gaps between grains.

To calculate substrate displacement, multiply the tank's bottom area by the substrate depth, then apply the displacement factor:

$$V_{\text{displaced}} = A_{\text{base}} \times d_{\text{substrate}} \times f$$

where $f = 1.0$ for gravel and $f = 0.8$ for sand. Decorations (rocks, driftwood, ornaments) displace approximately 2.5 cubic inches per pound of material. Subtract both displacement values from the total tank volume to get the actual water volume.

Example: Planted Tank with Gravel

Amanda has a 55-gallon rectangular tank (48 × 13 inch base) that she's setting up with a 2-inch layer of gravel and approximately 5 pounds of driftwood and rocks. She needs to know the actual water volume to dose a medication correctly for ich treatment.

  1. Substrate displacement: $720 \times 2 \times 1.0 = 1{,}440$ cubic inches = 6.23 gallons
  2. Decoration displacement: $5 \times 2.5 = 12.5$ cubic inches = 0.05 gallons
  3. Actual water volume: $55 - 6.23 - 0.05 = 48.72$ gallons

How much does a full aquarium weigh?

A full aquarium's weight determines whether your floor, stand, and furniture can safely support it. Water is the dominant weight factor: freshwater weighs 8.34 pounds per US gallon, while saltwater weighs 8.55 pounds per gallon due to dissolved salts. A 75-gallon freshwater tank holds approximately 625 pounds of water alone.

Substrate adds significant weight. Gravel weighs roughly 100 pounds per cubic foot, and sand weighs about 95 pounds per cubic foot. A 2-inch layer of gravel across a 55-gallon tank base adds 40–50 pounds. Glass weight varies with thickness: tanks under 20 gallons typically use ¼-inch glass, 20–55 gallon tanks use ⅜-inch, and tanks above 55 gallons use ½-inch or thicker. Glass weighs approximately 1.4 pounds per square foot per ¼-inch of thickness.

Example: Large Freshwater Setup Weight Check

Robert is planning to install a 75-gallon freshwater aquarium on a custom-built stand in his home office. Before purchasing, he needs to verify the total weight to ensure his floor joists and the stand can handle the load. His setup includes 2 inches of gravel, approximately 10 pounds of decorations, and ½-inch glass panels.

  1. Water weight: $75 \times 8.34 = 625.50$ lbs
  2. Gravel weight (2 in over 48 × 18 in base): $\approx 50$ lbs
  3. Glass weight (½-inch, ~1,800 sq in total surface): $\approx 175$ lbs
  4. Decorations: $\approx 10$ lbs
  5. Total: approximately 860 lbs

Before placing a large aquarium, verify that your floor can support the concentrated load. Residential floors are typically rated for 40 pounds per square foot of distributed load, according to structural engineering standards. A 75-gallon tank on a 6-square-foot stand exerts roughly 143 pounds per square foot, which exceeds standard residential ratings. Place large tanks against load-bearing walls or over floor joists.

How do you calculate the weight of a saltwater reef tank?

Saltwater aquariums weigh more than freshwater tanks of the same size because dissolved salts increase water density. A gallon of saltwater weighs 8.55 pounds compared to 8.34 pounds for freshwater—a 2.5% difference that adds up quickly in larger tanks. Reef tanks also typically use heavier live rock and denser aragonite sand, further increasing the total weight.

Example: Saltwater Reef Tank Weight Calculation

Carlos is setting up a 125-gallon saltwater reef tank (72 × 18 × 21 inches) with 3 inches of aragonite sand and 80 pounds of live rock. He needs to calculate the total weight to determine if his reinforced concrete floor can support the installation.

  1. Saltwater weight: $125 \times 8.55 = 1{,}068.75$ lbs
  2. Substrate weight (3 in aragonite sand over 72 × 18 in base): $\approx 135$ lbs
  3. Live rock: $80$ lbs
  4. Glass weight (¾-inch for 125-gallon tank, ~3,200 sq in): $\approx 373$ lbs
  5. Total: approximately 1,657 lbs

Reef tanks over 100 gallons should only be placed on concrete slabs or floors specifically reinforced to handle the concentrated load. Consult a structural engineer before installing tanks over 150 gallons on upper floors.

What are the standard fish tank sizes?

Manufacturers produce tanks in standardized sizes. The table below lists the most common dimensions and their approximate filled weights for freshwater setups with 2 inches of gravel.

Size Dimensions (in) Dimensions (cm) Volume (L) Weight Full (lbs)
5 gal16 × 8 × 1041 × 20 × 2518.962
10 gal20 × 10 × 1251 × 25 × 3037.9111
20 gal (long)30 × 12 × 1276 × 30 × 3075.7225
29 gal30 × 12 × 1876 × 30 × 46109.8330
40 gal (breeder)36 × 18 × 1691 × 46 × 41151.4458
55 gal48 × 13 × 21122 × 33 × 53208.2625
75 gal48 × 18 × 21122 × 46 × 53283.9850
90 gal48 × 18 × 25122 × 46 × 64340.71,050
125 gal72 × 18 × 21183 × 46 × 53473.21,400
150 gal72 × 18 × 25183 × 46 × 64567.81,700
180 gal72 × 24 × 25183 × 61 × 64681.42,100

How many gallons per inch of fish?

The "one inch of fish per gallon" rule is a widely cited stocking guideline, but it is a rough starting point rather than a precise formula. It was developed for small tropical community fish (tetras, rasboras, guppies) in filtered, heated tanks. It does not account for fish body mass, swimming behavior, waste production, or territorial requirements.

A 6-inch oscichthys cichlid produces far more waste than six 1-inch neon tetras, despite occupying the same "inch count." A more reliable approach factors in the fish's adult body volume, swimming level (top, middle, bottom), and territorial radius. Overstocking increases ammonia and nitrite levels, stresses fish, and shortens their lifespan regardless of what the inch-per-gallon rule suggests.

Use this calculator to determine your tank's actual water volume (accounting for substrate displacement), then research the specific stocking requirements for each species you plan to keep. Reputable fishkeeping databases list minimum tank sizes per species based on adult dimensions and behavior.

How do you calculate medication dosage for your fish tank?

Medication dosages are specified per gallon or per liter of water. Using the total tank volume instead of the actual water volume (after substrate and decoration displacement) causes overdosing. A 55-gallon tank with 2 inches of gravel and decorations may hold only 48 gallons of actual water, meaning a medication dose calculated for 55 gallons delivers 14.6% more chemical than intended.

Always use the Actual Water Volume mode of this calculator when preparing medication treatments. Enter your tank dimensions, substrate depth, substrate type, and decoration weight. The calculator returns the true water volume to use for dosing. For a medication rated at 1 ml per 10 gallons, a tank with 48.72 gallons of actual water requires $48.72 \div 10 \times 1 = 4.87$ ml, not the 5.5 ml you would calculate using the nominal 55-gallon rating. The FDA requires precise dosing for approved fish medications.

What filter size do you need for your aquarium?

Filter sizing is based on turnover rate: the number of times the filter processes the entire tank volume per hour. Most freshwater community tanks require a turnover rate of 4–6 times per hour. A 55-gallon tank needs a filter rated at 220–330 gallons per hour (GPH). Planted tanks and tanks with high bioloads (many fish, heavy feeders) benefit from 6–10 times turnover, according to aquarium filtration experts.

Saltwater reef tanks typically require 10–20 times turnover due to the sensitivity of corals and invertebrates to water quality. A 75-gallon reef tank needs a flow rate of 750–1,500 GPH. Use the actual water volume from this calculator (not the nominal tank size) when calculating your required GPH, because the filter only processes water, not substrate or glass.

How much substrate do you need for your fish tank?

Substrate depth depends on the tank's purpose. A standard community tank requires 1–2 inches of gravel. A planted tank benefits from 2–3 inches of nutrient-rich substrate. A bare-bottom tank (common for cichlid and hospital tanks) uses no substrate at all.

To calculate the substrate volume, multiply the tank's bottom area by the desired depth. A 55-gallon tank (48 × 13 inches base) with 2 inches of gravel requires $48 \times 13 \times 2 = 1{,}248$ cubic inches, or approximately 0.72 cubic feet. Gravel weighs roughly 100 pounds per cubic foot, so this layer weighs about 72 pounds. Use the Aquarium Weight Calculator mode to include this weight in your total load calculation for stand and floor safety.

For Further Reading

The following authoritative sources provide additional information on aquarium volume calculations, fishkeeping best practices, and structural safety:

Note: Always verify calculations with a qualified professional before making structural modifications or installing large aquariums. The information provided here is for educational purposes and should not replace professional engineering advice.