Aquarium Dimensions to Gallons Calculator: Calculate the Volume of Your Tank

Use this tool to calculate the volume of your aquarium in gallons based on its dimensions (length, width, and height). This is important for determining stocking levels, filtration needs, and water treatment.

List of the Best Aquarium:

# Image Product Link
1 Tetra 55 Gallon Glass Aquarium, Rectangular Fish Tank Tetra 55 Gallon Glass Aquarium, Rectangular Fish Tank View on Amazon
2 Tetra LED 55 Gallon Complete Fish Tank Kit for Freshwater Fish Tetra LED 55 Gallon Complete Fish Tank Kit for Freshwater Fish View on Amazon
3 Tetra ColorFusion 20 Gallon Complete Aquarium Kit Tetra ColorFusion 20 Gallon Complete Aquarium Kit View on Amazon
4 Aqueon Aquarium Starter Kit with Smart Clean Filtration and LED Lighting, Freshwater and Saltwater Fish, Perfect for Tetras, Guppies, Platies, 10-Gallon Aqueon Aquarium Starter Kit with Smart Clean Filtration and LED Lighting, Freshwater and Saltwater Fish, Perfect for Tetras, Guppies, Platies, 10-Gallon View on Amazon
5 LANDEN Aquarium 150P 118 Gallon Ultra Clear Glass Rimless Fish Tank LANDEN Aquarium 150P 118 Gallon Ultra Clear Glass Rimless Fish Tank View on Amazon

How to Convert Aquarium Dimensions to Gallons

The basic conversion is Gallons = (L × W × H) ÷ 231 (inches to U.S. gallons). That is the number you get from a rectangular tank's outside dimensions — a good starting estimate, but not the number you should use for stocking, dosing, or filter sizing. Three corrections move the number closer to reality: glass thickness (inner dimensions are smaller), water level (typically 1" below the rim), and displacement (substrate, rock, equipment). This guide shows each correction and provides a quick-reference for standard tank sizes.

The Base Formula (Rectangular Tanks)

Volume (cubic inches) = L × W × H
Gallons               = (L × W × H) ÷ 231

Example: 48" × 13" × 21" tank
  Volume  = 48 × 13 × 21 = 13,104 in³
  Gallons = 13,104 ÷ 231 ≈ 56.7 gal (this is the "55-gallon" standard tank)

Glass Thickness Correction

If you measure the outside of the tank, you have included the glass walls. Internal water volume uses inner dimensions:

inner_length  = outer_length  − 2 × glass_thickness
inner_width   = outer_width   − 2 × glass_thickness
inner_height  = water_depth   = outer_height − glass_thickness (bottom) − 1" (rim gap)

Example: 48" × 13" × 21" tank, 3/8" glass, 1" rim gap
  inner_length  = 48 − 0.75 = 47.25"
  inner_width   = 13 − 0.75 = 12.25"
  water_depth   = 21 − 0.375 − 1 = 19.6"
  Gallons       = 47.25 × 12.25 × 19.6 ÷ 231 ≈ 49.1 gal

→ about 13% less than the "56.7 gal" outer estimate

Typical glass thickness by tank size: 10 gal ~3mm; 20–29 gal ~1/4"; 40–75 gal ~3/8"; 90–125 gal ~1/2". Larger glass reduces volume more.

Water Level (Rim Gap)

Standard water depth is ~1 inch below the rim (accounting for brace, trim, and fish-jump prevention). Some setups use more or less. A 1" gap reduces water volume on a 48×13 footprint by:

48 × 13 × 1 ÷ 231 ≈ 2.7 gal

Small tanks lose proportionally more — a 20-long (30×12) at 1" rim gap loses ~1.6 gal (8% of volume), a 10 gal (20×10) loses ~0.9 gal (9% of volume).

Substrate and Displacement

Volume displaced by common tank contents on a 48" × 13" footprint
Contents Volume displaced Notes
Substrate — 1" depth~2.7 gal2.7 gal ≈ 48 × 13 × 1 ÷ 231
Substrate — 2" depth~5.4 galCommon planted-tank depth
Substrate — 3" depth~8.1 galDeep-bed planted setups
Rock / driftwood~5–15%Highly variable; estimate by placing hardscape in a bucket of measured water
Internal filter / equipment~2–5%HOB filters outside tank displace nothing

A 55-gal standard tank with 2" substrate, moderate hardscape, and HOB filter has roughly 40–42 gal of actual water — not 55. This is the number to use for stocking, medication dosing, and filter sizing.

Standard Tank Quick-Reference

Common aquarium sizes — outer dimensions and approximate actual water volume
Rated Outer L × W × H (in) Approx. glass Actual water (typical)
10 gal20 × 10 × 123 mm~8–9 gal
20 gal high24 × 12 × 161/4"~17–18 gal
20 gal long30 × 12 × 121/4"~18–19 gal
29 gal30 × 12 × 181/4"~25–27 gal
40 breeder36 × 18 × 163/8"~35–37 gal
55 gal48 × 13 × 213/8"~48–50 gal
75 gal48 × 18 × 213/8"–1/2"~68–71 gal
125 gal72 × 18 × 221/2"~110–115 gal

