{
  "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": "off-grid-autonomy-calculator",
  "category": "solar-energy",
  "title": "Off-Grid Autonomy Calculator",
  "description": "Work out how long a battery bank runs a given load, and how much array is needed to replace it each day.",
  "url": "https://craftquantities.com/calculators/solar-energy/off-grid-autonomy-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/off-grid-autonomy-calculator.json",
  "inputCount": 5,
  "testCaseCount": 4,
  "sourceCount": 2,
  "lastVerified": "2026-08-27",
  "citation": {
    "author": "Craft Quantities",
    "title": "Off-Grid Autonomy Calculator",
    "version": "1.0.0",
    "sourcesChecked": "2026-08-27",
    "url": "https://craftquantities.com/calculators/solar-energy/off-grid-autonomy-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. Off-Grid Autonomy Calculator. Version 1.0.0. Sources checked 2026-08-27. https://craftquantities.com/calculators/solar-energy/off-grid-autonomy-calculator/",
      "apa": "Craft Quantities. (2026). Off-Grid Autonomy Calculator (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/solar-energy/off-grid-autonomy-calculator/",
      "harvard": "Craft Quantities (2026) Off-Grid Autonomy Calculator (Version 1.0.0). Available at: https://craftquantities.com/calculators/solar-energy/off-grid-autonomy-calculator/",
      "bibtex": "@misc{craftquantities-calculators-solar-energy-off-grid-autonomy-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Off-Grid Autonomy Calculator},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/solar-energy/off-grid-autonomy-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "bankKwh",
      "label": "Battery nameplate (kWh)",
      "type": "number",
      "defaultValue": 15,
      "min": 0.5,
      "max": 5000,
      "step": 0.5,
      "help": "Rated capacity of the bank."
    },
    {
      "id": "usablePercent",
      "label": "Usable share of nameplate (%)",
      "type": "number",
      "defaultValue": 85,
      "min": 20,
      "max": 100,
      "step": 1,
      "help": "Depth of discharge times round-trip efficiency."
    },
    {
      "id": "loadKw",
      "label": "Continuous load (kW)",
      "type": "number",
      "defaultValue": 0.5,
      "min": 0.01,
      "max": 500,
      "step": 0.01,
      "help": "Average continuous draw."
    },
    {
      "id": "arrayKw",
      "label": "Array size (kW DC)",
      "type": "number",
      "defaultValue": 4,
      "min": 0,
      "max": 1000,
      "step": 0.1,
      "help": "Nameplate DC of the array."
    },
    {
      "id": "peakSunHours",
      "label": "Peak sun hours per day",
      "type": "number",
      "defaultValue": 3.5,
      "min": 0.2,
      "max": 10,
      "step": 0.1,
      "help": "Daily solar resource at your site."
    }
  ],
  "sources": [
    {
      "label": "Daily array yield = rated DC watts × peak sun hours × system derate; NREL PVWatts methodology"
    },
    {
      "label": "Peak sun hours is the daily insolation in kWh/m² and varies by location and season — it is a site input, not a constant"
    }
  ],
  "testCases": [
    {
      "name": "15 kWh at 85% usable, 0.5 kW load",
      "inputs": {
        "bankKwh": 15,
        "usablePercent": 85,
        "loadKw": 0.5,
        "arrayKw": 4,
        "peakSunHours": 3.5
      },
      "expected": 25.5,
      "toleranceDecimalPlaces": 1,
      "unit": "hours",
      "confidence": "medium",
      "steps": [
        {
          "label": "Usable energy",
          "value": 12.75,
          "unit": "kWh"
        },
        {
          "label": "Days at this load",
          "value": 1.0625,
          "unit": "days"
        },
        {
          "label": "Daily consumption",
          "value": 12,
          "unit": "kWh"
        },
        {
          "label": "Daily generation after losses",
          "value": 12.04,
          "unit": "kWh"
        },
        {
          "label": "Daily surplus or shortfall",
          "value": 0.03999999999999915,
          "unit": "kWh"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "Lead-acid at 40% usable runs far less",
      "inputs": {
        "bankKwh": 15,
        "usablePercent": 40,
        "loadKw": 0.5,
        "arrayKw": 4,
        "peakSunHours": 3.5
      },
      "expected": 12,
      "toleranceDecimalPlaces": 0,
      "unit": "hours",
      "confidence": "medium",
      "steps": [
        {
          "label": "Usable energy",
          "value": 6,
          "unit": "kWh"
        },
        {
          "label": "Days at this load",
          "value": 0.5,
          "unit": "days"
        },
        {
          "label": "Daily consumption",
          "value": 12,
          "unit": "kWh"
        },
        {
          "label": "Daily generation after losses",
          "value": 12.04,
          "unit": "kWh"
        },
        {
          "label": "Daily surplus or shortfall",
          "value": 0.03999999999999915,
          "unit": "kWh"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "Double the load halves the autonomy",
      "inputs": {
        "bankKwh": 15,
        "usablePercent": 85,
        "loadKw": 1,
        "arrayKw": 4,
        "peakSunHours": 3.5
      },
      "expected": 12.75,
      "toleranceDecimalPlaces": 2,
      "unit": "hours",
      "confidence": "medium",
      "steps": [
        {
          "label": "Usable energy",
          "value": 12.75,
          "unit": "kWh"
        },
        {
          "label": "Days at this load",
          "value": 0.53125,
          "unit": "days"
        },
        {
          "label": "Daily consumption",
          "value": 24,
          "unit": "kWh"
        },
        {
          "label": "Daily generation after losses",
          "value": 12.04,
          "unit": "kWh"
        },
        {
          "label": "Daily surplus or shortfall",
          "value": -11.96,
          "unit": "kWh"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "A bigger bank runs longer",
      "inputs": {
        "bankKwh": 30,
        "usablePercent": 85,
        "loadKw": 0.5,
        "arrayKw": 4,
        "peakSunHours": 3.5
      },
      "expected": 51,
      "toleranceDecimalPlaces": 2,
      "unit": "hours",
      "confidence": "medium",
      "steps": [
        {
          "label": "Usable energy",
          "value": 25.5,
          "unit": "kWh"
        },
        {
          "label": "Days at this load",
          "value": 2.125,
          "unit": "days"
        },
        {
          "label": "Daily consumption",
          "value": 12,
          "unit": "kWh"
        },
        {
          "label": "Daily generation after losses",
          "value": 12.04,
          "unit": "kWh"
        },
        {
          "label": "Daily surplus or shortfall",
          "value": 0.03999999999999915,
          "unit": "kWh"
        }
      ],
      "basis": "ambiguous"
    }
  ]
}
