What Is the Aquarium Volume Calculator?
This tool estimates the water capacity of a rectangular aquarium or fish tank. Enter the interior length, width, and height in inches and it returns the volume in US gallons and liters. Knowing your tank's true volume is essential for stocking fish correctly, dosing medications and water conditioners, and sizing filters and heaters.
How to Use It
Measure the inside dimensions of your tank with a tape measure. Use the water-fill height (not the full glass height) if you want the actual water volume rather than the maximum capacity. Enter the three values and read off the result. All inputs are in inches.
The Formula Explained
The volume of a rectangular box is simply length \(\times\) width \(\times\) height. With inches, this gives cubic inches. One US gallon equals exactly 231 cubic inches, so dividing the cubic inches by 231 gives gallons. To get liters, each cubic inch is converted to 16.387064 cubic centimeters, and 1000 cubic centimeters equal one liter.
$$\text{Gallons} = \frac{\text{Length (in)} \times \text{Width (in)} \times \text{Height (in)}}{231}$$
Worked Example
A standard 20-gallon "long" tank measures roughly 30 \(\times\) 12 \(\times\) 13 inches. That is
$$30 \times 12 \times 13 = 4{,}680 \text{ cubic inches}$$Dividing by 231 gives about 20.26 gallons — close to its nameplate rating. In liters,
$$4{,}680 \times 16.387064 \div 1000 \approx 76.69 \text{ liters}$$
Standard Aquarium Sizes and Their Volumes
The table lists common rectangular tank sizes sold in the US, with typical outside dimensions in inches. Volume is computed as length × width × height ÷ 231 (US gallons), then converted to liters at 3.785 L per gallon. Exact dimensions vary by manufacturer, so treat these as typical values.
| Nominal size | Typical L × W × H (in) | Computed US gallons | Computed liters |
|---|---|---|---|
| 5 gal | 16 × 8 × 10 | 5.54 | 21.0 |
| 10 gal | 20 × 10 × 12 | 10.39 | 39.3 |
| 20 gal high | 24 × 12 × 16 | 19.95 | 75.5 |
| 20 gal long | 30 × 12 × 12 | 18.70 | 70.8 |
| 29 gal | 30 × 12 × 18 | 28.05 | 106.2 |
| 40 gal breeder | 36 × 18 × 16 | 44.88 | 169.9 |
| 55 gal | 48 × 13 × 21 | 56.73 | 214.7 |
| 75 gal | 48 × 18 × 21 | 78.55 | 297.3 |
| 90 gal | 48 × 18 × 25 | 93.51 | 354.0 |
| 125 gal | 72 × 18 × 22 | 123.43 | 467.2 |
Why nominal and computed values differ: the nominal rating is a marketing label and is often rounded. The computed numbers above use outside dimensions, which include the glass thickness, so they overstate the real interior volume. The actual water volume is lower still because of the waterline gap below the rim, substrate, and decor.
Constants and Conversion Factors Used
| Quantity | Value |
|---|---|
| 1 US gallon | 231 cubic inches = 3.785411784 liters |
| 1 cubic inch | 16.387064 cm³ |
| 1 liter | 1000 cm³ |
| 1 UK imperial gallon | 4.54609 liters (about 277.42 cubic inches) |
| Fresh water weight | about 8.34 lb per US gallon (about 1 kg per liter) |
This calculator uses the US liquid gallon (231 in³). If a tank or product label uses UK imperial gallons, the numbers will be about 20% larger per gallon.
The formula is:
$$\text{Gallons} = \frac{ \text{Length} \times \text{Width} \times \text{Height} }{231}, \qquad \text{Liters} = \text{Gallons} \times 3.785411784$$
Practical Tips for Using Your Volume Result
- Estimate net water volume. Subtract about 10–15% from the computed volume to allow for substrate, rocks, decor, and the gap between the waterline and the rim. For a 56.73-gallon result, the net volume is roughly 48–51 gallons (85–90% of the total).
- Dose on net volume. Base medications, water conditioners, and fertilizers on the estimated actual water volume, and follow the product label. Overdosing on the gross volume is a common mistake.
- Size filter flow sensibly. A common rule of thumb is a filter turning over about 4–6 times the tank volume per hour. For roughly 50 gallons of water, that is about 200–300 gallons per hour. Heavily stocked tanks, or species that prefer calm water, may need different flow.
- Plan for weight. Water weighs about 8.34 lb per US gallon (about 1 kg per liter). Roughly 50 gallons of water is about 417 lb. The glass, substrate, rock, and stand add to that. Check that the floor and stand can support the full load, and ideally place large tanks over or near load-bearing walls.
- Measure the interior at the water level. Use inside length, width, and the actual water depth rather than the outside dimensions. This removes the glass-thickness error and gives a closer match to the real volume.
This is general information, not professional advice. Follow the manufacturer's guidance for your tank, stand, equipment, and any treatments.
FAQ
Why is my actual volume less than the advertised size? Substrate, rocks, decorations, and the gap above the waterline all reduce usable water volume by 10–15% or more.
Are these US or imperial gallons? Results are in US gallons (231 cubic inches). A UK imperial gallon is about 277 cubic inches and would yield a smaller number.
Can I use it for non-rectangular tanks? No — this assumes a rectangular shape. Bow-front, cylinder, or hexagonal tanks need a different formula.