How can the liquid amount in gallons and liters of a cylinder be determined?

The volume of a cylinder is Pi * radius^2 * height. 1 Gallon = 3.7854 Liters. 1 Liter is 1000 cm^3. So get the radius and height in cm, then use the formula to get the volume in cm^3, then convert to gallons or liters.