40 gal standard tank
∛(164,583 ÷ 2.5) = 40.4 cm
32 × 16 × 20 in (81 × 40 × 50 cm)
How Size of Aquarium Calculator Works?
Size of aquarium calculator works in 4 steps: it converts your target volume to liters, adds 8% for the air gap and substrate, applies the length : width : height ratio of the chosen tank style, and scales the box until the box holds that volume. The tank is drawn to scale next to a 1 m (3 ft) stick.
Enter the target volume
US gallons or liters of water you want.
40 US gal
151.4 L
Add 8% for air and substrate
Divide by 0.92 to get the tank volume.
151.4 ÷ 0.92
164.6 L of tank
Pick a style
Standard uses length : width : height = 2 : 1 : 1.25.
2 : 1 : 1.25
standard tank
Read the size
Rounded to 0.5 in or 1 cm.
32 × 16 × 20 in
81 × 40 × 50 cm
There are 4 tank styles in the size calculator:
Size of Aquarium Calculator Formula
The Size of aquarium formula is k = ∛(V ÷ (a × b × c)), and the tank size is a·k × b·k × c·k. V is the tank volume in cm³ and a : b : c is the style ratio.
k = ∛( V ÷ (a × b × c) )
40 gal standard tank
∛(164,583 ÷ 2.5) = 40.4 cm
32 × 16 × 20 in (81 × 40 × 50 cm)
50 gal standard tank
∛(205,729 ÷ 2.5) = 43.5 cm
34 × 17 × 21.5 in (87 × 43 × 54 cm)
To get the water volume from a tank size, reverse the formula: L × W × H × 0.92.
Your tank, worked through step by step:
Size of Aquarium Calculator Chart
The Size of aquarium chart lists the standard-style tank size for 8 target volumes, in inches and centimeters, with the footprint area. Each size leaves 8% for the air gap and substrate.
| Water volume | Tank size (in) | Tank size (cm) | Footprint | Relative size |
|---|---|---|---|---|
| 10 gal (38 L) | 20 × 10 × 12.5 in | 51 × 25 × 32 cm | 1.4 ft² (0.13 m²) | |
| 20 gal (76 L) | 25 × 12.5 × 16 in | 64 × 32 × 40 cm | 2.2 ft² (0.20 m²) | |
| 30 gal (114 L) | 29 × 14.5 × 18 in | 73 × 37 × 46 cm | 2.9 ft² (0.27 m²) | |
| 40 gal (151 L) | 32 × 16 × 20 in | 81 × 40 × 50 cm | 3.6 ft² (0.32 m²) | |
| 55 gal (208 L) | 35.5 × 17.5 × 22 in | 90 × 45 × 56 cm | 4.3 ft² (0.41 m²) | |
| 75 gal (284 L) | 39 × 19.5 × 24.5 in | 100 × 50 × 62 cm | 5.3 ft² (0.50 m²) | |
| 100 gal (379 L) | 43 × 21.5 × 27 in | 110 × 55 × 69 cm | 6.4 ft² (0.60 m²) | |
| 125 gal (473 L) | 46.5 × 23 × 29 in | 118 × 59 × 74 cm | 7.4 ft² (0.70 m²) |
Standard tanks sold in stores use fixed sizes. Pick the nearest store size above the calculated size.
Size of Aquarium Calculator FAQ
You need an aquarium of about 34 × 17 × 21.5 in (87 × 43 × 54 cm) for 50 US gallons (189 L) of water. That size leaves 8% of the tank for the air gap and substrate.
A long style holds the same water at 50 × 16.5 × 15 in, and a tall style at 26.5 × 16.5 × 28.5 in.
A 20 gallon tank comes in 2 standard sizes: the 20 high at 24 × 12 × 16 in (61 × 30 × 41 cm) and the 20 long at 30 × 12 × 12 in (76 × 30 × 30 cm). The 20 high holds 19.9 gal (75.5 L) full and the 20 long holds 18.7 gal (70.8 L) full.
Yes, a long tank is better than a tall tank for most fish: a long tank gives more swimming length and more water surface at the same volume. A 40 gallon long tank (46.5 × 15.5 × 14 in) has 721 in² of surface, and a 40 gallon tall tank (24.5 × 15.5 × 26.5 in) has 380 in².
Fish stocking density depends on surface area and adult fish size. The Royal Society for the Prevention of Cruelty to Animals (RSPCA) and the American Society for the Prevention of Cruelty to Animals (ASPCA) advise researching each species before buying fish.
To convert gallons to tank dimensions, multiply gallons by 231 to get cubic inches, then divide by the length × width you want to find the water height.
40 gal × 231 = 9,240 in³. On a 36 × 18 in footprint: 9,240 ÷ 648 = 14.3 in of water, so a 16 in tall tank fits.