"Actual water" reflects the tank with 1" rim gap, typical glass thickness, and a light substrate — no hardscape. Every tank differs; the manufacturer's technical sheet is the authoritative figure for a specific model. The rated figure (10, 20, 29…) is a nominal "class" size, not a precise water volume.

Non-Rectangular Shapes

Volume formulas for common non-rectangular tank shapes
Shape Formula Notes
Bowfront L × W × H × 0.85 ÷ 231 0.85 is a conservative approximation — bowfront tanks hold 10–20% less than a rectangle of the same outer box. Use the manufacturer's stated volume where available.
Cylinder π × (D/2)² × H ÷ 231 Use inner diameter (outer D − 2 × glass thickness)
Hexagon (regular) (3√3/2) × S² × H ÷ 231 ≈ 2.598 × S² × H ÷ 231 S = side length. Example: S=12", H=18" → 2.598 × 144 × 18 ÷ 231 ≈ 29.2 gal. (Not "face area × height" — that understates by ~15%.)
Corner / triangular (L × W / 2) × H ÷ 231 Right-triangle footprint

For irregular or unusual shapes, use a fill-and-measure method: fill the empty tank with a known volume (e.g., a 5-gal bucket), mark the level, repeat until full. It is slower but exact. Alternatively, use the manufacturer's stated volume from the spec sheet.

Why Volume Matters

  • Fish stocking: bioload and welfare depend on actual water volume, not the rated figure. See the stocking calculator.
  • Filtration turnover: filters are rated by gallons per hour; you want 4–8× actual water volume per hour. See the filter size calculator.
  • Water treatment dosing: conditioners, medications, and fertilizers are dosed per gallon — use actual volume. See the dosage calculator.
  • Water changes: a 25% water change means 25% of actual water, not 25% of rated gallons.
  • Weight on the floor: see the tank weight calculator.

Related Tools

Frequently Asked Questions (Aquarium Dimensions to Gallons)

What if my tank has a non-standard shape?

Use the shape-specific formula in the "Non-Rectangular Shapes" table above. For heavily irregular tanks, use the fill-and-measure method or the manufacturer's stated volume. Do not simply treat a non-rectangular tank as a rectangle — you will overstate the volume.

Why is the volume in gallons important?

Stocking limits, filter capacity, medication doses, water-change amounts, and floor-loading are all tied to actual water volume. Equipment ratings (heaters, filters, medications) assume a specific volume — matching the rating to your actual volume is what makes those products perform as intended.

Do decorations and substrate reduce the volume of my aquarium?

Yes — significantly in some tanks. On a 48" × 13" footprint, 2" of substrate displaces ~5.4 gal, and 3" displaces ~8.1 gal. Hardscape adds another 5–15%. A "55-gallon" tank with substrate and rock often holds 40–45 gallons of actual water. Use the volume calculator to deduct substrate precisely.

How do I measure a bowfront aquarium?

Measure outer length, outer width at the widest point, and outer height. Use L × W × H × 0.85 ÷ 231 as a conservative estimate, or use the manufacturer's stated volume. Bowfront tanks hold 10–20% less than a rectangle of the same outer box; the 0.85 factor reflects a middle case.

How do I account for glass thickness?

Subtract twice the glass thickness from length and width, and once (plus the rim gap) from height: inner_L = outer_L − 2 × t; inner_W = outer_W − 2 × t; water_depth = outer_H − t − 1". For a 55 gal with 3/8" glass and 1" rim gap, this brings 56.7 gal down to about 49 gal.

How many gallons is a "55-gallon" tank really?

A 48" × 13" × 21" tank with 3/8" glass, a 1" rim gap, and no substrate holds about 49–50 gallons of water. With 2" substrate and moderate hardscape, the actual water volume is closer to 40–42 gallons. This is why "55-gallon" is a class name, not a precise water volume.

Does substrate reduce volume significantly?

On typical tanks, yes — 5–15% depending on depth. Shallow substrate (1") is ~2–3% of a large tank; deep planted substrate (3–4") can reach 10–15%. Match substrate depth to your planting plan and use the substrate calculator to deduct precisely.

Is this calculator a substitute for the manufacturer's spec sheet?

No. The manufacturer's technical data sheet lists the exact outer dimensions, glass thickness, and rated volume for a specific model. Use this calculator for a general estimate or to double-check a manufacturer's rating — but for stocking or dosing, rely on a measured (or spec-sheet) actual water volume. Related tools: volume calculator, tank weight calculator, gallon to liter.

Sources and references

  • Manufacturer dimension and volume specifications — Aqueon, Seapora, Red Sea, Waterbox
  • OATA — Ornamental Aquatic Trade Association husbandry guidance
  • APHA/ASTM — Standard Methods for the Examination of Water and Wastewater
  • Practical Fishkeeping — tank sizing reference tables