Works on this device
Aquarium Calculator
Find how much water your aquarium holds in US gallons and litres, and what it weighs when full. Choose the shape of the tank, type its sizes, and choose your units.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose what you want to work out, for example Volume of water in a tank.
- Choose the shape: rectangle, cylinder, bow front, hexagon or flat-back hexagon. Type the sizes in inches, feet, centimetres or millimetres. You can type
4 ft,1 ft 6 inor12 1/2. - If you measured the outside of the tank, tick the box and type the glass thickness. Type how far the water stands below the top, and how much space the substrate and decor take, if you want the real water volume.
- Choose Calculate. You can change the unit of a result, see how it was worked out, copy it or download it as a CSV file.
The formulas
- Volume = floor area × depth of water. 1 US gallon is 231 cubic inches (3.785411784 litres); 1 imperial gallon is 4.54609 litres.
- Rectangle: floor area = length × width. Cylinder: π × diameter² ÷ 4. Hexagon with six equal sides: 3√3 ÷ 2 × side². The distance across the flats is √3 × side, across the corners 2 × side.
- Bow front: a rectangle plus a circular segment. With the rise s = depth at the middle − depth at the ends, the radius R = (length² ÷ 4 + s²) ÷ (2s), the angle θ = 2 × asin(length ÷ 2R) and the segment area = R² ÷ 2 × (θ − sin θ).
- Flat-back hexagon: a rectangle plus a trapezoid from the back panel to the front panel: (back + front) ÷ 2 × the extra depth. A front panel of 0 gives a pentagon.
- Weight of the water = volume × density. Fresh water near 25 °C is about 997 kg/m³, so a US gallon weighs about 8.3 lb and a litre about 1 kg.
- Substrate = floor area × mean depth. A bed that slopes evenly from the back to the front is as deep on average as it is at the middle of the floor area.
- Water change: after n changes of a share p, (1 − p)ⁿ of the old water is left, and a level such as nitrate falls to new + (now − new) × (1 − p)ⁿ.
- Heater: power = volume × your rule of watts for each gallon or litre. The shortest warm-up time = volume × density × specific heat × temperature rise ÷ power.
- Filter: flow = volume × turnovers each hour.
Worked example
A rectangular tank is 36 in long, 12 in wide and 16 in high inside. Its volume is 36 × 12 × 16 = 6,912 cubic inches. 6,912 ÷ 231 = 29.92 US gallons, or 113.27 litres. Full of fresh water at 997 kg/m³ the water weighs 112.93 kg, or 248.96 lb.
With the water 1 in below the top and 10% of the space taken by gravel and rocks, the water is 36 × 12 × 15 = 6,480 cubic inches less 10%: 5,832 cubic inches, which is 25.25 US gallons or 95.57 litres.
Two changes of 25% leave 0.75 × 0.75 = 56.25% of the old water. A nitrate level of 40 with new water at 5 falls to 5 + 35 × 0.5625 = 24.69 after two changes.
Limits you should know
- The needs of your fish come first. The figures here are arithmetic and starting points: check what your fish need with a species guide or a vet who treats fish.
- The tool works from the sizes you type. A bow front is taken as an arc of a circle; real tanks may curve in another way. Tanks with braces, overflow boxes or rounded corners hold a little less.
- Glass thickness is not worked out. The strength of glass, the braces and the safety factor of a tank are a matter for the maker or a specialist; no glass table is built in.
- The density of the water, the bulk density of a substrate, a heater rule and the turnover of a filter are your own figures. No product data and no species data is built in.
- The level after water changes counts dilution only. Fish, food, plants and filters change levels between changes, so test the water.
- The weight on the floor is a total divided by an area. It is not a check of a floor or a stand.
Related tasks on other pages
- How many fish a tank holds by a stocking rule: Aquarium Stocking Worksheet.
- Salinity, specific gravity and the salt to add for salt water: Salinity Calculator.
- Garden ponds, liners and pond pumps: Pond Calculator.
- Water tanks of other kinds, such as rain tanks and tanks lying down: Water Tank Size Calculator.
- Pump head and pipe losses: Pump Head Calculator.