← Back to calculator

Heat pump calculator: methodology

Version 1.1, last changed 25 November 2026 · change log

We aim to be radically transparent about how this calculator works. Every formula, default value, and data source is documented below. If you disagree with any of our assumptions, you can override them in the calculator inputs.

The calculation, step by step

1. Annual heat demand

We start with your annual gas usage in kWh (from your bill or annual statement) and convert that to heat actually delivered to your home:

heat demand (kWh) = gas usage × boiler efficiency

We default to 85% boiler efficiency, a conservative view of the boiler. A well-set-up modern condensing boiler manages about 90% over a season, which is the figure our heat pump vs gas guide uses, but cycling, hot water demand and oversizing pull many real boilers lower. At 90% the heat demand, and so the heat pump’s running cost, would come out about 6% higher than the calculator shows.

2. Heat pump electricity needed

HP electricity (kWh) = heat demand ÷ SCOP

SCOP is the Seasonal Coefficient of Performance - how much heat your heat pump produces per unit of electricity, averaged across a year. We default to 3.0 conservatively. MCS-installed heat pumps typically achieve 3.0-3.5 in real UK homes; well-designed systems with low-flow temperatures achieve 3.5-4.0+.

3. Annual cost comparison

current cost = (gas usage × gas rate) + (gas standing charge × 365)
HP cost = (HP electricity × electricity rate) + standing charge contribution

Standing charge handling is nuanced. If you keep your gas supply, you continue paying the gas standing charge regardless. If you remove gas entirely (an option for full electrification), you save the gas standing charge - but only the actual gas standing charge, since you were already paying electricity standing for the rest of your home.

4. Payback period

net install cost = install cost - grant
payback years = net install cost ÷ annual saving

This is simple payback: today’s saving, repeated every year. It doesn’t discount future savings for the time value of money, and it doesn’t assume energy prices rise or fall. Those two pull in opposite directions, but by amounts nobody can know in advance, so there’s no reason to expect them to cancel. Treat the figure as a rough guide to the order of magnitude, not an investment appraisal: a few years of prices moving against the heat pump, or in its favour, changes it substantially. When the payback comes out longer than the 20 years or so a heat pump typically lasts, the calculator says “over 20 years” rather than quoting a precise figure that would never be reached.

5. CO₂ savings

gas CO₂ = gas usage × 184 g/kWh
HP CO₂ = HP electricity × 124 g/kWh (UK grid average)
saving = gas CO₂ - HP CO₂

Gas combustion factor (184 gCO₂/kWh) from DESNZ greenhouse gas reporting conversion factors. UK grid factor (124 gCO₂/kWh) is the 2025 annual average from NESO. If the grid keeps decarbonising as planned, lifetime CO₂ savings would be higher than this calculation shows.

Filling it in from your energy certificate

In England and Wales you can find the home’s Energy Performance Certificate by postcode. The lookup uses the Ministry of Housing, Communities and Local Government’s energy performance of buildings data and shows the latest certificate for each home at the postcode. The calculator takes the certificate’s space and water heating demand and divides it by the 85% boiler efficiency it assumes, giving the fuel a boiler would burn to meet it. It sets the grant to £9,000 when the certificate shows oil or LPG heating and no mains gas, which is the Boiler Upgrade Scheme’s off-grid rate until 31 March 2027, and £7,500 otherwise. If the heating isn’t gas, you enter your own fuel price.

The postcode, and then the certificate number, go to our server, which asks the register and sends back only the fields the calculator uses. We don’t store or log any of it; the privacy policy has the detail. A certificate models a typical household in the home as it was when assessed, so it’s a starting point: your own bills or meter readings are better if you have them. Using it is optional.

Address data © Ordnance Survey and Royal Mail Group Limited, who reserve all their copyright, database rights, trademarks and other intellectual property rights; published by MHCLG with their consent, for purposes related to the energy performance of buildings. Other certificate data is under the Open Government Licence v3.0.

A worked example

One home taken through the calculation by hand, at today’s rates, so you can check every step with a calculator of your own.

Worked example · check it yourself

A gas-heated home that keeps its gas supply

A home burning 12,000 kWh of gas a year, at today’s price cap rates, with the calculator’s default boiler efficiency and SCOP.

Gas used a year
12,000 kWh
Gas unit rate
7.97p
Electricity unit rate
26.32p
Boiler efficiency
85%
Heat pump SCOP
3.0
Install cost, grant
£12,000, £7,500
Gas supply
Kept, so standing charges are left out
  1. 01

    Heat the home needs

    12,000 × 0.85

    10,200 kWh

  2. 02

    Heat pump electricity

    10,200 ÷ 3.0

    3,400 kWh

  3. 03

    Gas cost now

    12,000 × 7.97p

    £956.40

  4. 04

    Heat pump running cost

    3,400 × 26.32p

    £894.88

  5. 05

    Saving a year

    £956.40 − £894.88

    £61.52

  6. 06

    Payback

    £4,500 ÷ £61.52

    73.15 years, longer than a heat pump usually lasts

Saving a year

£61.52

The calculator, same inputs: Saving a year £61.52 · Payback, years 73.15 years (the calculator shows this as “over 20 years”).

Any small gap is rounding: each step above is rounded as you’d write it down, while the calculator carries every digit. Our tests redo this example against the calculator’s code each time the site is built, and the build stops if any figure is further apart than its allowance for rounding (saving a year £0.02, payback, years 0.01 years).

Try your own numbers

Important things this calculator does not do

Data sources

Updates and changes

Tariff rates are updated daily from the Octopus Energy public API. Ofgem price cap rates are updated within a week of each quarterly announcement. Grant scheme rules are reviewed quarterly. Methodology changes are documented in the project’s public commit history.

Found a problem with the calculation? It matters - please email hello@energycosting.co.uk and we’ll respond within a few days.