Calfiny

How Is Inflation Calculated?

A woman in her 40s moves through an indoor food market or shopping arcade with a tablet or clipboard, recording prices from a varied selection of stalls—such as fruit and vegetables, bakery products, clothing and household goods. It visually communicates that inflation is calculated by tracking changes in the prices of a broad basket of goods and services

This guide is part of our Savings Hub, where we explain the key ideas behind saving, interest and savings accounts to help you understand how different options work.

How Inflation Is Measured

Measuring inflation requires more than checking whether a few familiar prices have gone up. Households spend money across many different goods and services, and those prices do not all move in the same direction or by the same amount.

Inflation measures therefore bring a large number of price movements together. In the UK, this involves representing household spending, collecting prices, deciding how much influence different types of spending should have and combining the results into a price index. Changes in that index can then be expressed as an inflation rate. :contentReference[oaicite:0]{index=0}

From Prices to an Inflation Rate

An inflation rate is the end result of several connected stages rather than a simple average of individual price changes.

  1. Represent household spending

    A broad range of goods and services is used to represent the types of things households spend money on.

  2. Collect prices

    Prices are collected for representative items so changes can be tracked over time.

  3. Apply weights

    Different categories are given different importance according to their share of representative household spending.

  4. Build a price index

    The weighted price movements are combined into an index that represents the overall change in the measured price level.

  5. Compare periods

    The index for one period is compared with its value in an earlier period, such as the corresponding month a year before.

The key idea

Inflation is not calculated by averaging every price increase equally. It combines many price movements while accounting for the relative importance of different types of household spending.

Each stage has a different job. The goods and services represented affect what is being measured, weighting determines how strongly different areas of spending influence the result, and comparing index values allows the overall price movement to be expressed as a percentage.

The first place to start is the collection of goods and services commonly described as the inflation basket.

What Is the Inflation Basket?

Tracking every product and service bought by every household would be impractical. Inflation measures therefore use a representative selection of goods and services to help measure how consumer prices are changing.

This is commonly described as the inflation basket.

The basket covers many areas of household spending, including categories such as food, clothing, transport, housing-related costs, recreation and services. Representative items within those areas are used so changes in prices can be tracked over time.

The basket should not be thought of as one typical household’s actual shopping list. One person might spend a large proportion of their money on transport while another spends much more on a completely different category.

Instead, the basket is intended to represent consumer spending more broadly.

Its contents also need to change as spending habits change. New products and services can become significant parts of household expenditure, while others can become less important or disappear.

The UK’s consumer price inflation baskets are therefore reviewed and updated to help them remain representative of changing spending patterns.

Selecting representative goods and services is only part of the process, however. Treating every price movement as equally important would give a misleading picture because households spend much more on some categories than others.

That is where weights become important.

Why Different Prices Have Different Weights

Not every price change has the same influence when inflation is calculated.

Suppose the price of something households collectively spend a large amount of money on rises by 10%. Now imagine that the price of something representing a very small proportion of household expenditure also rises by 10%.

Although the percentage price increases are identical, their significance to overall household spending is not.

Inflation measures deal with this by applying weights. Categories representing a larger share of measured expenditure generally receive more weight and therefore have more influence on the overall index. Categories representing a smaller share receive less. The ONS similarly explains that weighting is used so the index reflects the relative importance of different items within household expenditure.

Weights do not have to remain permanently fixed. Spending patterns change, so the relative importance of different categories can change as well.

If households collectively begin spending a larger proportion of their money on a particular category, its relative importance within an inflation measure may increase. If the share of spending falls, its weight may decrease.

The ONS reviews and updates the basket and its associated expenditure weights to reflect changes in consumer spending.

Weighting is also one reason your own experience of rising prices may differ from a published inflation rate. Official weights represent broad patterns of expenditure rather than the exact budget of one individual household.

Once representative price movements have been collected and weighted, they can be brought together in a price index.

How a Price Index Is Built

A price index combines many price movements into a single measure that can be tracked over time.

Some prices may rise substantially, some may rise only slightly and others may fall. The index brings those movements together while taking account of their relative weights.

The important point is that the index number itself is a reference value.

If a price index stands at 120, that does not mean something costs £120. Nor does it mean prices have risen by 120%.

The number becomes useful when it is compared with the index at another point in time.

Suppose, for example, an index stands at 120 in an earlier period and later rises to 123.6.

That tells us the weighted price level represented by the index has increased. But the 3.6-point difference does not, by itself, tell us the inflation rate.

To find that, we need to calculate the increase relative to the earlier index value.

How Is the Inflation Rate Calculated?

Once a price index has been constructed, the basic percentage-change calculation is relatively straightforward.

The later index value is compared with its value in an earlier period, and the difference is expressed as a percentage of the earlier value.

Using our example:

Earlier index = 120

Later index = 123.6

The index has risen by 3.6 points. But inflation is not 3.6%, because that increase needs to be measured relative to the starting index of 120.

