Cylinder Volume in Gallons
Liquid fill preview
Diagram is a visual guide, not to scale. It fills as your numbers change.
US gallons and Imperial gallons are not the same
A US gallon is 3.785 liters; an Imperial gallon is 4.546 liters, about 20 percent bigger. A tank owner on a forum put it well: the same tank is 200 gallons or 240 gallons depending on which side of the Atlantic you stand.
This page always shows both, so check which one your tank, pump or dosing instructions mean. The step by step measuring method is on the tank gallons guide.
The 231 shortcut for inches
Working in inches? Cubic inches divided by 231 gives US gallons directly. A cylinder 24 inches across and 48 inches tall is π x 12² x 48 = 21,714 cubic inches, which is 94.0 US gallons.
How to use the gallons calculator
- Enter the cylinder diameter and its height or length.
- Pick the unit those measurements are in.
- Press Calculate to read the volume in US gallons and Imperial gallons.
This is the general cylinder calculator with the answer led by gallons, because gallons are what tanks, drums and barrels are bought and sold in across the US.
It takes the diameter directly, so there is no halving to do, and it shows Imperial gallons alongside, because the two are different sizes and mixing them up is a 20 percent error.
The formula, with every symbol explained
Gallons = π (d / 2)² h / 231
- d
- diameter of the cylinder, in inches
- h
- height or length, in inches
- 231
- cubic inches in one US gallon
- π
- pi, about 3.14159
The 231 only works when the measurements going in are inches. For Imperial gallons, divide the cubic inches by 277.42 instead. In feet, the shortcut is different: cubic feet x 7.48052 gives US gallons.
Worked example: a drum 24 inches across and 24 inches tall
A cylindrical drum measures 24 inches in diameter and 24 inches tall, inside measurements. How many gallons does it hold?
- Radius: 24 / 2 = 12 inches.
- Volume: 3.14159 x 12² x 24 = 10,857.344 cubic inches.
- US gallons: 10,857.344 / 231 = 47.001 gallons.
- Imperial gallons: 10,857.344 / 277.42 = 39.137 gallons.
Answer: about 47 US gallons. A drum this size sold as a 55 gallon drum would be taller or wider than the measurements here; the label counts the brim and the bulge.
Units and conversions
Measurements can be inches, feet, centimeters, meters or millimeters; the calculator converts to cubic inches before dividing by 231. One US gallon is 3.785 liters, and one Imperial gallon is 4.546 liters. If a specification from the UK or Canada quotes gallons, check which kind before you order; the tank gallons guide walks through the difference.
Common mistakes
- Dividing by the wrong gallon. 231 is US only. Imperial work divides by 277.42.
- Outside measurements on thick walled drums. Plastic drums can have walls and rims that steal a gallon or more of real capacity.
- Trusting the size in the product name. Nominal drum and tank sizes are marketing round numbers. Measured volume is the truth.
Frequently asked questions
How many gallons are in a cylinder?
It depends on the size. Work out the volume, then divide cubic inches by 231 for US gallons (or by 277.4 for Imperial gallons). This calculator does it from diameter and height.
How do I calculate cylinder volume in gallons?
Halve the diameter, square it, multiply by pi and by the height to get cubic inches, then divide by 231.
How many gallons does a 55 gallon drum really hold?
A standard drum is about 22.5 inches diameter by 33.5 inches tall inside, which works out very close to 55 US gallons brim full; usable fill is a little less.
Why does my tank hold less than the seller said?
Seller figures often use outside measurements and fill to the brim. Inside measurements and a real water line give the true, smaller number.
How many gallons is a cylinder 12 inches wide and 12 inches tall?
Radius 6 inches, height 12 inches: volume = 3.14159 x 36 x 12 = 1,357.168 cubic inches, which is 5.875 US gallons.
How do I convert cubic feet of cylinder volume to gallons?
Multiply cubic feet by 7.48052 for US gallons. One cubic foot is 7.48 US gallons, so a 4 cubic foot cylinder holds about 29.9 gallons.