{
  "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": "solar-payback-period-calculator",
  "category": "solar-energy",
  "title": "Solar Payback Period Calculator",
  "description": "Estimate how many years it takes a solar panel system to pay for itself through energy savings.",
  "url": "https://craftquantities.com/calculators/solar-energy/solar-payback-period-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/solar-payback-period-calculator.json",
  "inputCount": 2,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-02",
  "citation": {
    "author": "Craft Quantities",
    "title": "Solar Payback Period Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-02",
    "url": "https://craftquantities.com/calculators/solar-energy/solar-payback-period-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. Solar Payback Period Calculator. Version 1.0.1. Sources checked 2026-09-02. https://craftquantities.com/calculators/solar-energy/solar-payback-period-calculator/",
      "apa": "Craft Quantities. (2026). Solar Payback Period Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/solar-energy/solar-payback-period-calculator/",
      "harvard": "Craft Quantities (2026) Solar Payback Period Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/solar-energy/solar-payback-period-calculator/",
      "bibtex": "@misc{craftquantities-calculators-solar-energy-solar-payback-period-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Solar Payback Period Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/solar-energy/solar-payback-period-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "systemCost",
      "label": "Total System Cost",
      "type": "number",
      "defaultValue": 15000,
      "min": 500,
      "max": 200000,
      "step": 100,
      "help": "The total installed cost, after any rebates or tax credits already applied.",
      "money": {
        "role": "amount"
      }
    },
    {
      "id": "annualEnergySavings",
      "label": "Annual Energy Cost Savings",
      "type": "number",
      "defaultValue": 1500,
      "min": 50,
      "max": 20000,
      "step": 50,
      "help": "How much you expect to save on electricity bills per year.",
      "money": {
        "role": "amount"
      }
    }
  ],
  "sources": [
    {
      "label": "Simple payback period (years) = total system cost / annual energy cost savings"
    }
  ],
  "testCases": [
    {
      "name": "$15,000 system, $1,500/year savings",
      "inputs": {
        "systemCost": 15000,
        "annualEnergySavings": 1500
      },
      "expected": 10,
      "toleranceDecimalPlaces": 0,
      "unit": "years",
      "confidence": "low",
      "steps": [],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "$20,000 system, $1,800/year savings",
      "inputs": {
        "systemCost": 20000,
        "annualEnergySavings": 1800
      },
      "expected": 11.111,
      "toleranceDecimalPlaces": 3,
      "unit": "years",
      "confidence": "low",
      "steps": [],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
