Forward Inflation Index

Calculates the forward US consumer price index (CPI-U, not seasonally adjusted) of every coming month: the price level the inflation swap rates the Treasury and TIPS curves imply, with the monthly seasonality of the CPI.

The zero-coupon inflation swap rates fix the growth of the index over whole years (see get_inflation_swap_rate). Between them, prices rise faster in some months than in others, so each month’s forward index is moved by its seasonal factor relative to that of the base month (Belgrade, Benhamou and Koehler, 2004; Kerkhof, 2005). The seasonal factors are estimated from the CPI history: the average log change of each calendar month above the average of all months, accumulated over the year and scaled so that the twelve factors multiply to 1.

The formula is as follows:

\[I(m) = \frac{I(0) \cdot \left(1 + K\left(\frac{m}{12}\right)\right)^{\frac{m}{12}} \cdot S_{monthofm}}{S_{basemonth}}\] \[K(T) = \frac{1 + n(T)}{1 + r(T)} - 1\] \[s_{k} = \operatorname{MEAN}\left(\ln\left(\frac{I_{t}}{I_{t-1}}\right) \;\text{in calendar month}\; k\right) - \operatorname{MEAN}\left(\ln\left(\frac{I_{t}}{I_{t-1}}\right)\right)\] \[S_{k} = \exp(s_{1} + \ldots + s_{k}),\;\; \text{scaled so that PRODUCT}(S_{k}) = 1\]

where I(0) is the CPI of the base month, m the months after it, K the annually compounded zero-coupon inflation swap rate (interpolated linearly between whole years), n and r the annually compounded nominal and real zero rates of the Treasury and TIPS curves and S the seasonal factors (all 1 without seasonality). The base month is the third month before the date’s month, the CPI the reference CPI of TIPS starts from on the first of the month (31 CFR 356), so the breakevens price the inflation from it on.

Also known as: forward CPI, CPI fixing curve, inflation index curve, seasonal adjustment of inflation swaps.

Example · 2026

Install the Finance Toolkit with pip install financetoolkit -U, then call get_forward_inflation_index:

from financetoolkit import FixedIncome

fixedincome = FixedIncome(start_date="2026-10-01", end_date="2026-11-20")

fixedincome.get_forward_inflation_index(years=1)

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

What US CPI levels, month by month for the coming year, did inflation swaps price in on 20 November 2026?

Which returns:

Parameters

get_forward_inflation_index accepts the following parameters.

ParameterTypeDescriptionExample
datestr | NoneThe day (YYYY-MM-DD) of the curves, or the last day before it with a real yield curve. Defaults to None, the end date."2025-03-31"
yearsintThe number of years of months after the base month. Defaults to 5.5
seasonalityboolWhether to apply the monthly seasonal factors. Defaults to True.True
seasonality_yearsintThe years of CPI history before the base month the seasonal factors are estimated on. The keyless BLS API covers about three years; a FRED API key gives the rest. Defaults to 10.10
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the rounding of the class.2
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column

References

Share