How many gallons are in a cylinder tank?
To find the gallons in a cylinder tank, multiply π × radius² × height to get cubic feet, then multiply by 7.4805. A tank 4 feet across and 5 feet tall holds 62.83 cubic feet, which is 470 US gallons. For a tank lying on its side, use its length in place of the height.
- Radius: 4 ÷ 2 = 2 ft
- Floor area: π × 2² = 12.57 sq ft
- Volume: π × 2² × 5 = 62.83 cubic feet
- Gallons: 62.83 × 1,728 ÷ 231 = 470 US gallons
- Liters: 470 × 3.785411784 = 1,779 liters
A round barrel, drum or any other cylinder-shaped container works the same way. If the liquid in this tank is 2 feet deep, it holds 188 gallons, which is 40 percent of the total.
How to find the volume of a tank
Every tank on this page is a prism or a cylinder, so the volume is the area of the end face times the length of the tank. Measure the inside of the tank, because the wall thickness is not part of the space the liquid fills. The calculator first finds the volume in cubic feet and then converts it to gallons.
Vertical cylinder: volume = π × (diameter ÷ 2)² × height
Horizontal cylinder: volume = π × (diameter ÷ 2)² × length
Rectangular tank: volume = length × width × height
US gallons = cubic feet × 1,728 ÷ 231
The conversion comes from the definition of the unit. The National Institute of Standards and Technology (NIST) lists one US liquid gallon as exactly 231 cubic inches, and a cubic foot holds 1,728 cubic inches, so one cubic foot is 7.4805 gallons.
Partly filled horizontal tanks
A horizontal tank is the one case where depth and volume do not move together in a straight line. Near the bottom and the top the curved wall makes each inch of depth hold less liquid than an inch in the middle. The liquid fills a slice of the circle called a circular segment, and its area follows from the radius r and the depth h:
Segment area = r² × arccos((r − h) ÷ r) − (r − h) × √(2rh − h²)
Liquid volume = segment area × tank length
Take a horizontal tank 4 feet across and 8 feet long, which holds 752 gallons when full. At a depth of 2 feet, exactly half the diameter, it holds 376 gallons and is 50 percent full. At 1 foot deep it holds 147 gallons, which is 19.6 percent, not 25 percent. At 3 feet deep it holds 605 gallons, or 80.4 percent.
Common tank sizes and rectangular tanks
For a standing cylinder you can also work from a table. The capacities below are for the inside size, and each foot of height in a 4-foot-wide tank adds 94 gallons.
| Inside diameter × height | Cubic feet | US gallons | Liters |
|---|---|---|---|
| 2 ft × 4 ft | 12.57 | 94 | 356 |
| 3 ft × 4 ft | 28.27 | 211.5 | 801 |
| 4 ft × 5 ft | 62.83 | 470 | 1,779 |
| 6 ft × 8 ft | 226.19 | 1,692.1 | 6,405 |
A rectangular tank 8 feet long, 3 feet wide and 4 feet high holds 718.1 gallons. With the liquid 1 foot deep it holds 179.5 gallons, or 25 percent of the capacity, leaving room for 538.6 more gallons.
For a round pool or a hot tub with a flat floor the pool volume calculator works the same way, and an aquarium has its own aquarium volume calculator. To convert between units, use the cubic feet calculator, and for the weight of a full tank see the water weight calculator.
What the capacity figure leaves out
The result is the volume of a perfect cylinder or box. Real tanks often have rounded or dished ends, a sloping bottom, a dome on top, fittings, a ladder or a sump, and each of these changes the true capacity. For a purchased tank, the rated capacity on the label or data sheet is the number to trust, and the figure here is a check on it.
Tank Volume Calculator FAQ
How do you find the gallons in a horizontal cylinder tank?
Use the length of the tank where a vertical tank uses its height: π × radius² × length × 7.4805. A tank 4 feet across and 8 feet long holds 100.53 cubic feet, or 752 gallons, when full. For a partly filled tank, enter the liquid depth.
How many gallons are in one cubic foot?
There are 7.4805 US gallons in a cubic foot, because a gallon is exactly 231 cubic inches and a cubic foot is 1,728 cubic inches. Going the other way, one gallon is about 0.1337 cubic foot.
How do I measure how full a horizontal tank is?
Measure the depth of the liquid from the lowest point inside the tank and enter it as the liquid depth. A horizontal tank at half of its diameter is exactly half full, but at a quarter of its diameter it is only 19.6 percent full, so a depth gauge cannot be read as a straight percentage.
Does the calculator use US gallons or imperial gallons?
US gallons. An imperial gallon, used in the UK, is a larger unit, so a tank sized in imperial gallons holds a different number of US gallons. Use the liters figure if you are comparing with a metric rating.
How do I find the volume of a rectangular container in gallons?
Multiply the inside length, width and height in feet to get cubic feet, then multiply by 7.4805. A container 8 feet long, 3 feet wide and 4 feet high holds 96 cubic feet, or 718.1 gallons.