{
  "title": "Fuel grade cost comparison",
  "human_url": "https://happytails.ai/en/calculators/fuel-grade-cost-comparison/",
  "agent_url": "https://happytails.ai/agents/en/calculators/fuel-grade-cost-comparison/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/calculators/fuel-grade-cost-comparison.md",
  "content": "Fuel grade cost comparison\nCompare fuel grades using your own price and consumption assumptions for the same trip.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nHow to use Fuel grade cost comparison\nEnter trip distance, currency and the price and L/100 km consumption for two grades.\nFor more grades, choose CSV mode and enter 2 to 30 uniquely named options.\nCompare total costs and break-even prices against the first grade. Download the complete report.\nUseful next steps\nParking cost calculator\nScooter charging calculator\nVehicle depreciation calculator\nCompare cost using separate consumption assumptions\nFor each grade, litres used equal distance in km times L/100 km divided by 100. Total cost multiplies those litres by price per litre. Each grade uses its own entered consumption; the tool does not infer an efficiency benefit from octane.\nRead the break-even price\nThe break-even price per litre is the first grade cost per 100 km divided by the comparison grade consumption in L/100 km. It is a modeled cost threshold, not a suitability recommendation. Compare only fuels that meet the vehicle manufacturer requirements.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "Parking cost calculator",
      "url": "https://happytails.ai/en/calculators/parking-cost-calculator/"
    },
    {
      "name": "Scooter charging calculator",
      "url": "https://happytails.ai/en/calculators/scooter-charging-calculator/"
    },
    {
      "name": "Vehicle depreciation calculator",
      "url": "https://happytails.ai/en/calculators/vehicle-depreciation-calculator/"
    }
  ],
  "tool": {
    "id": "fuel-grade-cost-comparison",
    "category": "calculators",
    "built": true,
    "requirements": "Compare cost for the same entered distance using a separate consumption assumption for each grade. Guided inputs use the same ranges as CSV: price 0 to 10000 per litre, consumption 0.001 to 1000 L/100 km. Results include cost difference and break-even price against the first grade. No fuel-economy benefit is inferred from octane. Only compare fuels that meet the vehicle manufacturer requirements; cost does not establish suitability. Processing stays on your device in a cancellable worker with a 10-second timeout. Maximum 500000 combined input characters and 2000 records, with 30 tariffs or grades, 30 tiers per tariff and 100 depreciation years. Guided decimals allow up to six places without thousands separators. Full JSON and JSON Pointer CSV include all source inputs, units, assumptions and results; each file is capped at 2000000 characters and CSV at 200000 leaf records. All tariff totals precede the first 200 detail rows in the parking preview; other tables preview 200 rows. Software bounds are not vehicle capability claims. Results use floating-point arithmetic.",
    "implementation": {
      "fields": [
        {
          "key": "distanceKm",
          "label": "Trip distance (km)",
          "value": "1000",
          "type": "text",
          "inputMode": "decimal",
          "maxLength": 24,
          "help": "Use a decimal point, up to six decimal places and no thousands separators."
        },
        {
          "key": "currency",
          "label": "Currency label",
          "value": "EUR",
          "type": "text",
          "maxLength": 3,
          "help": "Three uppercase letters. All entered prices use this currency."
        },
        {
          "key": "entryMode",
          "label": "Grade entry",
          "value": "guided",
          "type": "select",
          "values": [
            "guided",
            "csv"
          ],
          "labels": {
            "guided": "Compare two grades",
            "csv": "Compare 2 to 30 grades with CSV"
          }
        },
        {
          "key": "grade1Name",
          "label": "Grade 1 name",
          "value": "Regular",
          "type": "text",
          "maxLength": 200,
          "showWhen": {
            "entryMode": [
              "guided"
            ]
          }
        },
        {
          "key": "grade1Price",
          "label": "Grade 1 price per litre",
          "value": "1.5",
          "type": "text",
          "inputMode": "decimal",
          "maxLength": 24,
          "help": "Use a decimal point, up to six decimal places and no thousands separators.",
          "showWhen": {
            "entryMode": [
              "guided"
            ]
          }
        },
        {
          "key": "grade1Consumption",
          "label": "Grade 1 consumption (L/100 km)",
          "value": "8",
          "type": "text",
          "inputMode": "decimal",
          "maxLength": 24,
          "help": "Use a decimal point, up to six decimal places and no thousands separators.",
          "showWhen": {
            "entryMode": [
              "guided"
            ]
          }
        },
        {
          "key": "grade2Name",
          "label": "Grade 2 name",
          "value": "Premium",
          "type": "text",
          "maxLength": 200,
          "showWhen": {
            "entryMode": [
              "guided"
            ]
          }
        },
        {
          "key": "grade2Price",
          "label": "Grade 2 price per litre",
          "value": "1.8",
          "type": "text",
          "inputMode": "decimal",
          "maxLength": 24,
          "help": "Use a decimal point, up to six decimal places and no thousands separators.",
          "showWhen": {
            "entryMode": [
              "guided"
            ]
          }
        },
        {
          "key": "grade2Consumption",
          "label": "Grade 2 consumption (L/100 km)",
          "value": "7",
          "type": "text",
          "inputMode": "decimal",
          "maxLength": 24,
          "help": "Use a decimal point, up to six decimal places and no thousands separators.",
          "showWhen": {
            "entryMode": [
              "guided"
            ]
          }
        },
        {
          "key": "gradesCsv",
          "label": "Fuel grades CSV",
          "value": "name,pricePerLitre,litresPer100Km\nRegular,1.5,8\nPremium,1.8,7\nThird grade,1.7,7.5",
          "type": "textarea",
          "maxLength": 500000,
          "help": "Headers: name,pricePerLitre,litresPer100Km. Enter 2 to 30 uniquely named grades. Price: 0 to 10000 per litre. Consumption: 0.001 to 1000 L/100 km.",
          "showWhen": {
            "entryMode": [
              "csv"
            ]
          }
        }
      ],
      "input": false,
      "presentation": "metrics",
      "note": "Compare cost for the same entered distance using a separate consumption assumption for each grade. Guided inputs use the same ranges as CSV: price 0 to 10000 per litre, consumption 0.001 to 1000 L/100 km. Results include cost difference and break-even price against the first grade. No fuel-economy benefit is inferred from octane. Only compare fuels that meet the vehicle manufacturer requirements; cost does not establish suitability. Runs locally without uploads. Limit: 500000 combined input characters, 2000 records, 30 tariffs or grades, 30 tiers per tariff and 100 depreciation years. Complete JSON and JSON Pointer CSV exports are each capped at 2000000 characters and CSV at 200000 leaf records. Preview shows 200 report rows. Calculations stop after 10 seconds. Copy result copies the report text; downloads include source inputs, units, assumptions and complete results.",
      "inputMaxLength": 500000,
      "inputErrorCode": "VEHICLE_INPUT",
      "example": {
        "input": "",
        "options": {
          "distanceKm": "1000",
          "currency": "EUR",
          "entryMode": "guided",
          "grade1Name": "Regular",
          "grade1Price": "1.5",
          "grade1Consumption": "8",
          "grade2Name": "Premium",
          "grade2Price": "1.8",
          "grade2Consumption": "7",
          "gradesCsv": "name,pricePerLitre,litresPer100Km\nRegular,1.5,8\nPremium,1.8,7\nThird grade,1.7,7.5"
        }
      },
      "experience": {
        "automatic": false,
        "single": false,
        "inputMaxLength": 500000,
        "inputMode": "text",
        "label": "Your text",
        "placeholder": "Type or paste your input…",
        "help": "Up to 500,000 characters. Review the settings before running.",
        "action": null
      },
      "mode": "explicit",
      "interactive": false
    },
    "execution": "Browser interface",
    "api": null,
    "browser_agent": {
      "supported": true,
      "name": "run_current_tool",
      "discovery": "WebMCP on the human page in a supporting browser",
      "verification": "See audit/API-AUDIT.md; availability is not verification"
    }
  },
  "markdown": "# Fuel grade cost comparison\n\n- Human page: https://happytails.ai/en/calculators/fuel-grade-cost-comparison/\n- Markdown: https://happytails.ai/en/calculators/fuel-grade-cost-comparison.md\n- Structured JSON: https://happytails.ai/agents/en/calculators/fuel-grade-cost-comparison/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `fuel-grade-cost-comparison` |\n| Category | calculators |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Use the visible action or interactive controls. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nCompare cost for the same entered distance using a separate consumption assumption for each grade. Guided inputs use the same ranges as CSV: price 0 to 10000 per litre, consumption 0.001 to 1000 L/100 km. Results include cost difference and break-even price against the first grade. No fuel-economy benefit is inferred from octane. Only compare fuels that meet the vehicle manufacturer requirements; cost does not establish suitability. Runs locally without uploads. Limit: 500000 combined input characters, 2000 records, 30 tariffs or grades, 30 tiers per tariff and 100 depreciation years. Complete JSON and JSON Pointer CSV exports are each capped at 2000000 characters and CSV at 200000 leaf records. Preview shows 200 report rows. Calculations stop after 10 seconds. Copy result copies the report text; downloads include source inputs, units, assumptions and complete results.\n\n### Inputs and settings\n\nNo free-text input is required. Use the file inputs and/or settings below.\n\n| Setting | Meaning | Control type | Default | Constraints |\n| --- | --- | --- | --- | --- |\n| `distanceKm` | Trip distance (km) | text | \"1000\" |  |\n| `currency` | Currency label | text | \"EUR\" |  |\n| `entryMode` | Grade entry | select | \"guided\" | Allowed: guided, csv |\n| `grade1Name` | Grade 1 name | text | \"Regular\" |  |\n| `grade1Price` | Grade 1 price per litre | text | \"1.5\" |  |\n| `grade1Consumption` | Grade 1 consumption (L/100 km) | text | \"8\" |  |\n| `grade2Name` | Grade 2 name | text | \"Premium\" |  |\n| `grade2Price` | Grade 2 price per litre | text | \"1.8\" |  |\n| `grade2Consumption` | Grade 2 consumption (L/100 km) | text | \"7\" |  |\n| `gradesCsv` | Fuel grades CSV | textarea | \"name,pricePerLitre,litresPer100Km\\nRegular,1.5,8\\nPremium,1.8,7\\nThird grade,1.7,7.5\" |  |\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\nCompare cost for the same entered distance using a separate consumption assumption for each grade. Guided inputs use the same ranges as CSV: price 0 to 10000 per litre, consumption 0.001 to 1000 L/100 km. Results include cost difference and break-even price against the first grade. No fuel-economy benefit is inferred from octane. Only compare fuels that meet the vehicle manufacturer requirements; cost does not establish suitability. Processing stays on your device in a cancellable worker with a 10-second timeout. Maximum 500000 combined input characters and 2000 records, with 30 tariffs or grades, 30 tiers per tariff and 100 depreciation years. Guided decimals allow up to six places without thousands separators. Full JSON and JSON Pointer CSV include all source inputs, units, assumptions and results; each file is capped at 2000000 characters and CSV at 200000 leaf records. All tariff totals precede the first 200 detail rows in the parking preview; other tables preview 200 rows. Software bounds are not vehicle capability claims. Results use floating-point arithmetic.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"fuel-grade-cost-comparison\",\n  \"category\": \"calculators\",\n  \"built\": true,\n  \"requirements\": \"Compare cost for the same entered distance using a separate consumption assumption for each grade. Guided inputs use the same ranges as CSV: price 0 to 10000 per litre, consumption 0.001 to 1000 L/100 km. Results include cost difference and break-even price against the first grade. No fuel-economy benefit is inferred from octane. Only compare fuels that meet the vehicle manufacturer requirements; cost does not establish suitability. Processing stays on your device in a cancellable worker with a 10-second timeout. Maximum 500000 combined input characters and 2000 records, with 30 tariffs or grades, 30 tiers per tariff and 100 depreciation years. Guided decimals allow up to six places without thousands separators. Full JSON and JSON Pointer CSV include all source inputs, units, assumptions and results; each file is capped at 2000000 characters and CSV at 200000 leaf records. All tariff totals precede the first 200 detail rows in the parking preview; other tables preview 200 rows. Software bounds are not vehicle capability claims. Results use floating-point arithmetic.\",\n  \"implementation\": {\n    \"fields\": [\n      {\n        \"key\": \"distanceKm\",\n        \"label\": \"Trip distance (km)\",\n        \"value\": \"1000\",\n        \"type\": \"text\",\n        \"inputMode\": \"decimal\",\n        \"maxLength\": 24,\n        \"help\": \"Use a decimal point, up to six decimal places and no thousands separators.\"\n      },\n      {\n        \"key\": \"currency\",\n        \"label\": \"Currency label\",\n        \"value\": \"EUR\",\n        \"type\": \"text\",\n        \"maxLength\": 3,\n        \"help\": \"Three uppercase letters. All entered prices use this currency.\"\n      },\n      {\n        \"key\": \"entryMode\",\n        \"label\": \"Grade entry\",\n        \"value\": \"guided\",\n        \"type\": \"select\",\n        \"values\": [\n          \"guided\",\n          \"csv\"\n        ],\n        \"labels\": {\n          \"guided\": \"Compare two grades\",\n          \"csv\": \"Compare 2 to 30 grades with CSV\"\n        }\n      },\n      {\n        \"key\": \"grade1Name\",\n        \"label\": \"Grade 1 name\",\n        \"value\": \"Regular\",\n        \"type\": \"text\",\n        \"maxLength\": 200,\n        \"showWhen\": {\n          \"entryMode\": [\n            \"guided\"\n          ]\n        }\n      },\n      {\n        \"key\": \"grade1Price\",\n        \"label\": \"Grade 1 price per litre\",\n        \"value\": \"1.5\",\n        \"type\": \"text\",\n        \"inputMode\": \"decimal\",\n        \"maxLength\": 24,\n        \"help\": \"Use a decimal point, up to six decimal places and no thousands separators.\",\n        \"showWhen\": {\n          \"entryMode\": [\n            \"guided\"\n          ]\n        }\n      },\n      {\n        \"key\": \"grade1Consumption\",\n        \"label\": \"Grade 1 consumption (L/100 km)\",\n        \"value\": \"8\",\n        \"type\": \"text\",\n        \"inputMode\": \"decimal\",\n        \"maxLength\": 24,\n        \"help\": \"Use a decimal point, up to six decimal places and no thousands separators.\",\n        \"showWhen\": {\n          \"entryMode\": [\n            \"guided\"\n          ]\n        }\n      },\n      {\n        \"key\": \"grade2Name\",\n        \"label\": \"Grade 2 name\",\n        \"value\": \"Premium\",\n        \"type\": \"text\",\n        \"maxLength\": 200,\n        \"showWhen\": {\n          \"entryMode\": [\n            \"guided\"\n          ]\n        }\n      },\n      {\n        \"key\": \"grade2Price\",\n        \"label\": \"Grade 2 price per litre\",\n        \"value\": \"1.8\",\n        \"type\": \"text\",\n        \"inputMode\": \"decimal\",\n        \"maxLength\": 24,\n        \"help\": \"Use a decimal point, up to six decimal places and no thousands separators.\",\n        \"showWhen\": {\n          \"entryMode\": [\n            \"guided\"\n          ]\n        }\n      },\n      {\n        \"key\": \"grade2Consumption\",\n        \"label\": \"Grade 2 consumption (L/100 km)\",\n        \"value\": \"7\",\n        \"type\": \"text\",\n        \"inputMode\": \"decimal\",\n        \"maxLength\": 24,\n        \"help\": \"Use a decimal point, up to six decimal places and no thousands separators.\",\n        \"showWhen\": {\n          \"entryMode\": [\n            \"guided\"\n          ]\n        }\n      },\n      {\n        \"key\": \"gradesCsv\",\n        \"label\": \"Fuel grades CSV\",\n        \"value\": \"name,pricePerLitre,litresPer100Km\\nRegular,1.5,8\\nPremium,1.8,7\\nThird grade,1.7,7.5\",\n        \"type\": \"textarea\",\n        \"maxLength\": 500000,\n        \"help\": \"Headers: name,pricePerLitre,litresPer100Km. Enter 2 to 30 uniquely named grades. Price: 0 to 10000 per litre. Consumption: 0.001 to 1000 L/100 km.\",\n        \"showWhen\": {\n          \"entryMode\": [\n            \"csv\"\n          ]\n        }\n      }\n    ],\n    \"input\": false,\n    \"presentation\": \"metrics\",\n    \"note\": \"Compare cost for the same entered distance using a separate consumption assumption for each grade. Guided inputs use the same ranges as CSV: price 0 to 10000 per litre, consumption 0.001 to 1000 L/100 km. Results include cost difference and break-even price against the first grade. No fuel-economy benefit is inferred from octane. Only compare fuels that meet the vehicle manufacturer requirements; cost does not establish suitability. Runs locally without uploads. Limit: 500000 combined input characters, 2000 records, 30 tariffs or grades, 30 tiers per tariff and 100 depreciation years. Complete JSON and JSON Pointer CSV exports are each capped at 2000000 characters and CSV at 200000 leaf records. Preview shows 200 report rows. Calculations stop after 10 seconds. Copy result copies the report text; downloads include source inputs, units, assumptions and complete results.\",\n    \"inputMaxLength\": 500000,\n    \"inputErrorCode\": \"VEHICLE_INPUT\",\n    \"example\": {\n      \"input\": \"\",\n      \"options\": {\n        \"distanceKm\": \"1000\",\n        \"currency\": \"EUR\",\n        \"entryMode\": \"guided\",\n        \"grade1Name\": \"Regular\",\n        \"grade1Price\": \"1.5\",\n        \"grade1Consumption\": \"8\",\n        \"grade2Name\": \"Premium\",\n        \"grade2Price\": \"1.8\",\n        \"grade2Consumption\": \"7\",\n        \"gradesCsv\": \"name,pricePerLitre,litresPer100Km\\nRegular,1.5,8\\nPremium,1.8,7\\nThird grade,1.7,7.5\"\n      }\n    },\n    \"experience\": {\n      \"automatic\": false,\n      \"single\": false,\n      \"inputMaxLength\": 500000,\n      \"inputMode\": \"text\",\n      \"label\": \"Your text\",\n      \"placeholder\": \"Type or paste your input…\",\n      \"help\": \"Up to 500,000 characters. Review the settings before running.\",\n      \"action\": null\n    },\n    \"mode\": \"explicit\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nCompare fuel grades using your own price and consumption assumptions for the same trip.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n### How to use Fuel grade cost comparison\n\n1. Enter trip distance, currency and the price and L/100 km consumption for two grades.\n2. For more grades, choose CSV mode and enter 2 to 30 uniquely named options.\n3. Compare total costs and break-even prices against the first grade. Download the complete report.\n\n## Useful next steps\n\n- [Parking cost calculator](https://happytails.ai/en/calculators/parking-cost-calculator/) ([Markdown](https://happytails.ai/en/calculators/parking-cost-calculator.md))\n\n- [Scooter charging calculator](https://happytails.ai/en/calculators/scooter-charging-calculator/) ([Markdown](https://happytails.ai/en/calculators/scooter-charging-calculator.md))\n\n- [Vehicle depreciation calculator](https://happytails.ai/en/calculators/vehicle-depreciation-calculator/) ([Markdown](https://happytails.ai/en/calculators/vehicle-depreciation-calculator.md))\n\n## Compare cost using separate consumption assumptions\n\nFor each grade, litres used equal distance in km times L/100 km divided by 100. Total cost multiplies those litres by price per litre. Each grade uses its own entered consumption; the tool does not infer an efficiency benefit from octane.\n\n### Read the break-even price\n\nThe break-even price per litre is the first grade cost per 100 km divided by the comparison grade consumption in L/100 km. It is a modeled cost threshold, not a suitability recommendation. Compare only fuels that meet the vehicle manufacturer requirements.\n"
}