Calculators
Solar PV savings & CO2 calculator API
Estimate rooftop solar output and value: annual kWh = systemKw x peak-sun-hours/day x 365 x performance-ratio (default 0.8 derate); annual savings = kWh x electricity price; CO2 avoided = kWh x grid intensity; payback = install cost / annual savings. Returns annual kWh, USD saved, kg/tonnes CO2 avoided, payback years and tree equivalents. Answers 'how much will solar save me','CO2 avoided by a 5kW array','solar payback period','annual output of my panels'.
Price$0.01per request
MethodPOST
Route/v1/calc/carbon-solar-savings
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
carbonsolarpvrenewablesavingsco2energypayback
API URL
Integration docshttps://x402.hexl.dev/v1/calc/carbon-solar-savingsExample request
{
"systemKw": 5,
"installCostUsd": 12000
}Example response
{
"systemKw": 5,
"sunHoursPerDay": 4.5,
"performanceRatio": 0.8,
"gridKgCO2PerKwh": 0.4,
"electricityPriceUsdPerKwh": 0.15,
"annualKwh": 6570,
"annualSavingsUsd": 985.5,
"annualKgCO2eAvoided": 2628,
"annualTonnesCO2eAvoided": 2.628,
"equivalentTrees": 125.14,
"installCostUsd": 12000,
"paybackYears": 12.18
}Input schema
{
"type": "object",
"required": [
"systemKw"
],
"properties": {
"systemKw": {
"type": "number",
"examples": [
5
]
},
"sunHoursPerDay": {
"type": "number",
"default": 4.5
},
"performanceRatio": {
"type": "number",
"default": 0.8
},
"gridKgCO2PerKwh": {
"type": "number",
"default": 0.4
},
"electricityPriceUsdPerKwh": {
"type": "number",
"default": 0.15
},
"installCostUsd": {
"type": "number",
"examples": [
12000
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}