KM/L to MPG

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

Enter kilometers per liter and convert with 1 km/L = 2.352145833 mpg.

Example Results

1 examples

Convert fuel economy from km/L into MPG

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

{
  "result": {
    "kilometersPerLiter": 12.75,
    "mpg": 29.9899
  }
}
View input parameters
{ "kilometersPerLiter": 12.75, "precision": 4 }

Key Facts

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

Overview

Convert fuel economy ratings from kilometers per liter (KM/L) to miles per gallon (MPG) using the standard conversion factor of 1 KM/L = 2.352145833 MPG. This tool allows you to input any KM/L value and customize the decimal precision of your output for accurate fuel efficiency comparisons.

When to Use

  • When comparing the fuel efficiency of vehicles imported from regions using metric units with those using US imperial units.
  • When planning international road trips and estimating fuel costs based on vehicle specifications listed in kilometers per liter.
  • When standardizing automotive datasets that contain mixed fuel consumption metrics for research or reporting.

How It Works

  • Enter the fuel economy value in kilometers per liter (KM/L) into the primary input field.
  • Specify the desired decimal precision for the output calculation, ranging from 0 to 10 decimal places.
  • The tool multiplies the KM/L value by the conversion factor of 2.352145833 and rounds the result to your specified precision.

Use Cases

Comparing European or Asian car fuel specifications against US market standards.
Converting vehicle rental fuel economy ratings while planning travel budgets abroad.
Normalizing fuel consumption data in spreadsheets for automotive research and reporting.

Examples

1. Convert Japanese Import Fuel Economy

Car Enthusiast
Background
A car enthusiast is looking to import a Japanese domestic market vehicle that lists its fuel economy as 15.0 km/L.
Problem
They need to know the equivalent MPG to compare it with local US vehicles.
How to Use
Input 15.0 in the Kilometers per Liter field and set the decimal precision to 2.
Example Config
{"kilometersPerLiter": 15.0, "precision": 2}
Outcome
The tool outputs a fuel economy of 35.2822 MPG.

2. Standardizing Fleet Data

Logistics Analyst
Background
A logistics analyst is compiling a global fleet report and needs to convert a hybrid vehicle's rating of 22.4 km/L to MPG for US stakeholders.
Problem
They require a highly precise conversion to maintain accuracy across large-scale fuel cost projections.
How to Use
Input 22.4 in the Kilometers per Liter field and set the decimal precision to 6.
Example Config
{"kilometersPerLiter": 22.4, "precision": 6}
Outcome
The tool calculates the fuel economy as 52.688067 MPG.

Try with Samples

math-&-numbers

Related Hubs

FAQ

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

The tool multiplies the KM/L value by 2.352145833 to calculate the equivalent miles per gallon.

Can I adjust the decimal precision of the result?

Yes, you can configure the decimal precision from 0 up to 10 decimal places. The default is 4.

Does this tool convert to UK (Imperial) MPG?

No, this tool uses the standard US MPG conversion factor of 2.352145833.

What is the default decimal precision?

The default precision is set to 4 decimal places if you do not specify a different value.

Is there a limit to the KM/L value I can input?

You can input any positive number, including decimals, to perform the conversion.

API Documentation

Request Endpoint

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

Request Parameters

Parameter Name Type Required Description
kilometersPerLiter 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-kml-to-mpg": {
      "name": "kml-to-mpg",
      "description": "Convert kilometers per liter to miles per gallon with configurable decimal precision",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=kml-to-mpg",
      "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]