MPG to KM/L

Convert miles per gallon to kilometers per liter with configurable decimal precision

Enter US miles per gallon and convert with 1 mpg = 0.4251437075 km/L.

Example Results

1 examples

Convert fuel economy from MPG into km/L

Translate 30 miles per gallon into the equivalent kilometers per liter value

{
  "result": {
    "mpg": 30,
    "kilometersPerLiter": 12.7543
  }
}
View input parameters
{ "mpg": 30, "precision": 4 }

Key Facts

Category
Math, Date & Finance
Input Types
number
Output Type
json
Sample Coverage
1
API Ready
Yes

Overview

Easily convert US miles per gallon (MPG) to kilometers per liter (KM/L) with this precise online calculator. Simply input your fuel economy value in MPG, set your desired decimal precision, and instantly get the equivalent metric consumption rate based on the standard conversion factor of 1 MPG = 0.4251437075 KM/L.

When to Use

  • When comparing the fuel efficiency of imported US vehicles with metric-system standards.
  • When planning international road trips and translating fuel economy figures between US and metric units.
  • When analyzing automotive specifications or datasets that mix imperial and metric fuel consumption metrics.

How It Works

  • Enter the fuel economy value in miles per gallon (MPG) into the input field.
  • Adjust the decimal precision setting to control the number of decimal places in the output.
  • The tool multiplies the MPG value by the conversion factor of 0.4251437075.
  • The calculated kilometers per liter (KM/L) value is returned instantly in a structured JSON format.

Use Cases

Converting US car listing specifications to metric units for local buyers.
Normalizing fuel economy data in spreadsheets for global fleet management.
Calculating fuel costs and consumption rates for travel blogs and automotive reviews.

Examples

1. Convert Standard Sedan Fuel Economy

Car Buyer
Background
A buyer is looking at a US import car rated at 30 MPG and wants to know its efficiency in metric units.
Problem
Convert 30 MPG to KM/L with standard 4-digit precision.
How to Use
Input 30 in the MPG field and set the decimal precision to 4.
Example Config
{
  "mpg": 30,
  "precision": 4
}
Outcome
The tool outputs a JSON result showing 12.7543 KM/L.

2. High-Precision Fleet Data Normalization

Logistics Analyst
Background
An analyst is compiling a global fleet efficiency report and needs highly precise conversions for a truck rated at 15 MPG.
Problem
Convert 15 MPG to KM/L with 6 decimal places of precision.
How to Use
Enter 15 in the MPG input and change the decimal precision to 6.
Example Config
{
  "mpg": 15,
  "precision": 6
}
Outcome
The tool returns a JSON result showing 6.377156 KM/L.

Try with Samples

math-&-numbers

Related Hubs

FAQ

What is the conversion formula from MPG to KM/L?

The conversion uses the formula: 1 MPG = 0.4251437075 KM/L.

Does this tool convert US or UK gallons?

This tool converts US miles per gallon (MPG) to kilometers per liter.

Can I customize the precision of the output?

Yes, you can set the decimal precision anywhere from 0 to 10 decimal places.

Is there a limit to the MPG value I can input?

No, you can input any positive numerical MPG value to perform the conversion.

What format is the conversion result returned in?

The result is returned as a JSON object containing the original MPG and the converted KM/L value.

API Documentation

Request Endpoint

POST /en/api/tools/mpg-to-kml

Request Parameters

Parameter Name Type Required Description
mpg number Yes -
precision number No -

Response Format

{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
JSON Data: JSON Data

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-mpg-to-kml": {
      "name": "mpg-to-kml",
      "description": "Convert miles per gallon to kilometers per liter with configurable decimal precision",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=mpg-to-kml",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]