Percentage change

From a Price Index to an Inflation Rate

This simplified example shows how the percentage change in a price index becomes the inflation rate.

Earlier index 120
Later index 123.6
Index increase+3.6
Percentage change+3%
How it is calculated
01

Find the change

123.6 − 120
3.6
02

Divide by the starting value

3.6 ÷ 120
0.03
03

Convert to a percentage

0.03 × 100
3%
Inflation rate 3%
What this means

The weighted price level represented by the index is 3% higher than in the earlier comparison period. The inflation rate is the 3% percentage change in the index, not its 3.6-point increase.

The distinction between index points and percentage change matters.

An increase of 3.6 index points could represent different percentage increases depending on where the index started. Measuring the change relative to the earlier index value allows the movement to be expressed consistently as a percentage.

In simplified form, the calculation is:

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

In the example:

((123.6 − 120) ÷ 120) × 100 = 3%

There is still another important question, however: which two periods are being compared?

What Does an Annual Inflation Rate Compare?

When an annual inflation rate is reported for a particular month, it generally describes how the measured price level has changed compared with the corresponding month 12 months earlier.

It does not mean prices increased by the reported percentage during the latest month alone.

Suppose an index is 123.6 in July this year and was 120 in July last year.

Comparing those two index values produces an annual inflation rate of 3%.

The calculation therefore measures the change across the 12 months between the two Julys.

A monthly inflation rate answers a different question. Instead of comparing July this year with July last year, a monthly change might compare July with June.

Both calculations can be useful, but they describe price changes over different periods.

This also helps explain why an annual inflation rate can change even when prices have moved relatively little in the latest month. Each new annual figure uses a new pair of endpoints as the 12-month comparison moves forward.

For example, one month’s annual figure might compare July this year with July last year. The next month’s figure compares August this year with August last year. What happened to prices around the earlier comparison point can therefore affect how the new annual rate changes.

The important question when interpreting an inflation percentage is not simply what is the rate?, but also what period is being compared?

Do All Inflation Measures Use the Same Calculation?

The broad principle behind consumer price inflation measures is similar: representative price movements are collected, combined within an index and compared over time.

That does not mean every inflation index is constructed identically.

In the UK, you may encounter measures including the Consumer Prices Index (CPI), Consumer Prices Index including owner occupiers’ housing costs (CPIH) and Retail Prices Index (RPI).

Differences in coverage, weighting and calculation methodology mean different indices can produce different inflation rates for the same period.

This does not necessarily mean one of the figures is wrong. They may be measuring consumer price changes in different ways.

For the purposes of understanding the basic inflation calculation, the underlying idea remains the same: price movements are represented within an index, and changes in that index are measured over time.

The precise methodology can be considerably more complex than the simplified examples in this guide. The ONS uses detailed aggregation and weighting methods when constructing official UK consumer price indices.

CPI vs RPI: What’s the Difference? explains the differences between the main measures and why identifying the index behind an inflation figure matters.

Why Can Your Own Experience of Inflation Be Different?

A published inflation rate represents price changes across a broad pattern of consumer spending. Your own spending is unlikely to match those representative weights exactly.

Imagine, for example, that the prices of a particular category are rising considerably faster than the overall index.

Someone who spends a relatively large proportion of their budget in that category could experience a greater increase in their own costs than someone who spends very little on it.

The reverse can also be true.

This does not mean the official inflation figure is intended to reproduce the experience of every household. Consumer price indices are broad measures, while individual households have their own combinations of spending. The ONS similarly notes that no two households spend their money in exactly the same way.

That distinction is important when interpreting inflation. A headline rate tells you how the price level represented by that particular index has changed; it does not mean every household’s expenses increased by exactly the same percentage.

Why Inflation Reduces Your Purchasing Power explores what rising prices can mean for the amount your money is able to buy.

Calfiny’s Inflation Calculator serves a different purpose from the official inflation calculation described in this guide. It does not collect prices, construct a basket or calculate CPI, CPIH or RPI.

Instead, you provide an assumed inflation rate and the calculator uses that rate to explore how purchasing power could change over time. The inflation rate is therefore an input, not something the calculator measures. Because future inflation is unknown, its results are scenarios rather than forecasts.

Conclusion

Inflation is not calculated by simply taking a handful of price increases and finding their average.

Official inflation measures represent a broad range of household spending. Prices are collected for representative goods and services, different areas of expenditure are given appropriate weights, and those price movements are combined within an index.

Changes in the index can then be compared between two periods and expressed as a percentage. For an annual inflation rate, that commonly means comparing the index with its value 12 months earlier.

The basket and weights can change as spending patterns evolve, while different inflation measures can use different coverage and methodologies. This is why it matters to know both which index is being used and which periods are being compared.

The resulting inflation rate is a broad measure of changing consumer prices. It is not a statement that every price—or every household’s individual cost of living—has changed by exactly the same percentage.