{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/ca/ev-charging/schema.json",
  "title": "EV Charging Cost and Time Calculator — Canada inputs",
  "description": "Separate energy arriving in the battery from energy bought at the meter, and compare annual energy spending on the same driving distance. CAD planning view; stated limitations apply.",
  "type": "object",
  "properties": {
    "unitSystem": {
      "title": "Measurement system",
      "type": "string",
      "default": "metric",
      "enum": [
        "imperial",
        "metric"
      ],
      "x-optionLabels": {
        "imperial": "Imperial (US gallons / short tons where relevant)",
        "metric": "Metric"
      }
    },
    "batteryCapacity": {
      "title": "Usable battery capacity, kWh",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 60,
      "minimum": 0.01,
      "maximum": 10000,
      "x-step": 0.01
    },
    "startPercent": {
      "title": "Starting state of charge",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 20,
      "minimum": 0,
      "maximum": 100,
      "x-step": 0.1,
      "x-unit": "percent"
    },
    "endPercent": {
      "title": "Target state of charge",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 80,
      "minimum": 0,
      "maximum": 100,
      "x-step": 0.1,
      "x-unit": "percent"
    },
    "wallPower": {
      "title": "Average sustained wall charging power, kW",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 7,
      "minimum": 0.01,
      "maximum": 1000,
      "x-step": 0.01
    },
    "annualDistance": {
      "title": "Annual driving distance",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 20000,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-suffix": "km"
    },
    "evConsumption": {
      "title": "Vehicle battery consumption",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 18,
      "minimum": 0.01,
      "maximum": 1000000000000,
      "x-suffix": "kWh/100 km"
    },
    "chargeEfficiency": {
      "title": "Wall-to-battery charging efficiency",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 90,
      "minimum": 0,
      "maximum": 100,
      "x-step": 0.1,
      "x-unit": "percent"
    },
    "electricityRate": {
      "title": "Electricity price per wall kWh",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0.2,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "fuelConsumption": {
      "title": "Comparison fuel consumption",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 7,
      "minimum": 0.01,
      "maximum": 1000000000000,
      "x-suffix": "L/100 km"
    },
    "fuelPrice": {
      "title": "Fuel price per volume unit",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 1.6,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-prefix": "CAD",
      "x-suffix": "/L",
      "x-unit": "currency"
    }
  },
  "required": [
    "batteryCapacity",
    "startPercent",
    "endPercent",
    "wallPower",
    "annualDistance",
    "evConsumption",
    "chargeEfficiency",
    "electricityRate",
    "fuelConsumption",
    "fuelPrice"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "20.16.0",
    "calculatorUrl": "https://askcalculators.com/ca/ev-charging/",
    "queryExample": "https://askcalculators.com/ca/ev-charging/?unitSystem=metric&batteryCapacity=60&startPercent=20&endPercent=80&wallPower=7&annualDistance=20000&evConsumption=18&chargeEfficiency=90&electricityRate=0.2&fuelConsumption=7&fuelPrice=1.6",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "wall energy = usable battery capacity × state-of-charge increase ÷ charging efficiency.",
      "note": "Inputs are converted to canonical units before evaluating this stated formula."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/v20-ca-ev-charging.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "20.16.0",
      "referenceCoverage": "references-listed",
      "releaseTestScope": "Catalog and regression checks are not a professional formula audit; consult release evidence.",
      "historicalMetadataDate": "",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "batteryAdded": {
        "title": "Energy added to battery, kWh",
        "type": "number",
        "x-format": "number",
        "x-digits": 2
      },
      "wallEnergy": {
        "title": "Purchased wall electricity, kWh",
        "type": "number",
        "x-format": "number",
        "x-digits": 2
      },
      "chargeCost": {
        "title": "Modeled charging-session cost",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      },
      "hours": {
        "title": "Idealized charging time, hours",
        "type": "number",
        "x-format": "number",
        "x-digits": 2
      },
      "wallKwh": {
        "title": "Annual wall electricity, kWh",
        "type": "number",
        "x-format": "number",
        "x-digits": 2
      },
      "evEnergyCost": {
        "title": "Annual EV charging cost",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      },
      "fuelEnergyCost": {
        "title": "Annual comparison fuel cost",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      },
      "energySaving": {
        "title": "Annual energy-cost saving",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2,
        "x-primary": true
      }
    }
  }
}
