The imperial gallon (gal(UK)) is an imperial unit of capacity and is not a legal unit of measurement. 1 gal(UK) = 4.5461×10−3 m3, approximately 4.546 L, larger than the US gallon (3.785 L). The imperial barrel is reckoned at 36 imperial gallons, which, converted using the above factor, is approximately 163.66 L.
When a reference writes gal alone without qualification, it must not be assumed by default to be either the imperial gallon or the US gallon; first determine which system it belongs to, and then convert.