Earlier this year, the Bank of England said that it expects inflation to rise to 3.7% in the third quarter, before starting to cool into next year.

Inflation forecast to remain broadly flat over next few months, leaving door open for August interest rate cut

Core inflation, which excludes more volatile energy, food, alcohol and tobacco prices, rose by 3.5% in the year to May.