Fuel grade cost comparison
Open Fuel grade cost comparison on Happytails.ai. This view has the same page content and links, with explicit tool capabilities. Read the processing notes before using a tool.
Tool capabilities
{
"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.",
"helpParts": [
"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"
}
}Page guide
Compare fuel grades using your own price and consumption assumptions for the same trip.
How to use Fuel grade cost comparison
- Enter trip distance, currency and the price and L/100 km consumption for two grades.
- For more grades, choose CSV mode and enter 2 to 30 uniquely named options.
- Compare total costs and break-even prices against the first grade. Download the complete report.
Useful next steps
Compare cost using separate consumption assumptions
For 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.
Read the break-even price
The 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.