Answer:
1 US gallon = 3.785411784 liters.
1 UK (Imperial) gallon = 4.54609188 liters.
1 liter = 0.26417205 US gallons
1 liter = 0.21996919 UK (Imperial) gallons
Conversion to other units:
1 gallon [US, liquid] = 4 US quarts exactly
0.133681 ft3 and
128.000 fluid ounces and
0.003785 m3 and
3785.411 cm3 and
3785.411 ml
Note that a liter is constant across the world, so a US liter = a UK, British, English, Canadian, Indian, Chinese, etc... liter.