Aquarium Gallon and Fish Tank Volume Calculator, in Gallons and Litres
Use the aquarium gallon calculator below, or calculate the water volume of a fish tank by hand: multiply length × width × height in inches and divide by 231. A 30 × 12 × 12 inch tank is 18.7 gallons (70.8 litres). In centimetres, length × width × height ÷ 1,000 gives litres. Pick your tank's shape below for the exact figure.
Volume
28.05 gal
Liters
106.2 L
This is the full water volume; actual capacity is a bit lower once you add substrate, rocks and the fill line.
How the aquarium gallon calculator works
Every shape comes down to the same two steps: work out the inside volume in cubic inches, then divide by 231, the number of cubic inches in a US gallon. For a rectangular tank of 30 × 12 × 12 inches that is 4,320 ÷ 231 = 18.7 gallons, or 70.8 liters. In centimetres the step is even simpler: length × width × height ÷ 1,000 gives liters, so a 60 × 30 × 36 cm tank holds 64.8 liters, about 17.1 US gallons.
Your tank's true volume drives everything downstream: how many fish it can safely hold, what size filter and heater you need, how much conditioner or medication to dose, and how much the whole thing weighs. The number on the box is a rounded sales figure, so measure the inside of the glass, not the outside of the trim.
Aquarium volume formulas by shape
| Shape | US gallons |
|---|---|
| Rectangular | length × width × height ÷ 231 |
| Cube | edge³ ÷ 231 |
| Cylinder | π × (diameter ÷ 2)² × height ÷ 231 |
| Bowfront | length × width × height × 1.06 ÷ 231 |
| Hexagonal | (3√3 ÷ 2) × edge² × height ÷ 231 |
All dimensions in inches, measured inside the glass. For liters, multiply gallons by 3.785.
Standard aquarium sizes: real gallons, liters and weight
The calculated volume of each standard glass tank from its published inside dimensions, next to the nominal size on the label. Most come out within a gallon or two; the 55 gallon actually holds 56.7. Water weight is at 8.34 lb per gallon; the full weight adds the empty glass and a 2 inch gravel bed.
| Tank | Inside size (in) | Calculated | Liters | Water | Full |
|---|---|---|---|---|---|
| 5 gallon | 16 × 8 × 10.5 | 5.8 gal | 22 L | 48 lb | 64 lb |
| 10 gallon | 20 × 10 × 12 | 10.4 gal | 39.4 L | 87 lb | 117 lb |
| 20 gallon (20 high) | 24 × 12 × 16 | 20 gal | 75.7 L | 167 lb | 225 lb |
| 20 gallon (20 long) | 30 × 12 × 12 | 18.7 gal | 70.8 L | 156 lb | 234 lb |
| 29 gallon | 30 × 12 × 18 | 28.1 gal | 106.4 L | 234 lb | 324 lb |
| 40 gallon (40 breeder) | 36 × 18 × 16 | 44.9 gal | 170 L | 374 lb | 467 lb |
| 40 gallon (40 long) | 48 × 13 × 16 | 43.2 gal | 163.5 L | 360 lb | 461 lb |
| 55 gallon | 48 × 13 × 21 | 56.7 gal | 214.6 L | 473 lb | 609 lb |
| 75 gallon | 48 × 18 × 21 | 78.6 gal | 297.5 L | 656 lb | 824 lb |
| 90 gallon | 48 × 18 × 24 | 89.8 gal | 339.9 L | 749 lb | 986 lb |
| 125 gallon | 72 × 18 × 21 | 117.8 gal | 445.9 L | 982 lb | 1370 lb |
Calculated gallons versus water in the tank
The calculator gives the full interior volume to the top of the glass. The water you actually have is less: most tanks are filled to an inch or so below the rim, and a 2 inch substrate bed plus rock and wood displace more. On a 20 gallon (20 high) that typically means 10 to 15 percent less water than the calculated 20 gallons. Use the calculated figure for stocking and equipment sizing, which is how those rules are written, and the lower real-water figure when you dose medication or conditioner by volume.
For equipment, the common rules of thumb are a filter rated to turn the tank over 4 to 6 times an hour and a heater of about 3 to 5 watts per gallon. For fish, gallons are only the start: the stocking calculator weighs each species by adult size and waste, which is where the old inch-per-gallon rule goes wrong.
Measuring outside the glass: the correction
Most people measure a tank from the outside, which counts the glass as water. Subtract two glass thicknesses from the length and the width and one from the height (the top is open). On a 30 × 12 × 12 inch tank with 0.25 inch (6 mm) glass, the outside measurements give 18.7 gallons and the inside measurements 29.5 × 11.5 × 11.75 give 17.3 gallons, about 7% less. Bigger tanks use thicker glass (3/8 to 1/2 inch is common from 75 gallons up), so the correction grows with the tank, but as a share of the volume it stays in the same few percent. Rimless tanks have no trim to confuse things; framed tanks with a plastic rim should be measured from the glass, not the frame.
Aquarium water volume: US gallons, UK gallons and litres
Tank sizes in the US are sold in US gallons (231 cubic inches, 3.785 litres). A UK or imperial gallon is larger, 4.546 litres, so a tank described as 20 gallons in a British forum post holds about 20% more water than a US 20 gallon. European tanks are sold in litres. The water weight column uses fresh water at 8.34 lb per US gallon.
| US gallons | Litres | UK gallons | Water weight |
|---|---|---|---|
| 5 gal | 18.9 L | 4.2 | 42 lb |
| 10 gal | 37.9 L | 8.3 | 83 lb |
| 15 gal | 56.8 L | 12.5 | 125 lb |
| 20 gal | 75.7 L | 16.7 | 167 lb |
| 29 gal | 109.8 L | 24.2 | 242 lb |
| 30 gal | 113.6 L | 25 | 250 lb |
| 40 gal | 151.4 L | 33.3 | 334 lb |
| 50 gal | 189.3 L | 41.6 | 417 lb |
| 55 gal | 208.2 L | 45.8 | 459 lb |
| 75 gal | 283.9 L | 62.5 | 626 lb |
| 90 gal | 340.7 L | 74.9 | 751 lb |
| 100 gal | 378.5 L | 83.3 | 834 lb |
| 125 gal | 473.2 L | 104.1 | 1,043 lb |
| 150 gal | 567.8 L | 124.9 | 1,251 lb |
| 200 gal | 757.1 L | 166.5 | 1,668 lb |
Standard tank sizes
Real inside dimensions, liters, filled weight and what each size comfortably stocks.
- 5 gallon tank16" × 8" × 10.5" (standard 5.5 gal)
- 10 gallon tank20" × 10" × 12" (standard)
- 20 gallon tank24" × 12" × 16" (20 high)
- 29 gallon tank30" × 12" × 18" (standard)
- 40 gallon tank36" × 18" × 16" (40 breeder)
- 55 gallon tank48" × 13" × 21" (standard)
- 75 gallon tank48" × 18" × 21" (standard)
- 90 gallon tank48" × 18" × 24" (standard)
- 125 gallon tank72" × 18" × 21" (standard)
Volume by tank shape
The formula for each shape, and the measuring mistake that inflates the number.
- Rectangular tankslength × width × height ÷ 231
- Cube tanksedge³ ÷ 231
- Cylinder tanksπ × (diameter ÷ 2)² × height ÷ 231
- Bowfront tankslength × width × height × 1.06 ÷ 231
- Hexagonal tanks(3√3 ÷ 2) × edge² × height ÷ 231
Frequently asked questions
How do you convert dimensions to gallons?
Volume in cubic inches divided by 231 gives US gallons. For a rectangular tank that's length × width × height ÷ 231; other shapes use the matching geometry formula.
Is the calculated volume the same as water volume?
It's the full interior volume. Real water volume is a bit lower once you account for substrate, rocks, decor and leaving the water line below the rim.
How many gallons is my tank in liters?
Multiply US gallons by 3.785 to get liters.
How many gallons is my fish tank?
Measure the inside length, width and height in inches, multiply them and divide by 231. A 30 × 12 × 12 inch tank is 4,320 cubic inches, or 18.7 gallons. In centimetres, multiply and divide by 1,000 for liters.
How much does the water in an aquarium weigh?
Fresh water weighs 8.34 lb per US gallon, so a 55 gallon holds about 473 lb of water. With glass and gravel the full tank is about 609 lb.
How many litres is a 100 gallon fish tank?
A 100 US gallon tank holds 378.5 litres, which is 83.3 UK (imperial) gallons. Multiply US gallons by 3.785 for litres; divide litres by 4.546 for UK gallons.
Should I measure the inside or the outside of the glass?
The inside. On a 30 × 12 × 12 inch tank with 0.25 inch glass, outside measurements give 18.7 gallons and inside measurements 17.3, about 7% less. If you can only measure the outside, subtract two glass thicknesses from length and width and one from height.
What size filter and heater does my tank need?
Most keepers size a filter to turn over 4 to 6 times the tank's volume per hour (a 20 gallon wants 80 to 120 gallons per hour) and a heater at about 3 to 5 watts per gallon, more in a cold room.
Keep going with the same pet
Got your gallons? Use the stocking calculator to see how many fish your tank can safely hold.
Your dog's age in human years, breed-size adjusted, not the ×7 myth.
Your cat's age in human years using the real feline curve, not the ×7 myth.
How much to feed: daily calories and cups by weight, activity and life stage.
Cat calories a day in cups, cans and grams, by weight, neuter status, lifestyle and goal.
Bioload-based stocking guidance, not the oversimplified 1-inch-per-gallon rule.