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
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
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:
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
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.