Convert volume
Results update as you type.
Liters and gallons both measure volume, but they come from different measurement systems, and "gallon" itself isn't even a single fixed value, since the US and UK define it differently. This calculator converts in both directions, liters to gallons and gallons to liters, with a US/imperial toggle so you're never guessing which gallon a recipe, tank spec, or fuel figure actually means.
For the number up front: 1 US liquid gallon equals 3.78541 liters, while 1 imperial (UK) gallon equals 4.54609 liters, about 20% larger. The rest of this page covers the calculator itself, worked examples for the situations this comes up in most, and a full reference chart. Need a different unit entirely, such as cups, milliliters, or ounces? The full Volume Converter covers all of them.
Results update as you type.
Enter a liter or gallon value and choose whether the gallon is US customary or imperial.
The calculator updates immediately, while the steps below explain the controls before the formulas.
To convert liters to gallons, divide by 3.78541 for US gallons or by 4.54609 for imperial gallons. To go the other direction, multiply gallons by the same factor. The calculator above handles both directions from a single input: enter a value, pick your starting unit, and use the swap control to flip direction without re-typing anything. If you're converting fluid ounces or milliliters instead, the mL to oz Converter covers both directions.
The US gallon was standardized from an old English wine gallon measure, while the imperial gallon was defined later, in 1824, based on the volume of 10 pounds of water, a completely different reference point. That's why the imperial gallon ended up roughly 20% larger than the US gallon, and why a fuel economy figure, a recipe, or a tank capacity quoted in "gallons" can mean two genuinely different volumes depending on which country it's from.
Liter (L): the base metric unit of volume used throughout this page, equal to 1,000 milliliters.
Gallon: a unit of volume with two different standardized values: the US liquid gallon (3.785411784 L) and the imperial (UK) gallon (4.54609 L). The US figure matches the value published in NIST Special Publication 330, the official U.S. reference for metric and customary unit conversions; the imperial figure is defined under the UK's Weights and Measures Act.
The main source of error is using the US gallon factor for an imperial gallon, or the reverse.
Careful unit selection and final-step rounding keep larger volume conversions consistent.
Because 3.78541 and 4.54609 aren't round numbers, converting liters to gallons rarely lands on a clean figure. This tool shows enough decimal precision to stay accurate, then rounds sensibly for display. Two or three decimal places is plenty for everyday use like recipe scaling or fuel-economy conversions; for tank sizing or anything where a few percent matters, use the calculator's displayed result rather than a rounded reference value.
The most common mistake is assuming 1 gallon equals 4 liters. It's a rough rule of thumb. The real US figure is 3.78541 liters, and the imperial figure is 4.54609 liters, neither of which rounds cleanly to 4.
The second mistake is applying the US gallon factor to a UK-sourced figure, or the reverse. Fuel economy, tank capacity, and appliance specs from the UK or other imperial-using countries mean the larger imperial gallon unless stated otherwise. Using the US factor instead understates the actual volume by about 20%.
The third mistake is treating a liter and a US quart as interchangeable because they feel like a similar everyday size. A liter and a quart (0.946 L) are close, but the gap adds up once you're working with several units rather than one.
This conversion shows up most in fuel economy, container sizing, and imported product specs. A European or UK fuel-efficiency figure is often given in liters per 100 km or imperial mpg. Comparing it against a US mpg rating requires converting through gallons correctly, and getting the wrong gallon makes the comparison meaningless.
Tank and container sizing is the second common case. Water tanks, fuel tanks, and storage containers are sometimes labeled in liters and sometimes in gallons, depending on where they were manufactured. The two labels don't automatically agree on which gallon is meant.
Worked examples cover liter and gallon quantities used for fuel, containers, aquariums, and storage.
Each example names the gallon system so you can interpret the rounded result correctly.
The code examples use separate constants for US and imperial gallons.
Preserve that distinction when adding the formulas to a script, spreadsheet, or data workflow.
This JavaScript example applies the selected gallon factor directly to the liter value.
const LITERS_PER_GALLON_US = 3.785411784;
const LITERS_PER_GALLON_UK = 4.54609;
function litersToGallons(liters, system = 'us') {
const factor = system === 'uk' ? LITERS_PER_GALLON_UK : LITERS_PER_GALLON_US;
return liters / factor;
}
function gallonsToLiters(gallons, system = 'us') {
const factor = system === 'uk' ? LITERS_PER_GALLON_UK : LITERS_PER_GALLON_US;
return gallons * factor;
}
// 50 liters to US gallons
litersToGallons(50); // ≈ 13.209Excel/Google Sheets equivalent for US gallons: =A1/3.785411784 (liters to gallons) or =A1*3.785411784 (gallons to liters).
This calculator runs entirely client-side. The value you enter is processed locally in your browser and never sent to a server, logged, or stored. Basic input validation helps prevent non-numeric or negative values from producing a meaningless result, which is a usability safeguard rather than a security measure, since there's no server-side component handling this data at all.
Conversion values stay in the page and are not submitted to a calculation service.
Liters-to-gallons errors usually trace back to the selected gallon system or a reversed factor.
The table shows how to recognize each issue before using the result.
Input condition | Tool behavior |
|---|---|
| Empty field | No result shown |
| Non-numeric text | Inline validation message |
| Negative number | Inline validation message |
| No US/UK selection made | Defaults to US gallons |
| Direction not specified (liters→gallons vs. gallons→liters) | Determined by the selected starting unit; swap control flips both unit and direction together |
Use the live table to compare common liter quantities in both US and imperial gallons.
For every other volume unit, see the full Volume Converter.
Liters (L) | US liquid gallons | Imperial (UK) gallons |
|---|---|---|
| 1 L | 0.264 gal (US) | 0.22 gal (UK) |
| 5 L | 1.321 gal (US) | 1.1 gal (UK) |
| 10 L | 2.642 gal (US) | 2.2 gal (UK) |
| 20 L | 5.283 gal (US) | 4.399 gal (UK) |
| 50 L | 13.209 gal (US) | 10.998 gal (UK) |
| 100 L | 26.417 gal (US) | 21.997 gal (UK) |
| 200 L | 52.834 gal (US) | 43.994 gal (UK) |
| 500 L | 132.086 gal (US) | 109.985 gal (UK) |
Frequently Asked Questions