Liters to Gallons Conversion Formula
The exact liters-to-gallons formulas for US and imperial gallons, where 3.785411784 comes from, how to convert by hand and what rounding costs you.
The Liters to Gallons Formula You Actually Need
You have a number in liters and you need gallons right now, for homework or a spreadsheet. The answer is not 3.78 or 0.22; those rounded numbers will cost you accuracy. Multiply the liters by 0.264172 for US gallons, or by 0.219969 for imperial gallons. This gives you the exact factors, the derivation, and the rounding error so you can decide what is good enough.
The two gallon systems are not interchangeable. Using the wrong factor is the single most common failure. A US gallon is 3.785411784 liters, while an imperial gallon is 4.54609 liters. The difference is about 20 percent. A 10-liter measurement turns into a completely different answer. Know which gallon your problem means. The formulas below are written for both, so you can match the unit before you touch a calculator.
The Four Formulas: Liters to Gallons and Back
US and Imperial Formulas
Here is the complete set, each derived from the legal definitions of the units. For liters to US gallons, the factor is 0.2641720524, which comes from the exact relationship 1 US gallon = 3.785411784 liters. For liters to imperial gallons, use 0.2199692483, because 1 imperial gallon = 4.54609 liters. The reverse directions use the same factors flipped: US gallons to liters multiplies by 3.785411784, and imperial gallons to liters multiplies by 4.54609.
The US gallon is defined as 231 cubic inches. To derive the liter conversion, convert cubic inches to cubic centimeters using 1 in³ = 16.387064 cm³, then divide by 1,000 to get liters: 231 × 16.387064 ÷ 1,000 = 3.785411784 L. The imperial gallon has no such derivation from inches; it is set by law as exactly 4.54609 liters. For a spreadsheet, the Microsoft CONVERT function uses the unit codes "gal" for the US gallon, "uk_gal" for the imperial gallon, and "l" for the liter.
How to Convert Liters to Gallons: Step by Step
Write down the volume in liters. Then decide which gallon you need. For US gallons, multiply the liters by 0.264172. For imperial gallons, multiply by 0.219969. The formula is Gallons = Liters × Conversion Factor. The factor is the only variable that changes between the two systems.
Worked example: convert 10 liters to US gallons. Multiply 10 × 0.264172 = 2.64172 US gallons. For imperial, 10 × 0.219969 = 2.19969 imperial gallons. The two answers differ by about 0.44 gallons. Label the unit in your result. A common error is using 3.785 as the factor when going from liters to gallons. That gives you liters per gallon, not gallons per liter. The answer will be off by a factor of about 14.3.
The Liters to Gallons Conversion Factor, Explained
The conversion factor is not a rounded convenience. It is a fixed number defined by law. The US gallon is 3.785411784 liters, per NIST Handbook 44 Appendix C and NIST SP 811 Appendix B. The imperial gallon is 4.54609 liters. These are the values that make the factor 0.2641720524 for US and 0.2199692483 for imperial. They will not change, so you can rely on them for any precision.
For most practical work, 3.785 is enough. Do not use 3.8 or 4.0 unless you are estimating within 5 percent. A 55 US gallon drum is 208.2 liters. Rounding the factor to 3.8 gives 209 liters, an error of 0.8 liters that matters when you are mixing chemicals or filling a container to capacity. The exact factors have 10 significant digits, but 3.785 and 4.546 are the standard for everyday use.
Rounding: 3.785 vs 3.78541 vs Exact
Rounding is where most conversions go wrong. The precision is mismatched to the task. The factor for liters to US gallons is 0.2641720524, which comes from 1 ÷ 3.785411784. If you round the factor to 0.264172, the error on a 10-liter conversion is about 0.000005 gallons. Invisible for a recipe but significant for a laboratory. If you round the liter side to 3.78541, you are using five significant figures, which matches the precision of most measured volumes.
Here is the rounding error table so you can see the cost of each shortcut. Using 3.785 instead of 3.78541 introduces an error of about 0.01 percent. On 100 liters that is 0.01 liters, about a teaspoon. Using 3.8 instead of 3.78541 is a 0.4 percent error. On a 55-gallon drum that is 0.22 gallons, enough to overflow a container. For a spreadsheet, the formula =A1*0.2641720524 gives the exact result. Wrap it in ROUND() to control decimal places, or use =CONVERT(A1,"l","gal") which applies the factor automatically.
Divide by 3.785: The Reverse Conversion, Done Right
When you have gallons and need liters, the formula is the inverse: Liters = Gallons ÷ 0.264172 for US, or multiply by 3.785411784 directly. The shortcut "divide by 3.785" works because 1 ÷ 0.264172 ≈ 3.78541. But it is only an approximation, and the error compounds with larger volumes. For a single conversion, dividing 10 gallons by 3.785 gives 2.642 liters. The exact answer is 2.64172, a difference of 0.00028 liters. Negligible for most tasks.
The failure case is when you use the rounded factor 3.785 for a large volume, like a 1,000-liter IBC tote. Dividing 1,000 by 3.785 gives 264.20 US gallons. The exact factor gives 264.172, a difference of 0.03 gallons that matters if you are billing for the liquid. Use the factor 3.785411784 in any calculation where the volume is more than about 10 liters. Reserve the rounded value for quick mental math where a 0.01 percent error is acceptable.
Why the Two Gallons Differ, and What It Costs You
The US gallon and the imperial gallon are different sizes. The difference is not a rounding issue but a legal one. The US gallon is defined as 231 cubic inches, which equals 3.785411784 liters. The imperial gallon is defined as 4.54609 liters, about 20 percent larger. A fuel tank that holds 50 imperial gallons holds 60 US gallons. If you mix them up, you are off by the volume of a small bucket.
The practical cost of confusing them shows up in fuel economy. L/100 km to MPG conversions require you to pick a gallon. US MPG uses the 3.785-liter gallon. Imperial MPG uses the 4.546-liter gallon. The same fuel consumption number changes by about 20 percent. If you are reading a car review from the UK and converting to US MPG, apply the US factor. Otherwise your range estimate is wrong by the distance of a full tank.
What the Old Guides Get Wrong
The common advice to use 3.785 or 0.264 as the factor is not wrong for rough estimates. It is too imprecise for homework or spreadsheets where the answer must match a key. The old guides padded their pages with temperature effects on liquid volume and cooking substitutions. Those are real topics but belong in a separate treatment. Temperature changes the volume of a liquid. It changes the liquid, not the factor. Mixing the two confuses readers who just want the math.
The honest correction is that the factor is exact and fixed. The only variable is how many digits you keep. A liter is one cubic decimeter. A US gallon is 231 cubic inches. The conversion is a matter of arithmetic, not measurement. Do not fall for the myth that a liter is a kilogram of water. That was only true from 1901 to 1964 under a specific definition. Now a liter of water at 20°C weighs about 0.998 kg. A difference that matters in a lab but not in your head.
Software and Spreadsheets: Getting the Factor In
Using CONVERT and Manual Entry
If you are building a spreadsheet, the cleanest route is the CONVERT function built into Excel and Google Sheets. It uses the unit code "gal" for the US gallon, "uk_gal" for the imperial gallon, and "l" for the liter. The formula =CONVERT(A1,"l","gal") returns US gallons. =CONVERT(A1,"l","uk_gal") returns imperial gallons. It applies the exact factors without you typing a single digit. This is the reliable path for any calculation you will reuse. The function is documented and maintained by the software vendor.
For a one-off calculation, type the factor directly: =A1*0.2641720524 for US gallons, or =A1*0.2199692483 for imperial gallons. The risk with typing the factor is transcription error. Please provide the sentence you want rewritten. Always label the result with the gallon type in the adjacent cell. If you are converting a column of values, use the absolute reference $A$1 for the factor and drag the formula down. Check the first and last rows against a known value to catch a broken paste.
The Failure Case: When the Factor Is Not Enough
The normal route of multiplying by the factor fails when you do not know which gallon your source means. It also fails when the volume is so large that rounding compounds beyond your tolerance. If you are converting a measurement from a document that says only "gallons" without a qualifier, stop. Find the unit's origin before doing the math. A US recipe and a UK engineering spec are not the same. Write the unit explicitly in your result as "US gal" or "UK gal". If the source is ambiguous, treat it as an error and ask.
The other failure is when you need a precise answer but your calculator is set to a fixed decimal place. It silently rounds 0.2641720524 to 0.26. That is a 1.6 percent error. On a 60-liter fuel tank that is a 0.25 liter error, enough to change your range estimate. Check your calculator's display settings before you start. If it is a phone app, verify the factor against a known conversion, like 1 US gallon = 3.78541 liters, before you trust the output.
When You Only Have a Rough Number
For imperial gallons, divide by 4.5. That is within 1.1 percent. This is fine for a mental check, like guessing that a 2-liter bottle is about half a gallon. It is not for anything you will write down.The rounding could tip the decision.
No single rounding is right for every task. Use the exact factor so you can round deliberately. For homework, use the factor your teacher expects, which is usually 0.264 or 3.785. State it in your answer. For a spreadsheet, use the CONVERT function or the full 10-digit factor. Let the software handle the precision. That is what it is for.
Common Questions
What is the exact liters to gallons formula?
Multiply liters by 0.2641720524 for US gallons, or by 0.2199692483 for imperial gallons. The reverse is gallons multiplied by 3.785411784 for US, or 4.54609 for imperial. These are exact, fixed by the legal definitions of the units.
Is 3.785 liters in a gallon exact?
No. A US gallon is exactly 3.785411784 liters, so 3.785 is a rounded approximation that omits the 0.000411784 liter remainder. For most tasks the error is negligible, but for large volumes or precise work, use the full factor.
What is the difference between US and imperial gallons?
A US gallon is 3.785411784 liters, while an imperial gallon is 4.54609 liters, about 20 percent larger. The US gallon derives from 231 cubic inches; the imperial gallon is set by law. Always specify which one you mean.
How do I convert liters to gallons in Excel?
Use the CONVERT function with the unit codes: =CONVERT(A1,"l","gal") for US gallons, or =CONVERT(A1,"l","uk_gal") for imperial gallons. This applies the exact factors automatically. For manual entry, use =A1*0.2641720524.