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:
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
| Contents | Volume displaced | Notes |
|---|---|---|
| Substrate — 1" depth | ~2.7 gal | 2.7 gal ≈ 48 × 13 × 1 ÷ 231 |
| Substrate — 2" depth | ~5.4 gal | Common planted-tank depth |
| Substrate — 3" depth | ~8.1 gal | Deep-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
| Rated | Outer L × W × H (in) | Approx. glass | Actual water (typical) |
|---|---|---|---|
| 10 gal | 20 × 10 × 12 | 3 mm | ~8–9 gal |
| 20 gal high | 24 × 12 × 16 | 1/4" | ~17–18 gal |
| 20 gal long | 30 × 12 × 12 | 1/4" | ~18–19 gal |
| 29 gal | 30 × 12 × 18 | 1/4" | ~25–27 gal |
| 40 breeder | 36 × 18 × 16 | 3/8" | ~35–37 gal |
| 55 gal | 48 × 13 × 21 | 3/8" | ~48–50 gal |
| 75 gal | 48 × 18 × 21 | 3/8"–1/2" | ~68–71 gal |
| 125 gal | 72 × 18 × 22 | 1/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
| 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
- Aquarium volume calculator — with substrate deduction
- Tank weight calculator — floor-loading
- Substrate calculator — depth and bag count
- Gravel calculator — substrate weight
- Gallon to liter — unit conversion
- Liter to gallon — reverse conversion
- Filter size calculator — turnover match
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