> For the complete documentation index, see [llms.txt](https://www.bluegamma.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.bluegamma.io/documentation/pricers/inflation-swap-pricer.md).

# Inflation Swap Pricer

Price bond-style and revenue-style inflation swaps on UK RPI and euro area HICPx at an indicative mid, with cash flows, index path and risk.

The **Inflation Swap Pricer** gives an indicative mid price for the two inflation swaps companies use to match debt or revenue to inflation:

* [**Bond style**](https://www.bluegamma.io/documentation/pricers/inflation-swap-pricer/bond-style.md): turns a fixed-rate bond into index-linked debt. You receive the bond's nominal coupon and pay a real coupon on a notional that grows with inflation. At maturity you also pay that growth, the accretion.
* [**Revenue style**](https://www.bluegamma.io/documentation/pricers/inflation-swap-pricer/revenue-style.md): swaps inflation-linked revenue for revenue that rises at a fixed rate each year. You pay the indexed revenue and receive the fixed escalation.

In both, you pay inflation. The pricer finds the par rate, or values a trade you already have, from the live zero-coupon breakeven curve.

Open it from the sidebar under **Pricers → Inflation Swap Pricer**.

***

### 1. Choose the Structure and Index

Pick **Bond style** or **Revenue style** under **Structure**, then the **Index**. Picking an index sets its market conventions, which you can change under **Advanced options**:

| Index              | Discounting | Index lag | Day count | Payments    |
| ------------------ | ----------- | --------- | --------- | ----------- |
| **UK RPI (GBP)**   | SONIA       | 2 months  | ACT/365F  | Semi-annual |
| **EU HICPx (EUR)** | €STR        | 3 months  | 30/360    | Annual      |

UK RPI is the all-items Retail Prices Index. EU HICPx is the euro area Harmonised Index of Consumer Prices excluding tobacco, the index euro inflation swaps settle on.

***

### 2. Set the Term

**Tenor** starts the trade at spot: 1Y, 2Y, 3Y, 4Y, 5Y, 7Y, 10Y, 12Y, 15Y, 20Y, 25Y or 30Y. Turn on **Exact dates** to enter a **Start date** and **End date** from a quote or termsheet, including forward starts. If the dates do not divide into whole periods, **Stub** sets whether the odd period falls at the front or the back.

**Payments** sets how often both legs pay: **Annual**, **Semi-annual** or **Quarterly**.

***

### 3. Solve Par or Value a Trade

Leave the rate field blank to solve the par rate: the **real coupon** for bond style, the **escalation rate** for revenue style. Both are mid rates, with no bank spread.

To value a trade you already have, enter its rate. Under **Advanced options → Existing trade**, set the **Original start**: periods already paid are left out of the mark-to-market, and the tenor is measured from that date.

***

### 4. Advanced Options

| Option          | What it does                                                                                                                                                                    |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Index lag**   | Months between a payment date and its index month. The minimum is the index's quoting lag (2 months for UK RPI, 3 for EU HICPx). Choose a longer lag if your contract uses one. |
| **Day count**   | Accrual basis of both legs: ACT/365F, ACT/360 or 30/360. For bond style, use the bond's own day count.                                                                          |
| **Date roll**   | **Mod. Following** on the index's calendar (UK or TARGET), or **Unadjusted**.                                                                                                   |
| **Seasonality** | **5Y history** applies monthly seasonal adjustments estimated from the last five years of published prints. **Off** removes them.                                               |

Click **Calculate**. **Reset** restores the defaults.

***

### 5. Read the Result

Each structure has its own headline and tabs, covered on its page. Both show:

| Output                     | What it shows                                                                                                                        |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| **First index month**      | The index month the trade starts from (the start date less the lag), and its level. Every index ratio is measured against it.        |
| **Net PV at par**          | The value of the swap at the rate used: zero at par, the mark-to-market when you enter a rate.                                       |
| **Implied inflation p.a.** | The average yearly inflation the breakeven curve implies over the life of the trade. It is the market's expectation, not a forecast. |
| **Final index ratio**      | The last payment's index level divided by the first index level.                                                                     |
| **IE01**                   | Change in value for a 1bp parallel rise in every breakeven quote, with the rate held fixed.                                          |
| **Published fixings**      | How many of the trade's index months are already published. The rest use the forecast.                                               |

All amounts are from the inflation payer's side: positive is received, negative is paid. The footer reads **Indicative mid, not executable.** and shows which close the breakevens come from.

#### Index Path

<figure><img src="https://3184259219-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmmQPefoflG1RwUnUKKBR%2Fuploads%2Fgit-blob-7fd5daa56128ebaa909c4d00ccb7b698a57a8640%2Finflation-pricer-index-path.png?alt=media" alt="Index path tab: published UK RPI to August 2026, then the seasonally adjusted forecast to 2030, with the trade&#x27;s payment reference months marked"><figcaption></figcaption></figure>

Published prints up to the latest release, then the forecast month by month, with the trade's payment reference months marked.

#### Curve & Seasonality

<figure><img src="https://3184259219-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmmQPefoflG1RwUnUKKBR%2Fuploads%2Fgit-blob-7c31438fb8bb2cce27a18f0c5e55a1b823eb74dc%2Finflation-pricer-curve-seasonality.png?alt=media" alt="Curve and seasonality tab: the zero-coupon breakeven curve with implied year-on-year inflation and index level by tenor, and the twelve monthly seasonal adjustments"><figcaption></figcaption></figure>

**Zero-coupon breakeven curve** lists each tenor's mid breakeven, the implied year-on-year inflation between tenors and the expected index level. **Seasonal adjustments** shows the twelve monthly adjustments applied.

#### Sensitivity

Shows **IE01**, **IR01** (the change in value for a 1bp rise in the SONIA or €STR discount curve) and **Par move per bp** (how far the par rate moves when every breakeven rises 1bp). The table re-prices the swap for parallel breakeven shifts of -50, -25, -10, 0, +10, +25 and +50bp, with the mark-to-market and par rate at each.

#### Export to Excel

**Export to Excel** downloads the full pricing: a summary of the trade and results, the market data (breakeven pillars and seasonal adjustments), the monthly index path and one row per payment with every input to the cash flow. Bond style also includes the nominal vs real comparison.

***

### Price as of an Earlier Date

The pricer uses live data by default. To price as of an earlier close, click **Valuation Date: Live** in the top right of the page and pick a date. History goes back to November 2022 for UK RPI and May 2023 for EU HICPx. Only index prints published by that date are used. **Back to live** returns to live data.

## How It Is Calculated

1. **Breakeven curve.** The zero-coupon breakeven quotes from one daily close all start from the same base index print: the quote month less the quoting lag. Expected index levels at each pillar are $$I\_{base},(1 + zc\_T)^T$$, joined by a natural cubic spline in log index. Beyond the last pillar, the forward between the last two pillars is held flat.
2. **Seasonality.** Monthly adjustments are the average change in each calendar month over the last five years of published prints, less the overall average. They sum to zero over a year, so they shape the months between pillars without moving the pillars.
3. **Index path.** Each month's forecast steps from the base print by the curve's annual rate plus that month's seasonal adjustment. A published print replaces its own month only and does not shift later months.
4. **Discounting.** Cash flows are discounted on SONIA for UK RPI and €STR for EU HICPx.
5. **Risk.** IE01 rebuilds the curve with every breakeven 1bp higher and re-values at the same rate. IR01 shifts the discount curve 1bp.

The cash flows and par rate for each structure are on its page.

## Related

* [Bond Style](https://www.bluegamma.io/documentation/pricers/inflation-swap-pricer/bond-style.md): swap a fixed-rate bond into index-linked debt
* [Revenue Style](https://www.bluegamma.io/documentation/pricers/inflation-swap-pricer/revenue-style.md): fix the escalation on inflation-linked revenue
* [Swap Pricer](https://www.bluegamma.io/documentation/pricers/calculating-a-swap-rate.md): price an interest rate swap


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.bluegamma.io/documentation/pricers/inflation-swap-pricer.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
