Convert fuel efficiency units
30 US MPG is just under 8 L/100km and more than 12 km/L: enter one figure with its unit and get all four, with US and imperial gallons kept apart and the inverse link to L/100km handled for you. Free in your browser.
- Free
- Runs in your browser
- No sign-up
- Your data stays on your device
Run — free
Worked example
- Value
- 30 mpg_us
- Mpg us
- 30
- Mpg uk
- 36.0284977651
- L per 100km
- 7.8404861111
- Km per l
- 12.7543112229
Fuel efficiency is reported differently around the world, which makes vehicle figures surprisingly difficult to compare. This converter accepts one positive measurement in US miles per gallon, UK miles per gallon, liters per 100 kilometers, or kilometers per liter and returns the matching value in every supported unit. It distinguishes US and imperial gallons, handles the inverse relationship between economy and consumption, and uses fixed definitions for reproducible results.
Choose the source unit carefully
Start by entering the fuel efficiency number exactly as it appears in your source and selecting the unit attached to it. The distinction between US MPG and UK MPG matters because a UK imperial gallon is larger than a US liquid gallon. A vehicle rated at the same numerical MPG under the two systems is therefore not describing the same distance per volume of fuel.
Do not remove the unit from copied specifications, advertisements, fleet exports, or test reports before conversion. If a document merely says MPG, check its country and testing standard first. Selecting the correct source is more important than displaying many decimal places, because choosing the wrong gallon definition creates a systematic difference that rounding cannot repair.
The input must be greater than zero; zero and negative efficiency values have no valid meaning in these conversions and are rejected rather than producing a misleading result.
Understand why some values move in opposite directions
US MPG, UK MPG, and km/L are economy measures: a larger number means the vehicle travels farther with a fixed amount of fuel. Liters per 100 kilometers is a consumption measure: a smaller number means less fuel is used over the fixed distance. Because these concepts point in opposite directions, conversion to or from L/100km requires division rather than a simple multiplication.
The converter first represents every source value as kilometers per liter. It uses the exact international mile definition and the defined volumes of US and imperial gallons, then calculates L/100km as one hundred divided by km/L. This shared intermediate keeps all four returned figures internally consistent.
For example, doubling km/L halves L/100km, while doubling MPG also halves the corresponding consumption figure. That inverse behavior is expected and is not a calculator error. A manufacturer rating, dashboard estimate, or laboratory result still carries its own uncertainty and test conditions after its unit has been converted.
Use converted figures in fair comparisons
Converted values are most useful when every candidate is placed in the same unit before comparison. A shopper can normalize specifications from different markets, a fleet analyst can standardize imported records, and a developer can show regional units without maintaining separate conversion formulas. Keep the original value and source unit alongside the converted output so reviewers can trace where each number came from.
When comparing vehicles, also confirm that the underlying ratings use comparable driving cycles, model years, powertrains, and test conditions. Unit conversion makes quantities commensurable, but it cannot make unlike tests scientifically equivalent. Real-world fuel use can change with speed, traffic, temperature, elevation, tires, cargo, maintenance, and driving behavior.
For automation, validate that upstream systems send one of the documented units and treat an invalid-input response as a data quality problem instead of silently substituting a default. The same input produces the same four values, making the capability appropriate for spreadsheets, migration checks, catalog normalization, and reproducible reporting pipelines.
What you can do with it
Compare imported vehicles
Normalize efficiency specifications from US, UK, and metric listings before comparing models.
Standardize fleet records
Convert mixed regional measurements into consistent fields during a vehicle data import.
Localize an application
Display familiar fuel efficiency units while retaining equivalent values for every supported region.
FAQ
Are US MPG and UK MPG the same?
No. The imperial gallon used for UK MPG is larger than the US liquid gallon, so the same vehicle has different numerical ratings.
Why does higher MPG produce lower L/100km?
MPG measures distance per fuel volume, while L/100km measures fuel volume per fixed distance, so they are inversely related.
Does conversion predict real-world fuel use?
No. It changes units only and does not account for traffic, weather, driving style, vehicle condition, or test-cycle differences.
What is 30 US MPG in the other units?
It returns 36.0284977651 UK MPG, 7.84048611111 L/100km and 12.7543112229 km/L. Every value is first expressed as kilometers per liter, so all four figures stay consistent with each other.
Can I convert zero or a negative value?
No. Fuel efficiency has to be greater than zero. Zero and negative values have no valid meaning in these conversions, so they are rejected instead of producing a misleading figure.
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/misc2/fuel-efficiency-convert \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"value":30,"unit":"mpg_us"}'const res = await fetch("https://api.kit.forhosting.com/misc2/fuel-efficiency-convert", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"value": 30,
"unit": "mpg_us"
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/misc2/fuel-efficiency-convert",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"value": 30,
"unit": "mpg_us"
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/misc2/fuel-efficiency-convert", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"value":30,"unit":"mpg_us"}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"value":30,"unit":"mpg_us"}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/misc2/fuel-efficiency-convert", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"value": 30,
"unit": "mpg_us"
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "misc2.fuel_efficiency_convert",
"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
The browser version is convenient for quick checks, while the API supports repeatable comparisons in applications, imports, and vehicle data workflows.
Choose the source unit carefully
The converter labels these choices separately as mpg_us and mpg_uk so that the assumption remains explicit. It also accepts L/100km, which measures fuel consumption, and km/L, which measures travel distance per liter.
Understand why some values move in opposite directions
Results are rounded to a stable precision suitable for JSON and ordinary comparison, but they should not be interpreted as improving the accuracy of the original measurement.
Use converted figures in fair comparisons
The endpoint costs $0.002 per request when called through the API and performs no network lookup, so repeated conversions are deterministic.
Technical questions
What does the API request cost?
Each API request costs $0.002; the in-browser converter is free.
Can I convert zero or a negative value?
No. Fuel efficiency must be a finite number greater than zero; invalid values return an invalid_input error.