Fish Tank Size Calculator
A 20 gallon long tank holds 18.7 gallons to the brim. Check it with the tape: 30 x 12 x 12 = 4,320 cubic inches, and 4,320 / 231 = 18.7 gallons. The same tank with a 2 inch gravel bed, 20 lb of rock and water an inch below the rim keeps about 13.1 gallons of real water, and the whole setup weighs about 196 lb.
| Water to your fill line | |
| Usable water after substrate and rock | |
| Capacity to the rim | |
| Substrate displacement | |
| Rock and driftwood displacement | |
| Usable water in litres | |
| Water weight (8.34 lb per gallon) | |
| Substrate weight (about 100 lb per cubic foot) | |
| Total filled weight on the stand |
All calculations run in your browser, and nothing you type is uploaded or stored.
Measure your tank once and get the numbers that matter. This calculator turns inside dimensions into gallons and litres, subtracts gravel and rock displacement, and totals the weight your stand has to carry.
Key takeaways
- Gallons = length x width x height in inches, divided by 231; litres = length x width x height in cm, divided by 1000.
- A 20 long (30 x 12 x 12 in) holds 18.7 gal to the brim; a 20 high (24 x 12 x 16 in) holds 19.9 gal.
- Water weighs 8.34 lb per gallon at about 62 degrees F, so a loaded 55 gallon setup puts about 640 lb on the stand.
- Substrate takes space: a 2 inch bed in a 20 long is 720 cubic inches, about 3.1 gallons of water and about 42 lb of gravel.
- One pound of typical aquarium rock displaces about 0.044 gallons of water.
- The fill line matters: water 1 inch below the rim of a 20 long leaves about 8 percent less water.
On this page
How the tank size formula works
Every rectangular aquarium volume comes down to one multiplication and one division. Measure the inside of the tank in inches, multiply length by width by height, and divide the result by 231, because one US gallon fills exactly 231 cubic inches of space. In metric units the same idea holds: measure in centimetres, multiply the three numbers, and divide by 1,000, because 1,000 cubic centimetres make one litre.
So the two working formulas are:
- US gallons = length x width x height (inches) / 231
- Litres = length x width x height (cm) / 1000
The 231 constant is old law: Congress fixed the US gallon at 231 cubic inches in 1832, and the NIST Office of Weights and Measures still maintains the standards behind it today. A tank that measures 24 by 12 by 16 inches inside holds 24 x 12 x 16 = 4,608 cubic inches, and 4,608 / 231 = 19.9 gallons, which is why the box says 20 gallons even though the glass sticks out a little farther on every side.
One warning before you buy: the stamped size is the inside volume filled to the brim, not the water you will keep. A fill line an inch below the rim, a two inch gravel bed and a piece of driftwood all eat into that number, and the sections below show exactly how much.
Standard tank sizes and what the tape says
Manufacturers stamp a nominal size on the box, but the water inside depends on the inside glass measurements. The table below lists the most widely sold rectangular tanks with their usual inside dimensions, the exact volume those dimensions give, and the weight of the water alone at 8.34 pounds per gallon.
| Tank | Inside size (inches) | Cubic inches | Gallons to the brim | Litres | Water weight, full (lb) |
|---|---|---|---|---|---|
| 10 gallon | 20 x 10 x 12 | 2,400 | 10.4 | 39.3 | 86.6 |
| 20 gallon high | 24 x 12 x 16 | 4,608 | 19.9 | 75.5 | 166.4 |
| 20 gallon long | 30 x 12 x 12 | 4,320 | 18.7 | 70.8 | 156.0 |
| 29 gallon | 30 x 12 x 18 | 6,480 | 28.1 | 106.2 | 234.0 |
| 40 gallon breeder | 36 x 18 x 16 | 10,368 | 44.9 | 169.9 | 374.3 |
| 55 gallon | 48 x 13 x 21 | 13,104 | 56.7 | 214.7 | 473.1 |
| 75 gallon | 48 x 18 x 21 | 18,144 | 78.5 | 297.3 | 655.1 |
A few tanks deserve a second look. The 20 high and 20 long hold about the same water, but the long spreads it over 360 square inches of surface instead of 288, 25 percent more oxygen exchange and 6 more inches of swimming length. The 40 breeder trades height for a 648 square inch footprint, which bottom fish and planted layouts prefer. And a 55 gallon holds 56.7 gallons to the brim, 3 percent more than the name suggests, before the fill line and the gravel take their share.
Worked example: from rim volume to real water
Take a 20 gallon long and measure it: 30 inches long, 12 wide, 12 tall. The five calculations below are the whole point of the calculator, so run them once by hand to see how the pieces fit together.
- Capacity to the rim: 30 x 12 x 12 = 4,320 cubic inches, and 4,320 / 231 = 18.7 gallons.
- Water to a fill line 1 inch below the rim: 30 x 12 x 11 = 3,960 cubic inches, and 3,960 / 231 = 17.1 gallons.
- Substrate displacement: a 2 inch bed over the 360 square inch base takes 30 x 12 x 2 = 720 cubic inches, and 720 / 231 = 3.1 gallons.
- Rock displacement: 20 pounds of rock pushes out about 0.9 gallons, because 1 pound of typical aquarium rock displaces about 0.044 gallons.
- Usable water: 17.1 - 3.1 - 0.9 = 13.1 gallons. That is the number to size heaters, filters and stocking against, and it sits about a third below the label on the box.
Thirteen gallons of real water in a 20 gallon tank sounds like a big haircut, but it is normal: a fill line, a gravel bed and a couple of rocks eat a third of the stamped volume. The litres figure takes the same path in metric: 76.2 x 30.48 x 30.48 = 70,789 cubic centimetres, and 70,789 / 1000 = 70.8 litres to the brim.
Water weight and the floor under the tank
Water weighs more than most folks guess. The US Geological Survey lists the density of water at about 8.34 pounds per US gallon (see the USGS Water Science School), and that is the figure the water weight row uses. Multiply your real water volume by 8.34 and you have the weight the tank holds before gravel, glass or gear.
Worked example, 55 gallon tank: the table above puts the brim capacity at 56.7 gallons, so the water alone weighs 56.7 x 8.34 = 473.1 lb. The gravel bed takes more arithmetic: the base is 48 x 13 = 624 square inches, a 2 inch bed takes 624 x 2 = 1,248 cubic inches, and dry gravel at about 100 pounds per cubic foot comes to 1,248 x 0.058 = 72.4 lb. Add a typical empty 55 gallon glass tank at about 65 lb and 30 lb of rock, and the stand carries 473.1 + 65 + 72.4 + 30 = 640.5 lb before a hood or a light goes on.
| Part of a filled 55 gallon setup | Weight (lb) |
|---|---|
| Water to the brim (56.7 gal at 8.34 lb per gallon) | 473.1 |
| Empty glass tank (typical, check your brand) | 65 |
| Gravel bed, 2 inches deep (1,248 cubic inches) | 72.4 |
| Rocks and driftwood | 30 |
| Total on the stand | 640.5 |
Two practical notes follow from that table. First, the weight lands on the small pads where the stand meets the floor, so a loaded 75 gallon (near 900 lb in total) belongs on a ground floor or across several joists. Second, a tank on an interior wall perpendicular to the joists spreads its weight over more framing than one that runs parallel between two joists, which is the same reason a full bookcase feels different depending on where you put it.
Substrate and rock displacement
Anything solid inside the tank takes up space that water would otherwise fill. Gravel, sand, rocks, driftwood and even a large sponge filter push the water level up and cut the real capacity. Two rules of thumb cover most setups:
- Substrate: multiply the footprint (length x width) by the depth you want. A 20 long has a 360 square inch footprint, so a 2 inch bed takes 720 cubic inches, which is 3.1 gallons of space and 41.8 pounds of gravel (720 x 0.058).
- Rocks: granite and quartz run near 170 pounds per cubic foot, so 1 pound displaces about 0.044 gallons. A 20 pound piece of lace rock pushes out roughly 0.9 gallons of water.
Before you buy gravel by the bag, convert the bag weight into coverage. Dry gravel runs about 0.058 pounds per cubic inch, so the common bag sizes work out like this:
| Bag size (lb) | Floor covered at 2 inches deep (sq in) | Bags for a 20 long base (360 sq in) | Bags for a 40 breeder base (648 sq in) |
|---|---|---|---|
| 5 | 43 | 8.4 | 15.1 |
| 20 | 172 | 2.1 | 3.8 |
| 50 | 431 | 0.8 | 1.5 |
Sand is where density differences show up. Fine aragonite packs tighter than pea gravel, and the same footprint in sand can weigh 10 to 15 percent more, which matters twice over: it displaces the same water, and it adds weight to the stand. If you keep a deep bed, measure it, because the difference between a 2 inch and a 4 inch bed in a 40 breeder is 1,296 cubic inches, or 5.6 gallons of water you will never get back.
Matching the tank to your fish
Gallons are only part of the fit. Fish need surface area for oxygen exchange, footprint for swimming length and territory, and volume for stable water chemistry. Two tanks with the same label can behave differently: the 20 long gives 360 square inches of surface and 30 inches of swimming room, while the 20 high gives 288 square inches and 24 inches, and that difference decides whether a shoal of corydoras thrives or just survives.
Common sizing rules, in order of usefulness:
- One inch of adult fish per gallon is the oldest rule and the least accurate. A 10 inch oscar and ten 1 inch neon tetras both fit the rule, and only one of them fits the tank.
- The surface area rule (one inch of slim bodied fish per 12 square inches of surface) handles long, low tanks better than the gallon rule.
- Footprint matters most for bottom dwellers. A 40 breeder suits corydoras and kuhli loaches better than a 40 tall with the same gallon count.
Volume also decides how forgiving the tank is. A small desktop nano swings fast: a handful of flakes or a missed top-off can move ammonia, nitrite and temperature within hours, while the same slip in a 55 barely registers on the test kit, because the waste dissolves into far more water and the heater cycles less often. That buffering, plus room for a proper shoal, is why veteran keepers steer beginners toward a 20 long instead of a 5 gallon bowl, and why messy or territorial fish (cichlids, plecos, goldfish) want the floor space and dilution that only a bigger tank provides.
For equipment, most hobby guides suggest 3 to 5 heater watts per gallon of real water for a room that stays within about 10 degrees of the target, and a filter that turns the tank over 4 to 6 times an hour. Size both from your real water volume, not the label. If you want a second opinion on responsible ownership, the University of Florida IFAS extension publishes a clear introduction to matching fish, equipment and care.
Five measuring mistakes that skew the answer
Most wrong volume answers come from one of five measurement slips:
- Measuring outside the glass. Frames and glass thickness add up: a 55 gallon measures about 48.5 by 13.5 by 21.5 inches outside but holds its water in about 48 by 13 by 21 inside, and the outside numbers overstate the volume by about 7 percent.
- Trusting the label for the real number. A 20 long holds 18.7 gallons to the brim, not 20, and the shortfall widens once gravel goes in.
- Forgetting the fill line. Water 1 inch below the rim of a 20 long is 17.1 gallons, about 8 percent less, before anything else goes in.
- Treating a bow front as a rectangle. The bowed front adds volume, so a plain rectangle calculation understates it. Estimate the bow as an extra strip about a third as wide as the tank, or measure three vertical slices and average them.
- Ignoring substrate and rock. A planted 40 breeder with a 4 inch soil bed, two rocks and a large driftwood piece can lose 8 to 10 gallons of capacity to decoration alone.
Measure twice with a rigid tape, at the inside glass, and write the numbers down before you order a stand or a hood. If the tank is already set up, measure the water depth instead of the tank height and let the calculator handle the rest.
Using the calculator step by step
The calculator above needs six numbers, all in inches or pounds, and it fills in the rest:
- Inside length, width and height, measured at the glass, not the frame.
- Water depth. Leave it empty or at zero and the calculator assumes you fill to the rim.
- Substrate depth, measured where you want the bed, since a front to back slope averages out.
- Rock and driftwood weight in pounds, if you know it. A kitchen scale handles most pieces.
- Empty tank weight from the manufacturer sheet, if you want the total filled weight.
Tap the button and you get the numbers that matter: capacity to the rim, water at your fill line, displacement from substrate and rock, the usable water left in gallons and litres, and the total filled weight on the stand. If an input is zero or blank the calculator treats it as absent rather than guessing, so an empty rock box means no rock, and a water depth of zero means filled to the rim.
Frequently asked questions
How many gallons is a 20 gallon long tank, measured?
To the brim it holds 18.7 gallons: 30 x 12 x 12 inches gives 4,320 cubic inches, and 4,320 / 231 = 18.7. The label rounds the name up, and the fill line and gravel take more.
How much does a 55 gallon tank weigh when full?
Water to the brim alone is 473.1 lb (56.7 gallons at 8.34 lb per gallon). Add about 65 lb of glass, 72.4 lb of gravel and 30 lb of rock and the stand carries about 640 lb.
How do I convert tank gallons to litres?
Multiply US gallons by 3.785. A 20 long holds 18.7 gallons, which is 70.8 litres, and the metric formula (length x width x height in cm, divided by 1000) gives the same answer.
How much gravel do I need for a 40 breeder?
The base is 36 x 18 = 648 square inches. Each inch of depth takes 648 cubic inches, so a 2 inch bed needs 1,296 cubic inches, about 75 lb of gravel at 0.058 lb per cubic inch.
Does the label overstate the real volume?
The label matches the brim volume, but real water is less. A 55 gallon holds 56.7 gallons to the brim; fill to 1 inch below the rim, add a 2 inch bed and 30 lb of rock, and about 47 gallons of water remain, roughly 17 percent below the brim figure.
How many fish can a 10 gallon tank hold?
A 10 gallon (20 x 10 x 12 inches) holds 10.4 gallons to the brim and about 8.6 gallons of real water after a 2 inch bed. Stock 6 to 8 small tetras or a betta with a snail, and size the filter for the real number.
How much water does 1 pound of rock displace?
About 0.044 gallons, because granite and quartz run near 170 pounds per cubic foot. Twenty pounds of lace rock therefore pushes out roughly 0.9 gallons.
Is a 20 high or a 20 long better?
Both hold about the same water (19.9 vs 18.7 gallons), but the long has 360 square inches of surface against 288, a 25 percent advantage in oxygen exchange and 6 more inches of swimming length.
How much weight does a 75 gallon put on my floor?
The water alone is 78.5 gallons at 8.34 lb, or 655.1 lb. Count glass, gravel and rock and the full setup lands near 900 lb, so put it on a ground floor or a stand that spans several joists.
Do I measure inside or outside the glass?
Inside, always. A 55 gallon measures about 48.5 by 13.5 by 21.5 inches outside but holds water in about 48 by 13 by 21 inside; the outside numbers overstate the volume by about 7 percent.
What size heater does my tank need?
Plan on 3 to 5 heater watts per gallon of real water for a room within about 10 degrees of your target, so a 20 long holding about 13 gallons of real water wants a 50 to 75 watt heater.
Why does my tank hold less than the calculator says?
Because everything inside pushes water out. Soil, wood, stone, a big sponge filter and even the thermometer housing take space, and deep fine sand beds can weigh 10 to 15 percent more than gravel of the same footprint.
How accurate is the 8.34 pounds per gallon figure?
It is the standard figure at about 62 degrees Fahrenheit, and the USGS publishes it. Aquarium water runs a few degrees warmer, which lowers the density slightly, so the true weight is a fraction of a percent lower and not worth correcting for.
How deep should the substrate be?
One to two inches for most community tanks, three to four for planted tanks with root feeders, and two to four for burrowing cichlids. Deeper beds displace real water: in a 40 breeder the difference between 2 and 4 inches is 5.6 gallons.
Spotted a wrong number or a broken result?
More Pets tools
- Aquarium Glass Thickness Calculator
- Aquarium Heater Size Calculator
- Aquarium Salt Calculator
- Aquarium Tank Weight Calculator
- Aquarium Volume Calculator
- Aquarium Water Change Calculator
- Benadryl for Dogs Dosage Calculator
- Bird Age Calculator
- Cat Age Calculator
- Cat BMI Calculator
- Cat Calorie Calculator
- Cat Feeding Calculator
- Cat Food Calculator
- Cat Life Stages Calculator
- Cat Litter Calculator
- Cat Medication Safety Checker
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.