> 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/market-data-guides/swap-rates.md).

# Swap Rates

A comprehensive introduction to interest rate swaps, how they work, and how they are priced, plus a tour of the Swap Rates page and its downloads.

{% hint style="info" %}
Already know how swaps work? Skip straight to [Swap Rates in BlueGamma](#swap-rates-in-bluegamma) to see the page itself.
{% endhint %}

## What Is an Interest Rate Swap?

An **interest rate swap** is a financial derivative contract where two parties agree to exchange interest rate payments over a set period. The most common type is a **vanilla interest rate swap**, where one party pays a fixed rate and receives a floating rate, while the other party does the opposite.

<figure><img src="https://3184259219-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmmQPefoflG1RwUnUKKBR%2Fuploads%2FYXyVK25z7ivv1Fo085op%2Fimage.png?alt=media&amp;token=30bee509-ec51-464d-a5e1-f98edaf6115f" alt="Diagram of a vanilla interest rate swap: one party pays a fixed rate and receives a floating rate from the other"><figcaption></figcaption></figure>

**Key characteristics:**

* No exchange of principal — only interest payments are swapped
* Payments are typically **netted** (only the difference is paid)
* The notional amount is used only for calculating interest

***

## Why Use Interest Rate Swaps?

### 1. Hedging Interest Rate Risk

The most common use case. A borrower with a **floating-rate loan** can enter a swap to effectively convert it to a fixed rate, protecting against rising interest rates.

**Example:** A company borrows €50M at EURIBOR + 2%. They're exposed to EURIBOR fluctuations. By entering a swap where they pay fixed and receive EURIBOR, they lock in their total borrowing cost.

### 2. Speculation

Traders can take positions on the direction of interest rates without borrowing or lending actual funds.

### 3. Arbitrage

Exploiting pricing differences between markets or instruments.

***

## The Two Legs of a Swap

An interest rate swap consists of two sets of cashflows:

### The Fixed Leg

* Pays a **fixed interest rate** (the "swap rate") on the notional amount
* Rate is determined at the start of the contract and remains constant
* Typically paid annually or semi-annually

### The Floating Leg

* Pays a **variable interest rate** based on a reference index
* Common indices: **SOFR** (USD), **SONIA** (GBP), **EURIBOR** (EUR), **ESTR** (EUR OIS)
* Rate resets periodically (e.g., every 3 or 6 months)
* Often includes a spread over the index

**Payment Schedule Example (5-Year Swap):**

<figure><img src="https://3184259219-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmmQPefoflG1RwUnUKKBR%2Fuploads%2FLbrudpyT8PLkN5tvzihS%2Fimage.png?alt=media&amp;token=9e1652db-102d-4bcf-8cf3-c385d012a7b4" alt="Payment schedule of a 5-year interest rate swap: annual fixed leg payments against quarterly floating leg resets"><figcaption></figcaption></figure>

The fixed leg pays once per year at a rate locked in at inception. The floating leg pays quarterly, with the rate resetting each period based on the reference index.

***

## How Is the Swap Rate Determined?

At inception, a swap is priced so that the **present value of both legs is equal** — meaning the swap has zero value to both parties (before any spreads are added).

$$PV(\text{Fixed Leg}) = PV(\text{Floating Leg})$$

The fixed rate that satisfies this equation is called the **par swap rate** or **mid-rate**.

### What Drives Swap Rates?

* **Forward rate expectations** — Market expectations of future floating rates
* **Supply and demand** — Hedging activity and speculative positioning
* **Credit conditions** — Interbank lending conditions affect swap spreads

***

## Breaking Down the Swap Rate

When you receive a swap quote from a bank, the rate typically includes three components:

$$\text{Swap Rate} = \text{Mid-Rate} + \text{Execution Spread} + \text{Credit Spread}$$

| Component            | Description                                                                                               |
| -------------------- | --------------------------------------------------------------------------------------------------------- |
| **Mid-Rate**         | The theoretical fair rate where PV(Fixed) = PV(Floating)                                                  |
| **Execution Spread** | Compensates the bank for market/liquidity risk when executing                                             |
| **Credit Spread**    | Compensates the bank for counterparty credit risk, its cost of funding collateral, and regulatory capital |

The credit spread is the least visible of the three, and usually the largest surprise. It covers the credit risk the bank takes on you for the life of the trade, and banks can pass the cost of hedging that risk straight through into your quote. It also covers the cost of funding collateral on the position, and the regulatory capital the bank has to hold against the trade for as long as it stays open. Those costs scale with tenor and with your credit quality, which is why the same 5Y and 15Y mid-rate can come back with very different all-in quotes.

{% hint style="info" %}
**Pro Tip:** Always request a breakdown of the swap rate into its components for full transparency. BlueGamma shows the mid-rate, so you can compare it against bank quotes to understand the total spread being charged.
{% endhint %}

***

## Example: Hedging a Floating-Rate Loan

**Scenario:** A company has a €10M loan at 6M EURIBOR + 1.5% margin for 5 years.

**Problem:** If EURIBOR rises from 2% to 5%, their interest cost increases significantly.

**Solution:** Enter a 5-year interest rate swap:

* **Pay fixed:** 2.58% (an illustrative 5Y swap rate)
* **Receive floating:** 6M EURIBOR

**Result:**

| Cash Flow                      | Rate           |
| ------------------------------ | -------------- |
| Pay to lender                  | EURIBOR + 1.5% |
| Pay on swap (fixed leg)        | + 2.58%        |
| Receive on swap (floating leg) | − EURIBOR      |
| **Net borrowing cost**         | **4.08%**      |

**How it works:** The EURIBOR you receive from the swap offsets the EURIBOR you pay to the lender — these cancel out. What remains is:

* The **swap fixed rate** (2.58%) — your new "base" interest cost
* The **loan margin** (1.5%) — still paid to the lender on top

Total: 2.58% + 1.5% = **4.08% fixed**, regardless of where EURIBOR moves.

***

## Key Terminology

| Term                     | Definition                                                               |
| ------------------------ | ------------------------------------------------------------------------ |
| **Notional**             | The principal amount used to calculate interest payments (not exchanged) |
| **Tenor**                | The length of the swap (e.g., 5 years, 10 years)                         |
| **Effective Date**       | When the swap starts accruing interest                                   |
| **Maturity Date**        | When the swap ends                                                       |
| **Day Count Convention** | Method for calculating interest (e.g., Actual/360, 30/360)               |
| **Payment Frequency**    | How often payments are made (e.g., quarterly, annually)                  |
| **Mark-to-Market (MtM)** | The current value of the swap based on market rates                      |

***

## Swap Rates in BlueGamma

Every currency and index we cover has its own page. Taking **SONIA** as the example, at `app.bluegamma.io/gbp/sonia`:

<figure><img src="https://3184259219-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmmQPefoflG1RwUnUKKBR%2Fuploads%2Fgit-blob-d1d7f831e5a77cb35ad74846353be41bdf84a07a%2Fimage.png?alt=media" alt="The SONIA swap rates page in the BlueGamma web app, with the live badge, single-tenor chart and the par swap rate table by tenor"><figcaption></figcaption></figure>

**At the top**, a live badge and timestamp show whether quotes are still updating. Beside them sits a countdown to the Bank of England's upcoming decision, with the odds the market is pricing for it.

**The chart** plots a single tenor through time, over any window from **1D** to **Max**. The line under its title states the conventions behind the number, for example `Annual, Actual/365 (Fixed) vs SONIA, Annual, Actual/365 (Fixed)`, which is what makes the level comparable to a quote from anywhere else.

**Conventions and Match another source.** Click that line, or the same line under any quoted swap rate in the app, to open the conventions panel: each leg's payment frequency and day count, the calendar and the roll. If another source shows a different rate, use **Match another source** to set the time, tenor and legs to theirs, and the panel shows the rate on those terms. **Back to standard** resets it.

<figure><img src="https://3184259219-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmmQPefoflG1RwUnUKKBR%2Fuploads%2Fgit-blob-13b7338ac30a2ecddf3fe6432c6bf7a421a69ef8%2Fswap-rates-conventions-panel.png?alt=media" alt="The conventions panel for a 10Y SOFR swap rate, with Match another source set to live, 10Y and annual Act/360 legs" width="560"><figcaption></figcaption></figure>

**Download** on the chart exports the charted tenor over the selected window. The cog beside it opens **Download historical swap rates**, where you pick several tenors for one Excel sheet; that counts as one download however many tenors you choose.

**The table** lists the par swap rate at every quoted tenor, with the live level alongside where it stood 1D, 1W, 1M and 1Y ago, and a 3M sparkline. Reading across a row tells you whether today is a move or a continuation. **Show all tenors** (the button shows how many) expands past the headline set, and **Graph** switches the same data to a curve view of **Today** against **1 Month Ago**.

**Click any tenor** to open that single point on its own, with price history, the forward starting rate, volatility cones, and a day-by-day **Historical Table** (with **Open Full Table** and **Download**). Its **Use this rate** card links straight to pricing a swap at that tenor, checking a bank quote, or valuing a hedge (MtM).

**Forward-starting swap rates.** Under the table, a card lays out forward-starting swap rates with the forward start down and the swap tenor across, from spot to 5Y starts and 2Y to 30Y tenors. **Expand** opens the full matrix, where you switch between **Rates (%)** and **vs spot (bp)**, click a cell to see its start and end dates with a link to the **Forward Starting Swap Rate** chart, and **Download** the grid to Excel.

<figure><img src="https://3184259219-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmmQPefoflG1RwUnUKKBR%2Fuploads%2Fgit-blob-5074085bf3588c5b2979f38a90c21d39b255f661%2Fswap-rates-forward-start-matrix.png?alt=media" alt="The SOFR forward swap matrix: forward starts from spot to 10Y down, swap tenors from 1Y to 30Y across, with the 5Y swap starting in 1Y selected"><figcaption></figcaption></figure>

**Amortising rates on EURIBOR pages.** On the EURIBOR pages (all except 12M EURIBOR), an **Amortizing swap rates (Mid)** card shows current and forward-starting rates for a profile with equal repayments each period, at 5Y, 10Y, 15Y and 20Y. **Show more tenors** opens the full ladder from 1Y to 50Y. Switch the chart from **Bullet** to **Amortizing** to plot the amortising rate for a tenor through time, over **1M**, **3M**, **1Y**, **5Y** or **Max**.

{% hint style="warning" %}
The par swap rates in the main table are **mid-market rates for a bullet (non-amortising) profile**. If your loan amortises, the bullet rate is not the rate you will pay. Price your actual schedule in the [Swap Pricer](https://www.bluegamma.io/documentation/pricers/calculating-a-swap-rate.md) instead.
{% endhint %}

***

## Next Steps

* [Calculating a Swap Rate](https://www.bluegamma.io/documentation/pricers/calculating-a-swap-rate.md) — Learn how to price a swap using BlueGamma
* [Calculating the MtM of a Swap](https://www.bluegamma.io/documentation/pricers/calculating-the-mtm-of-a-swap.md) — Value an existing swap position
* [Fetching a Swap Curve](https://www.bluegamma.io/documentation/integrations/api/how-to-guides/fetching-a-swap-curve.md) — Get swap rates via API


---

# 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/market-data-guides/swap-rates.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.
