How to calculate inflation (with examples)

The simple formulas behind every inflation calculator, with worked UK examples you can check yourself.

Latest UK CPI inflation: 3.6% (12 months to October 2026)

Every inflation calculator, including ours, uses a few simple formulas. Once you know them, you can check any result yourself using official price index data. Here’s how it works.

1. Adjusting an amount for inflation

Value in later year = Amount × (Index in later year ÷ Index in earlier year)

Example: what is £50 from 2005 worth in 2026? The CPI index was 78.1 in 2005 and 144.9 in October 2026:

£50 × (144.9 ÷ 78.1) = £50 × 1.8553 = £92.77

To go backwards in time, swap the indices: £50 today in 2005 money is £50 × (78.1 ÷ 144.9) = £26.95.

2. Calculating the inflation rate between two years

Inflation rate (%) = (Later index ÷ Earlier index − 1) × 100

Example: between 2021 and 2022 the CPI index rose from 111.6 to 121.7. (121.7 ÷ 111.6 − 1) × 100 = 9.1%.

The same formula works with prices instead of index numbers. If a loaf of bread rose from £1.20 to £1.45, its price inflation is (1.45 ÷ 1.20 − 1) × 100 = 20.8%.

3. Average annual inflation over several years

Dividing the total change by the number of years overstates the average because price rises compound. Use this instead:

Average annual rate = (Later index ÷ Earlier index)1 ÷ years − 1

Example: from 2000 to 2026 the CPI rose from 72.7 to 144.9, a total of 99.3% over 26 years. The average annual rate is (1.9931)1/26 − 1 = 2.69% a year – not 3.82%.

4. The real (inflation-adjusted) return

Real return = (1 + interest rate) ÷ (1 + inflation rate) − 1

If savings earn 4% while inflation is 3.6%, the real return is 1.04 ÷ 1.036 − 1 = 0.39%.

Where to find the index numbers

The ONS publishes the CPI index (series D7BT) and RPI index (series CHAW) every month. We publish the annual figures in full on our CPI index table and RPI index table.

Don’t want to do the maths? Our UK inflation calculator does it instantly, and the inflation rate calculator works out the rate between any two prices.

More articles

Inflation calculators

Leave a Reply

Your email address will not be published. Required fields are marked *