How we calculate

By Daan Haket · researched and written with an AI assistant · updated 26 October 2026

Three kinds of number go into a result: your own inputs, prefilled defaults with a source, and modelling assumptions such as monthly averages. The result depends on all three.

The model

  1. We split your yearly use into three parts: daylight hours, cheap hours (if your tariff has them) and the rest, which we call peak.
  2. Each month we take an average day. Solar power goes to your daylight use first; anything left over can charge the battery or is exported.
  3. The battery covers peak use with stored solar, after losses (round-trip efficiency).
  4. If your tariff has a cheaper rate, the battery fills its remaining space at that rate and covers more of the peak.
  5. Yearly energy cost = peak kWh × peak rate + cheap kWh × cheap rate − exported kWh × export rate. The standing charge is the same with or without a battery, so we leave it out.
  6. Yearly saving = cost without the battery − cost with it. Payback = installed price ÷ yearly saving, optionally with a yearly reduction of the saving.
  7. With the result we show what would change the answer (each main figure 20% lower or higher, one at a time), the saving for smaller and bigger batteries with the same inputs, and, if you enter the warranty, whether the battery pays back within it. If it does not, we say so plainly: on those figures, don’t buy yet.
  8. If you say how much of your evening use you could move to the cheap hours yourself (timers on appliances or the car charger), we apply that to both situations. We then show what moving use saves on its own, and the battery’s saving and payback are only what it adds on top.
  9. If you pay with a loan, we show the monthly repayment (interest charged monthly at the yearly rate ÷ 12), the total interest and the cash left each month after the repayment. Payback time stays the cash-price figure; affordability is shown separately.

The steps above describe an allocation calculation, not a chronological simulation. We allocate surplus solar first, then cheap grid charging against the remaining daily capacity and peak-use budget. We do not track an hourly state of charge, carry stored energy between days, or simulate overnight pre-charging before the next day's solar. Real control settings, forecasts and the timing of use can therefore change the result.

What the model leaves out

How we check facts

Research is collected with a quote from the source page and its address. Before anything is published, a script fetches each source again and checks that the quote appears word for word and that every figure in our sentence appears in the quote. PDFs are checked from their text layer and page references. Where a table has no usable text layer, we inspect the rendered page and record that manual check. A source recheck date is shown only when its quote has been reconfirmed; a changed or inaccessible source needs editorial review before its figures are updated.

A matching quote proves we copied the source correctly. It does not prove the source is right, or that we caught every condition attached to a rate. That part is editorial work, and it is where we have made mistakes; they are listed below.

We do not test products ourselves and we say so on every battery guide. Manufacturer claims are written as “X states …”.

Corrections

Test cases you can check by hand

Four made-up households, not measurements. We worked out each answer by hand first; every build checks that the calculator still gives the same result. All four use 3,650 kWh a year (10 kWh a day, 40% in daylight), a 13.5 kWh battery at 90% round-trip efficiency, 26.32p peak and £6,500 installed.

CaseSaving a yearPaybackWorked by hand
No solar, cheap night rate£381.7417.0 yearsEvening use 6 kWh a day fits in the battery. Each kWh saves 26.32p − 8p ÷ 0.9 = 17.43p. 6 × 365 × 17.43p = £381.74 a year. £6,500 ÷ £381.74 = 17.0 years.
No solar, one rate all day£0.00neverNo price gap and no solar: there is nothing to move, so the saving is £0 and the battery never pays back.
3,650 kWh solar, one rate, 4.5p export£420.2215.5 years10 kWh solar a day (spread evenly), 4 kWh used in daylight, 6 kWh spare. Stored 6 kWh gives 5.4 kWh in the evening. Saving a day: 5.4 × 26.32p − 6 × 4.5p lost export = £1.15. × 365 = £420.22 a year. £6,500 ÷ £420.22 = 15.5 years.
3,650 kWh solar, 8p night rate, 4.5p export£458.3914.2 yearsAs above, plus the last 0.6 kWh of evening use comes from the battery charged at night: 0.6 ÷ 0.9 × 8p = 5.33p a day. Without battery: 6 kWh × 26.32p − 6 kWh × 4.5p = £1.31 a day. With: £0.05. Saving £1.26 a day = £458.39 a year. £6,500 ÷ £458.39 = 14.2 years.

Inputs and expected results as JSON: /api/v1/test-cases.json.

Data

The checked facts are published as JSON at /api/v1/. calculator.json describes the inputs and points to the model code itself, rekenaar.js, which is the same file the calculator runs. The model version is 2026-10-23 (monthly PVGIS profile, optional grid-charging power limit, optional load shifting without a battery).