Liters to gallons converter
Put a metric volume into US liquid gallons without guessing: 1 liter is 0.264172052358 gallons, because one US gallon is exactly 3.785411784 liters. Useful for fuel logs, pool chemistry and recipes. Free in your browser.
- Free
- Runs in your browser
- No sign-up
- Your data stays on your device
Run — free
Worked example
- Liters
- 1
- Result
- 0.2641720524 US gal
- Converted
- 0.2641720524
- Gallons
- 0.2641720524
- From unit
- L
A liters-to-gallons converter turns a metric liter volume into the US liquid gallon scale used on American packaging, fuel logs, pool fill sheets, beverage prep plans, and school worksheets that still quote customary capacity. Approximate mental shortcuts such as “divide by four” are unnecessary here because the liter constant is a fixed legal definition, not a survey estimate that needs rounding before divide.
Why liters and US gallons still meet at 3.785411784
Liters and US liquid gallons remain everyday liquid volume units across international trade, science labs, swimming-pool chemistry, and consumer packaging that mixes SI labels with American customary capacity. Soft-drink bottles, laboratory reagents, and European product sheets list liters and milliliters while US fuel economy records, paint cans, and many recipe databases still speak in gallons, so a single number without a unit can be wrong by a large margin if the systems are confused.
Conversion is therefore one exact divide—US gallons equals liters divided by 3.785411784—with no leftover uncertainty and no dependence on local survey factors. This landing stays on the US liquid path only. It does not convert imperial (UK) gallons, which are larger at 4.54609 liters and would mislead searchers who typed liters to gallons for US kitchen, pool, or beverage volumes, and it does not convert dry gallons used for some bulk commodities.
Practical tips, checks, and related searches
Prefer sending bare numbers when you control the client; string numbers are accepted only when they match a strict finite numeric pattern without units, thousand separators, or currency symbols. Round-trip sanity checks are easy: convert 3.785411784 liters and confirm you receive exactly one US gallon after rounding, convert one liter and confirm about zero point two six four one seven two US gallons, or convert zero and confirm zero.
When teaching, show that multiplying the published gallons by 3.785411784 recovers the original liters within the same twelve-decimal rounding used for published fields. Stay inside the absolute range so the divide cannot produce a non-finite result the solver must reject. This landing targets people searching for liters to gallons, convert liters to US gallons, or an exact 3.785411784 factor calculator; it is not a general multi-unit volume hub, not a gallons-to-liters primary form, not an imperial gallon converter, and not a milliliters-only path.
Prefer this capability when the input is already in liters and you only need US gallons; if you must convert among many volume units in one call, use a broader unit converter instead.
What you can do with it
Fuel and fleet logs
Convert metric pump readings in liters into US gallons for American fleet reports, expense sheets, and mileage worksheets that still store capacity in gallons.
Pool, paint, and beverage prep
Turn liter-based tank, drum, or concentrate volumes into US gallons for fill charts, mixing ratios, and warehouse manifests that require the customary unit.
FAQ
What formula converts liters to US gallons?
Gallons = liters ÷ 3.785411784. One US liquid gallon is defined as exactly 3.785411784 liters (231 cubic inches under the international inch), so the factor is a legal definition, not an estimate.
Does this convert imperial (UK) gallons?
No. It converts liters to US liquid gallons only. An imperial gallon is 4.54609 L and is not the output unit here.
Is the liters to gallons converter free?
The browser tool is free and runs locally.
How many US gallons is 1 liter?
1 liter is 0.264172052358 US gallons. The converter divides the liters by 3.785411784, the exact number of liters in one US liquid gallon.
Is dividing liters by four close enough?
Only as a rough guess. A US gallon holds 3.785411784 liters, not four, so dividing by four gives too few gallons. For fuel records, pool dosing or invoices, use the exact factor.
Related tools
For developers — API access
Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.
API endpoint
Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.
Call it from your stack
curl -X POST https://api.kit.forhosting.com/conv/liters-to-gallons \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"liters":1}'const res = await fetch("https://api.kit.forhosting.com/conv/liters-to-gallons", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"liters": 1
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/conv/liters-to-gallons",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"liters": 1
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/conv/liters-to-gallons", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"liters":1}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"liters":1}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/conv/liters-to-gallons", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"liters": 1
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "conv.liters_to_gallons",
"status": "queued",
"_links": {
"result": "/tasks/tsk_…/result"
}
}The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.
Pricing
Published price — no tokens, no invented credits. A failed task is never charged.
Errors
| HTTP | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing or invalid API key. |
402 | insufficient_balance | Your balance doesn't cover the task price. |
404 | unknown_type | That task type doesn't exist. |
429 | rate_limited | Too many requests. Use the webhook instead of polling. |
Technical notes
Invalid or missing input fails with a clear invalid_input error instead of inventing a number.
Why liters and US gallons still meet at 3.785411784
The modern US liquid gallon is fixed in liters: one US gallon equals exactly 3.785411784 liters from the two-hundred-thirty-one cubic-inch definition under the international inch of zero point zero two five four meters.
How to call the API and what comes back
Absolute values must stay within the published limit of one trillion. Send a JSON body with one required finite number field named liters. Aliases liter, litres, litre, l, L, value, volume, and liters_value are accepted so SDK clients and form posts can use the name that fits the product. On success the response echoes rounded liters, sets gallons, result, and converted to the same rounded US liquid gallon magnitude, unit to the token US gal, from_unit to L and to_unit to US gal, factor to the rounded reciprocal of 3.785411784, liters_per_us_gallon to 3.785411784, formula to the string gallons equals liters divided by 3.785411784, message to a short English summary, and steps to an ordered array of substitution lines that show the NIST US liquid definition. Failed validation—missing fields, non-finite numbers, bare plus or minus signs, non-numeric strings, values outside absolute limits, or a non-finite converted result—returns invalid_input and is never charged. Pricing is a flat $0.002 per successful request with unit item.
Practical tips, checks, and related searches
Failed tasks that return invalid_input do not consume prepaid balance, which keeps exploratory scripts cheap when learners deliberately omit liters or pass text.
Integration use cases
Homework and unit-test fixtures
Students and engineers convert classroom liter volumes to US gallons and pin golden JSON so browser and API arithmetic never drift.
Technical questions
Is the factor 3.785411784 exact?
Yes. NIST and the SI-linked international inch fix 1 US liquid gal = 3.785411784 L exactly. This tool divides by that constant only.
What happens on missing or non-numeric input?
The API returns invalid_input naming the problem (for example a missing liters field). Failed tasks are not charged.