{"success":true,"version":"v1","request":{"tool":"get_calculator_schema","calculator_id":"fuel-vs-ev-cost"},"result":{"entity_type":"calculator","id":"fuel-vs-ev-cost","calculator_id":"fuel-vs-ev-cost","canonical_url":"https://tttkmbb.com/energy/fuel-vs-ev-cost","name":"Fuel vs EV Cost Calculator","title":"Fuel vs EV Cost Calculator – Annual Running Cost of a Petrol or Diesel Car versus an Electric Car and Payback of the Price Premium","category":"energy","category_name":"Home Energy & Electrical","tool_name":"compare_fuel_vs_ev_cost","featured_mcp_tool":false,"description":"Compares the annual energy cost of a combustion car (L/100 km × fuel price) with an electric car (kWh/100 km × electricity price) over the same distance, and reports the savings, cost per km and the years needed to recover an EV price premium.","use_when":"You want to know how much an EV saves in fuel per year, the cost per kilometre of each car, or how long a higher purchase price takes to pay back from energy savings alone.","do_not_use_when":"You need total cost of ownership (insurance, maintenance, depreciation, taxes are not included), CO₂ comparison (use carbon-footprint-driving), or a single trip's fuel cost (use fuel-cost).","inputs":[{"name":"annual_distance_km","label":"Annual distance","type":"number","unit":"km","required":true,"max":1000000,"exclusive_min":0,"description":"Kilometres driven per year.","example":15000},{"name":"fuel_consumption_l_per_100km","label":"Fuel consumption","type":"number","unit":"L/100 km","required":true,"max":100,"exclusive_min":0,"description":"Combustion car consumption in litres per 100 km (use fuel-economy to convert from mpg).","example":7},{"name":"fuel_price_per_liter","label":"Fuel price","type":"number","unit":"per L","required":true,"min":0,"max":100,"description":"Price of petrol or diesel per litre in your currency.","example":1.8},{"name":"ev_consumption_kwh_per_100km","label":"EV consumption","type":"number","unit":"kWh/100 km","required":true,"max":100,"exclusive_min":0,"description":"Electric car consumption in kWh per 100 km including charging losses (typically 15–22).","example":16},{"name":"electricity_price_per_kwh","label":"Electricity price","type":"number","unit":"per kWh","required":true,"min":0,"max":100,"description":"Price per kWh for charging (home tariff or public-charger rate) in the same currency.","example":0.3},{"name":"ev_price_premium","label":"EV price premium","type":"number","required":false,"min":0,"max":10000000,"description":"Optional extra purchase price of the EV over the combustion car, to compute a simple payback time from the annual savings.","example":8000}],"outputs":[{"name":"fuel_annual_cost","label":"Fuel cost per year","type":"number","decimals":2,"description":"annual_distance_km / 100 × fuel_consumption_l_per_100km × fuel_price_per_liter."},{"name":"ev_annual_cost","label":"Electricity cost per year","type":"number","decimals":2,"description":"annual_distance_km / 100 × ev_consumption_kwh_per_100km × electricity_price_per_kwh."},{"name":"annual_savings","label":"Annual savings","type":"number","decimals":2,"description":"fuel_annual_cost − ev_annual_cost (negative when the EV costs more to run)."},{"name":"fuel_cost_per_km","label":"Fuel cost per km","type":"number","unit":"per km","decimals":4,"description":"fuel_annual_cost / annual_distance_km."},{"name":"ev_cost_per_km","label":"Electricity cost per km","type":"number","unit":"per km","decimals":4,"description":"ev_annual_cost / annual_distance_km."},{"name":"savings_percent","label":"Savings","type":"number","unit":"%","decimals":2,"description":"annual_savings / fuel_annual_cost × 100."},{"name":"payback_years","label":"Payback of price premium","type":"number","unit":"years","decimals":2,"description":"ev_price_premium / annual_savings; only when a premium is given and the savings are positive."}],"input_schema":{"type":"object","properties":{"annual_distance_km":{"description":"Kilometres driven per year. Unit: km.","type":"number","maximum":1000000,"exclusiveMinimum":0,"examples":[15000],"x-unit":"km"},"fuel_consumption_l_per_100km":{"description":"Combustion car consumption in litres per 100 km (use fuel-economy to convert from mpg). Unit: L/100 km.","type":"number","maximum":100,"exclusiveMinimum":0,"examples":[7],"x-unit":"L/100 km"},"fuel_price_per_liter":{"description":"Price of petrol or diesel per litre in your currency. Unit: per L.","type":"number","minimum":0,"maximum":100,"examples":[1.8],"x-unit":"per L"},"ev_consumption_kwh_per_100km":{"description":"Electric car consumption in kWh per 100 km including charging losses (typically 15–22). Unit: kWh/100 km.","type":"number","maximum":100,"exclusiveMinimum":0,"examples":[16],"x-unit":"kWh/100 km"},"electricity_price_per_kwh":{"description":"Price per kWh for charging (home tariff or public-charger rate) in the same currency. Unit: per kWh.","type":"number","minimum":0,"maximum":100,"examples":[0.3],"x-unit":"per kWh"},"ev_price_premium":{"description":"Optional extra purchase price of the EV over the combustion car, to compute a simple payback time from the annual savings.","type":"number","minimum":0,"maximum":10000000,"examples":[8000]}},"additionalProperties":false,"required":["annual_distance_km","fuel_consumption_l_per_100km","fuel_price_per_liter","ev_consumption_kwh_per_100km","electricity_price_per_kwh"]},"output_schema":{"type":"object","properties":{"fuel_annual_cost":{"description":"annual_distance_km / 100 × fuel_consumption_l_per_100km × fuel_price_per_liter.","type":"number"},"ev_annual_cost":{"description":"annual_distance_km / 100 × ev_consumption_kwh_per_100km × electricity_price_per_kwh.","type":"number"},"annual_savings":{"description":"fuel_annual_cost − ev_annual_cost (negative when the EV costs more to run).","type":"number"},"fuel_cost_per_km":{"description":"fuel_annual_cost / annual_distance_km. Unit: per km.","type":"number","x-unit":"per km"},"ev_cost_per_km":{"description":"ev_annual_cost / annual_distance_km. Unit: per km.","type":"number","x-unit":"per km"},"savings_percent":{"description":"annual_savings / fuel_annual_cost × 100. Unit: %.","type":"number","x-unit":"%"},"payback_years":{"description":"ev_price_premium / annual_savings; only when a premium is given and the savings are positive. Unit: years.","type":"number","x-unit":"years"}}},"formula":"fuel_annual_cost = annual_distance_km / 100 × fuel_consumption_l_per_100km × fuel_price_per_liter; ev_annual_cost = annual_distance_km / 100 × ev_consumption_kwh_per_100km × electricity_price_per_kwh; annual_savings = fuel_annual_cost − ev_annual_cost; savings_percent = annual_savings / fuel_annual_cost × 100; payback_years = ev_price_premium / annual_savings","method":"Energy cost only, at constant prices; the U.S. DOE vehicle cost calculator adds maintenance, insurance and depreciation for a full ownership comparison. Home charging tariffs and public fast-charging rates can differ by a factor of 2–3, so use the price you actually pay.","sources":[{"name":"U.S. DOE Alternative Fuels Data Center – Vehicle Cost Calculator","url":"https://afdc.energy.gov/calc/","type":"government","retrieved_at":"2026-09-24"},{"name":"Wikipedia – Fuel economy in automobiles","url":"https://en.wikipedia.org/wiki/Fuel_economy_in_automobiles","type":"reference","retrieved_at":"2026-09-24"}],"freshness":{"type":"static","max_age_seconds":null,"note":"Deterministic formula with fixed constants; results never go stale. Inputs supplied by the caller determine the output."},"examples":[{"name":"15,000 km/yr: 7 L/100 km at 1.80 vs 16 kWh/100 km at 0.30","inputs":{"annual_distance_km":15000,"fuel_consumption_l_per_100km":7,"fuel_price_per_liter":1.8,"ev_consumption_kwh_per_100km":16,"electricity_price_per_kwh":0.3},"expected":{"fuel_annual_cost":1890,"ev_annual_cost":720,"annual_savings":1170,"fuel_cost_per_km":0.126,"ev_cost_per_km":0.048,"savings_percent":61.9},"url":"https://tttkmbb.com/api/v1/calculate/fuel-vs-ev-cost?annual_distance_km=15000&fuel_consumption_l_per_100km=7&fuel_price_per_liter=1.8&ev_consumption_kwh_per_100km=16&electricity_price_per_kwh=0.3"},{"name":"20,000 km/yr with an 8,000 price premium","inputs":{"annual_distance_km":20000,"fuel_consumption_l_per_100km":8.5,"fuel_price_per_liter":1.65,"ev_consumption_kwh_per_100km":18,"electricity_price_per_kwh":0.25,"ev_price_premium":8000},"expected":{"fuel_annual_cost":2805,"ev_annual_cost":900,"annual_savings":1905,"payback_years":4.2,"savings_percent":67.91},"url":"https://tttkmbb.com/api/v1/calculate/fuel-vs-ev-cost?annual_distance_km=20000&fuel_consumption_l_per_100km=8.5&fuel_price_per_liter=1.65&ev_consumption_kwh_per_100km=18&electricity_price_per_kwh=0.25&ev_price_premium=8000"}],"faq":[{"q":"Which EV consumption should I enter?","a":"A figure that includes charging losses, such as the WLTP/EPA rating or your wall-meter reading; dashboard values understate grid energy by roughly 10 %."},{"q":"Does the payback include maintenance or resale value?","a":"No. It divides the price premium by energy savings only; EVs usually have lower maintenance and possibly different depreciation, which shorten or lengthen the real payback."},{"q":"My fuel economy is in mpg – what do I enter?","a":"Convert with the fuel-economy calculator: L/100 km = 235.215 / mpg (US) or 282.481 / mpg (UK)."}],"tags":["ev vs petrol cost","electric car savings","fuel cost comparison","cost per km","ev payback","gas vs electric"],"related":[{"calculator_id":"fuel-cost","reason":"Fuel cost of a single trip."},{"calculator_id":"carbon-footprint-driving","reason":"CO₂ emissions of the same annual distance."},{"calculator_id":"ev-range-efficiency","reason":"Convert the EV's efficiency units before entering kWh/100 km."}],"links":{"html":"https://tttkmbb.com/energy/fuel-vs-ev-cost","markdown":"https://tttkmbb.com/energy/fuel-vs-ev-cost.md","json":"https://tttkmbb.com/energy/fuel-vs-ev-cost.json","api":"https://tttkmbb.com/api/v1/calculate/fuel-vs-ev-cost","schema":"https://tttkmbb.com/api/v1/calculators/fuel-vs-ev-cost","openapi":"https://tttkmbb.com/openapi.json","mcp":"https://tttkmbb.com/mcp"},"version":"v1","updated_at":"2026-09-24"},"timestamp":"2026-09-24T03:49:04Z"}