{"uid":"cap_pyrch2A_aZ10sSNH3TuH7","slug":"ev-efficiency-calculator-c6da2c8a","name":"EV Efficiency Calculator","description":"EV efficiency in kWh per 100 miles, miles per kWh, Wh per km and MPGe, range from battery size, and cost versus a gas car.","url":"https://automotive-calc.x402tookit.com/ev-efficiency?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["efficiency","unit"],"properties":{"unit":{"type":"string","description":"kwh_per_100mi, mi_per_kwh, wh_per_km, kwh_per_100km or mpge"},"gasMpg":{"type":"number","description":"A gas car's mpg, to compare running cost"},"batteryKwh":{"type":"number","description":"Usable battery in kWh, for range"},"efficiency":{"type":"number","description":"The efficiency figure"},"annualMiles":{"type":"number","description":"Miles a year, 100 to 200000 (default 12000)"},"pricePerKwh":{"type":"number","description":"Electricity price per kWh"},"gasPricePerGallon":{"type":"number","description":"Gasoline price per gallon (with gasMpg)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"mpge":{"type":["null","number"]},"source":{"type":["null","string"]},"rangeKm":{"type":["null","number"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"whPerKm":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"kmPerKwh":{"type":["null","number"]},"annualKwh":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"rangeMiles":{"type":["null","number"]},"costPerMile":{"type":["null","number"]},"kwhPer100Km":{"type":["null","number"]},"milesPerKwh":{"type":["null","number"]},"gasAnnualCost":{"type":["null","number"]},"gasCostPerMile":{"type":["null","number"]},"kwhPer100Miles":{"type":["null","number"]},"annualEnergyCost":{"type":["null","number"]},"annualSavingsVsGas":{"type":["null","number"]},"kwhPerGallonEquivalent":{"type":["null","number"]},"breakEvenElectricityPricePerKwh":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Qkst7ABeeeXWFRV-I-_7f","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an EV efficiency figure between units and computes range, annual energy cost, and savings versus a gas car.","exampleAgentPrompt":"My Tesla Model 3 does 4.1 miles per kWh and has a 75 kWh usable battery — can you convert that to MPGe and kWh per 100 miles, estimate the range, and show me the annual cost at $0.13 per kWh versus a gas car getting 32 MPG at $3.50 a gallon, driving 12,000 miles a year?","exampleUseCases":[{"title":"EV vs gas car cost comparison","prompt":"I drive 15,000 miles a year and I'm deciding between an EV that gets 3.8 mi/kWh and my current car that does 28 MPG — electricity is $0.14 per kWh and gas is $3.60 a gallon, can you tell me the annual cost difference and savings?"},{"title":"Range estimate from battery size","prompt":"My EV has a 64 kWh usable battery and an efficiency of 250 Wh per km — how many miles and km of range do I get on a full charge, and what is that in MPGe?"},{"title":"Convert efficiency units for spec sheet","prompt":"I need to convert 6.3 kWh per 100 km into all the other EV efficiency units — miles per kWh, Wh per km, kWh per 100 miles, and MPGe — so I can compare it against US-spec vehicles."}],"resultDescription":"Returns the input efficiency expressed in all five unit formats (kWh/100mi, mi/kWh, Wh/km, kWh/100km, MPGe), estimated range in miles and km if battery size is provided, annual kWh consumed, annual electricity cost, cost per mile, and — if gas car details are supplied — the gas car's annual cost, gas cost per mile, and annual savings versus gas. Also includes a human-readable summary and disclaimer.","failureModes":["Missing required 'efficiency' or 'unit' query parameters returns an error","Invalid unit string (not one of the five accepted enum values) causes a validation error","Nonsensical efficiency values (e.g. zero or negative) may return null or degenerate outputs","If batteryKwh is omitted, range fields will be null","If gasMpg is omitted, gas-comparison fields will be null","Payment not provided or insufficient USDC causes a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need to convert an EV efficiency figure between any combination of kWh/100mi, mi/kWh, Wh/km, kWh/100km, and MPGe, or when you want to compute range from battery capacity, or when you need a cost-vs-gas comparison — all in a single call. Prefer it over manual calculation whenever multiple output units or cost comparisons are needed simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:11:24.081Z","isFirstParty":false,"canonicalSlug":"ev-efficiency-calculator-c6da2c8a"}