{
  "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": "ev-charging-cost-calculator",
  "category": "electrical",
  "title": "EV Home Charging Cost Calculator",
  "description": "Estimate the cost per full charge and per mile of charging an electric vehicle at home.",
  "url": "https://craftquantities.com/calculators/electrical/ev-charging-cost-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/ev-charging-cost-calculator.json",
  "inputCount": 3,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-06",
  "citation": {
    "author": "Craft Quantities",
    "title": "EV Home Charging Cost Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-06",
    "url": "https://craftquantities.com/calculators/electrical/ev-charging-cost-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. EV Home Charging Cost Calculator. Version 1.0.1. Sources checked 2026-09-06. https://craftquantities.com/calculators/electrical/ev-charging-cost-calculator/",
      "apa": "Craft Quantities. (2026). EV Home Charging Cost Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/electrical/ev-charging-cost-calculator/",
      "harvard": "Craft Quantities (2026) EV Home Charging Cost Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/electrical/ev-charging-cost-calculator/",
      "bibtex": "@misc{craftquantities-calculators-electrical-ev-charging-cost-calculator,\n  author       = {{Craft Quantities}},\n  title        = {EV Home Charging Cost Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/electrical/ev-charging-cost-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "batteryCapacityKwh",
      "label": "Battery Capacity (kWh)",
      "type": "number",
      "defaultValue": 75,
      "min": 10,
      "max": 200,
      "step": 1,
      "help": "Your EV's usable battery capacity."
    },
    {
      "id": "costPerKwh",
      "label": "Electricity Rate ($/kWh)",
      "type": "number",
      "defaultValue": "",
      "min": 0.01,
      "max": 1,
      "step": 0.01,
      "help": "Your home electricity rate.",
      "money": {
        "role": "rate",
        "bookKey": "electricity"
      }
    },
    {
      "id": "milesPerCharge",
      "label": "Miles of Range per Full Charge",
      "type": "number",
      "defaultValue": 250,
      "min": 50,
      "max": 500,
      "step": 5,
      "help": "Your vehicle's rated range on a full charge."
    }
  ],
  "sources": [
    {
      "label": "Cost per full charge = battery capacity (kWh) x electricity rate ($/kWh); cost per mile = cost per full charge / miles of range per charge"
    }
  ],
  "testCases": [
    {
      "name": "75kWh battery, $0.15/kWh, 250mi range",
      "inputs": {
        "batteryCapacityKwh": 75,
        "costPerKwh": 0.15,
        "milesPerCharge": 250
      },
      "expected": 11.25,
      "toleranceDecimalPlaces": 2,
      "unit": "currency per full charge",
      "confidence": "medium",
      "steps": [
        {
          "label": "Energy per full charge",
          "value": 75,
          "unit": "kWh"
        },
        {
          "label": "Cost per 100 miles",
          "value": 4.5,
          "unit": "currency/100 miles"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "60kWh battery, $0.12/kWh, 200mi range",
      "inputs": {
        "batteryCapacityKwh": 60,
        "costPerKwh": 0.12,
        "milesPerCharge": 200
      },
      "expected": 7.2,
      "toleranceDecimalPlaces": 1,
      "unit": "currency per full charge",
      "confidence": "medium",
      "steps": [
        {
          "label": "Energy per full charge",
          "value": 60,
          "unit": "kWh"
        },
        {
          "label": "Cost per 100 miles",
          "value": 3.5999999999999996,
          "unit": "currency/100 miles"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
