Rectangular Tank Volume calculator
A rectangular tank holds length × width × height ÷ 231 US gallons, with all three in inches — a 48 × 24 × 30 in tank holds about 149.6 gallons, and the volume at any depth is simply proportional. Nothing you enter leaves your browser.
Exact segment geometry — see methodology. Dished-head propane math is documented there too.
What to measure
Rectangular tanks — aquariums, sump pits, transfer tanks, IBC totes — are length × width × depth, but the unit conversions are where mistakes happen (231 cubic inches per US gallon trips everyone up at least once). Enter the three inside dimensions and read gallons, liters and cubic feet directly.
For aquariums, remember the rated size is the brim-full volume; subtract substrate and the air gap for real water volume — drop the fill slider an inch or two to model it.
How this is calculated
V = L·W·HV(h) = L·W·hEvery slice is the same rectangle, so volume is exactly linear in depth. See the full derivation, a worked example and a fill-ratio table on the rectangular tank formula page.
How to measure a rectangular tank
- Empty the tank, or record the liquid depth before you start.
- Measure the inside length at the bottom of the tank.
- Measure the inside width at the bottom of the tank.
- Measure the inside height from the floor of the tank to the top rim.
- Measure the length and width again at the top. If the values are different, the walls bulge or taper. Use the average of the two values.
- Enter the three inside dimensions in the calculator.
- Put a straight stick on the floor of the tank to measure the liquid depth. Enter this value as the fill level.
Use inside dimensions. Outside dimensions include the wall or glass thickness, so the result is too high.
Gallons per inch of depth
Each inch of depth in a rectangular tank holds the same volume. That value is length × width ÷ 231 US gallons, with both dimensions in inches. Multiply it by the depth on your stick to get the gallons.
| Footprint (L × W) | US gal per inch | Litres per inch |
|---|---|---|
| 24 × 12 in | 1.25 | 4.72 |
| 30 × 12 in | 1.56 | 5.90 |
| 36 × 18 in | 2.81 | 10.62 |
| 48 × 13 in | 2.70 | 10.23 |
| 48 × 24 in | 4.99 | 18.88 |
| 72 × 18 in | 5.61 | 21.24 |
| 96 × 48 in | 19.95 | 75.51 |
In metric units, each centimetre of depth holds length × width ÷ 1,000 litres, with both dimensions in centimetres.
| Footprint (L × W) | Litres per cm |
|---|---|
| 60 × 30 cm | 1.8 |
| 100 × 50 cm | 5.0 |
| 120 × 60 cm | 7.2 |
| 200 × 150 cm | 30.0 |
Worked example
A tank is 36 in long, 18 in wide and 16 in high inside. Its full volume is 36 × 18 × 16 ÷ 231 = 44.9 gal. Each inch holds 36 × 18 ÷ 231 = 2.81 gal. At a depth of 12 in, the tank holds 2.81 × 12 = 33.7 gal (127 L).
Common errors
- Outside dimensions. Glass, steel or plastic walls make the outside larger than the inside. Measure inside.
- Wrong conversion factor. One US gallon is exactly 231 cubic inches. One imperial gallon is about 277.4 cubic inches. Do not mix them.
- Rounded corners and sloped floors. IBC tote bottles and some sumps are not true boxes. The calculator reads a little high for these tanks near the bottom.
- Substrate and air gap. In an aquarium, the water line is below the rim. Use the real water depth, not the tank height.
FAQ
TVC-103/FAQHow many gallons is a 48×24×30 inch tank?
About 149.6 gallons brim-full — enter the dimensions above to see it live, and lower the fill slider for the working volume.
Is an IBC tote really rectangular?
Close — the bottle has rounded corners, so real capacity is slightly below the rectangular model. Our IBC chart notes the difference.
How many gallons per inch does a rectangular tank hold?
Multiply the inside length by the inside width in inches, then divide by 231. A 48 × 24 in footprint holds 4.99 US gallons for each inch of depth.