# Forward Rates

Forward rates represent the market's implied interest rate for a future period. BlueGamma derives forward rates directly from our constructed curves.

***

## What Is a Forward Rate?

A forward rate is the interest rate implied by the curve for a period starting in the future.

**Example:** The "3M SOFR rate, 6 months forward" is the market-implied 3-month SOFR rate starting 6 months from today.

```
Today          6M Forward        9M (End)
  │               │                 │
  ▼               ▼                 ▼
  ├───────────────┼─────────────────┤
       6 Months        3 Months
       (waiting)      (rate period)
```

***

## The Formula

Forward rates are derived from zero-coupon rates using the no-arbitrage relationship:

$$
(1 + r\_{0,T})^T = (1 + r\_{0,t})^t \times (1 + f\_{t,T})^{(T-t)}
$$

Solving for the forward rate:

$$
f\_{t,T} = \left( \frac{(1 + r\_{0,T})^T}{(1 + r\_{0,t})^t} \right)^{\frac{1}{T-t}} - 1
$$

Where:

* **r₀,ₜ** = Zero rate from today to time t
* **r₀,ₜ** = Zero rate from today to time T
* **fₜ,ₜ** = Forward rate from time t to T

***

## Example Calculation

**Given:** SOFR zero-coupon rates (as of December 2024)

| Maturity | Zero Rate |
| -------- | --------- |
| 6M       | 4.35%     |
| 9M       | 4.28%     |

**Calculate:** 3-month forward rate, 6 months forward

$$
f\_{6M,9M} = \left( \frac{(1 + 0.0428)^{0.75}}{(1 + 0.0435)^{0.5}} \right)^{\frac{1}{0.25}} - 1
$$

$$
f\_{6M,9M} = \left( \frac{1.0319}{1.0215} \right)^{4} - 1 = 4.14%
$$

The market implies a 3-month SOFR rate of **4.14%** starting in 6 months.

***

## Using Forward Rates in BlueGamma

### API

```bash
curl "https://api.bluegamma.io/v1/forward_rate?index=SOFR&start_date=2025-06-15&end_date=2025-09-15" \
  -H "x-api-key: your_api_key"
```

### Excel Add-in

```
=BlueGamma.FORWARD_RATE("SOFR", "2025-06-15", "2025-09-15")
```

***

## Common Use Cases

| Use Case                    | Description                                                  |
| --------------------------- | ------------------------------------------------------------ |
| **Floating rate forecasts** | Project future interest payments on floating-rate debt       |
| **Swap pricing**            | Calculate expected floating leg cashflows                    |
| **Budgeting**               | Estimate future borrowing costs for financial planning       |
| **Hedging decisions**       | Compare forward rates to fixed rates when considering hedges |

***

## Key Points

* Forward rates are **implied by the curve**, not directly observable in the market
* They represent the **no-arbitrage** rate — the rate that prevents risk-free profit
* Forward rates can be higher or lower than spot rates depending on curve shape
* **Upward-sloping curve** → Forward rates higher than spot
* **Inverted curve** → Forward rates lower than spot

***

## Related Documentation

* [Interest Rate Curves](/documentation/methodology/how-to-bootstrap-the-yield-curve.md) — How curves are constructed
* [Zero Rates](/documentation/methodology/zero-rates.md) — The foundation for forward rate calculations
* [Discount Factors](/documentation/methodology/discount-factors.md) — How discount factors are calculated
* [How to Pull a Forward Curve into Excel](/documentation/integrations/excel-add-in/how-to-guides/how-to-pull-a-forward-curve-directly-into-excel.md) — Excel Add-in guide
* [API Reference](/documentation/integrations/api/api-reference.md) — Complete API documentation
* [Available Indices](/documentation/integrations/available-indices.md) — Full list of supported indices


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bluegamma.io/documentation/methodology/forward-rates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
