{
  "version": "v1",
  "source": "https://craftquantities.com",
  "licence": "CC BY 4.0",
  "licenceUrl": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "Craft Quantities — craftquantities.com",
  "documentation": "https://craftquantities.com/api/",
  "versioning": "Fields are added, never removed or repurposed, within a version. A breaking change becomes /api/v2/ and v1 keeps being built.",
  "slug": "mpg-to-liters-per-100km-calculator",
  "category": "auto-utility",
  "title": "MPG to Litres per 100 km Calculator",
  "description": "Convert US miles per gallon into the litres-per-100-km figure used across Europe and Australia.",
  "url": "https://craftquantities.com/calculators/auto-utility/mpg-to-liters-per-100km-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/mpg-to-liters-per-100km-calculator.json",
  "inputCount": 1,
  "testCaseCount": 4,
  "sourceCount": 2,
  "lastVerified": "2026-08-26",
  "citation": {
    "author": "Craft Quantities",
    "title": "MPG to Litres per 100 km Calculator",
    "version": "1.0.0",
    "sourcesChecked": "2026-08-26",
    "url": "https://craftquantities.com/calculators/auto-utility/mpg-to-liters-per-100km-calculator/",
    "accessDate": null,
    "accessDateNote": "Add the date you retrieved this. It is deliberately absent: a static file cannot know when you read it, and the build date would be wrong.",
    "permanentVersionedUrl": null,
    "permanentVersionedUrlNote": "Not offered. This site keeps no archive of previous builds, so any such URL would resolve to the current page or to nothing. The version and sourcesChecked fields identify the calculation instead.",
    "formats": {
      "plain": "Craft Quantities. MPG to Litres per 100 km Calculator. Version 1.0.0. Sources checked 2026-08-26. https://craftquantities.com/calculators/auto-utility/mpg-to-liters-per-100km-calculator/",
      "apa": "Craft Quantities. (2026). MPG to Litres per 100 km Calculator (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/auto-utility/mpg-to-liters-per-100km-calculator/",
      "harvard": "Craft Quantities (2026) MPG to Litres per 100 km Calculator (Version 1.0.0). Available at: https://craftquantities.com/calculators/auto-utility/mpg-to-liters-per-100km-calculator/",
      "bibtex": "@misc{craftquantities-calculators-auto-utility-mpg-to-liters-per-100km-calculator,\n  author       = {{Craft Quantities}},\n  title        = {MPG to Litres per 100 km Calculator},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/auto-utility/mpg-to-liters-per-100km-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "mpg",
      "label": "Fuel economy (mpg (US))",
      "type": "number",
      "defaultValue": 25,
      "min": 1,
      "max": 150,
      "step": 0.1,
      "help": "Miles per US gallon."
    }
  ],
  "sources": [
    {
      "label": "1 US gallon = 3.785411784 L (exact); 1 mile = 1.609344 km (exact)"
    },
    {
      "label": "1 imperial gallon = 1.20095 US gallons, from the exact litre definitions"
    }
  ],
  "testCases": [
    {
      "name": "25 mpg is 9.41 L/100 km",
      "inputs": {
        "mpg": 25
      },
      "expected": 9.4086,
      "toleranceDecimalPlaces": 1,
      "unit": "L/100 km",
      "confidence": "high",
      "steps": [
        {
          "label": "US mpg entered",
          "value": 25,
          "unit": "mpg"
        },
        {
          "label": "Imperial mpg (UK)",
          "value": 30.02375,
          "unit": "mpg (imp)"
        },
        {
          "label": "km per litre",
          "value": 10.628592700819064,
          "unit": "km/L"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "Doubling mpg halves consumption",
      "inputs": {
        "mpg": 50
      },
      "expected": 4.7043,
      "toleranceDecimalPlaces": 1,
      "unit": "L/100 km",
      "confidence": "high",
      "steps": [
        {
          "label": "US mpg entered",
          "value": 50,
          "unit": "mpg"
        },
        {
          "label": "Imperial mpg (UK)",
          "value": 60.0475,
          "unit": "mpg (imp)"
        },
        {
          "label": "km per litre",
          "value": 21.25718540163813,
          "unit": "km/L"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "A thirsty 10 mpg truck",
      "inputs": {
        "mpg": 10
      },
      "expected": 23.5215,
      "toleranceDecimalPlaces": 4,
      "unit": "L/100 km",
      "confidence": "high",
      "steps": [
        {
          "label": "US mpg entered",
          "value": 10,
          "unit": "mpg"
        },
        {
          "label": "Imperial mpg (UK)",
          "value": 12.0095,
          "unit": "mpg (imp)"
        },
        {
          "label": "km per litre",
          "value": 4.251437080327626,
          "unit": "km/L"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "235.215 mpg is exactly 1 L/100 km",
      "inputs": {
        "mpg": 235.214583
      },
      "expected": 1,
      "toleranceDecimalPlaces": 2,
      "unit": "L/100 km",
      "confidence": "high",
      "steps": [
        {
          "label": "US mpg entered",
          "value": 235.214583,
          "unit": "mpg"
        },
        {
          "label": "Imperial mpg (UK)",
          "value": 282.48095345385,
          "unit": "mpg (imp)"
        },
        {
          "label": "km per litre",
          "value": 100,
          "unit": "km/L"
        }
      ],
      "basis": "ambiguous"
    }
  ]
}
