How to Convert Liters to Gallons
Converting liters to gallons is straightforward once you know which type of gallon you're working with. The US gallon and the Imperial (UK) gallon are different sizes, so the conversion factor changes depending on your context.
For most everyday purposes in the United States, you'll be using US liquid gallons. Here's the basic idea: one US gallon is equal to about 3.785 liters, so to go from liters to gallons, you divide the number of liters by 3.785. Going the other direction, you'd multiply.
If you're working with Imperial gallons (common in the UK and Canada), the math changes slightly since one Imperial gallon equals roughly 4.546 liters. The conversion direction stays the same: divide liters by 4.546 to get Imperial gallons.