{
  "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": "kwh-to-running-cost-calculator",
  "category": "financial-adjacent",
  "title": "kWh to Running Cost Calculator",
  "description": "Turn electricity consumption in kWh into a running cost at the unit rate on your own bill.",
  "url": "https://craftquantities.com/calculators/financial-adjacent/kwh-to-running-cost-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/kwh-to-running-cost-calculator.json",
  "inputCount": 2,
  "testCaseCount": 3,
  "sourceCount": 2,
  "lastVerified": "2026-09-16",
  "citation": {
    "author": "Craft Quantities",
    "title": "kWh to Running Cost Calculator",
    "version": "1.1.0",
    "sourcesChecked": "2026-09-16",
    "url": "https://craftquantities.com/calculators/financial-adjacent/kwh-to-running-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. kWh to Running Cost Calculator. Version 1.1.0. Sources checked 2026-09-16. https://craftquantities.com/calculators/financial-adjacent/kwh-to-running-cost-calculator/",
      "apa": "Craft Quantities. (2026). kWh to Running Cost Calculator (Version 1.1.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/financial-adjacent/kwh-to-running-cost-calculator/",
      "harvard": "Craft Quantities (2026) kWh to Running Cost Calculator (Version 1.1.0). Available at: https://craftquantities.com/calculators/financial-adjacent/kwh-to-running-cost-calculator/",
      "bibtex": "@misc{craftquantities-calculators-financial-adjacent-kwh-to-running-cost-calculator,\n  author       = {{Craft Quantities}},\n  title        = {kWh to Running Cost Calculator},\n  version      = {1.1.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/financial-adjacent/kwh-to-running-cost-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "kwh",
      "label": "Consumption (kWh)",
      "type": "number",
      "defaultValue": 100,
      "min": 0,
      "max": 1000000,
      "step": 1,
      "help": "The energy consumed in kilowatt-hours."
    },
    {
      "id": "ratePerKwh",
      "label": "Unit rate (per kWh)",
      "type": "number",
      "defaultValue": "",
      "min": 0,
      "max": 10,
      "step": 0.001,
      "help": "The price of one kWh on your bill.",
      "money": {
        "role": "rate",
        "bookKey": "electricity"
      }
    }
  ],
  "sources": [
    {
      "label": "Running cost is the product of energy consumed in kilowatt-hours and the unit rate charged per kilowatt-hour"
    },
    {
      "label": "Unit rates are set per supplier and per tariff and are not standardised; several markets now vary them by time of day. Take the figure from your own bill."
    }
  ],
  "testCases": [
    {
      "name": "100 kWh at 0.25 per kWh costs 25",
      "inputs": {
        "kwh": 100,
        "ratePerKwh": 0.25
      },
      "expected": 25,
      "toleranceDecimalPlaces": 6,
      "unit": "currency",
      "confidence": "high",
      "steps": [
        {
          "label": "Energy consumed",
          "value": 100,
          "unit": "kWh"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "1,000 kWh at 0.15 per kWh costs 150",
      "inputs": {
        "kwh": 1000,
        "ratePerKwh": 0.15
      },
      "expected": 150,
      "toleranceDecimalPlaces": 6,
      "unit": "currency",
      "confidence": "high",
      "steps": [
        {
          "label": "Energy consumed",
          "value": 1000,
          "unit": "kWh"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "Energy at a zero rate costs nothing",
      "inputs": {
        "kwh": 500,
        "ratePerKwh": 0
      },
      "expected": 0,
      "toleranceDecimalPlaces": 8,
      "unit": "currency",
      "confidence": "high",
      "steps": [
        {
          "label": "Energy consumed",
          "value": 500,
          "unit": "kWh"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    }
  ]
}
