# Swaps Explained

> A swap exchanges one stream of cash flows for another. Learn the main types, from interest rate and currency swaps to credit, total return and commodity swaps.

Source: https://learn.tradelabsai.com/bonds-credit/swaps-explained/  
Track: Bonds, Rates and Credit · Level: Advanced · Updated: 2026-10-03  
Publisher: TradeLabs AI (https://tradelabsai.com). Education, not financial advice.  
Cite as: TradeLabs Learn, "Swaps Explained", https://learn.tradelabsai.com/bonds-credit/swaps-explained/

A swap is a contract in which two parties agree to exchange streams of cash flows over time. One stream is usually fixed or tied to one variable, the other to a different variable. Swaps let investors and companies change the kind of exposure they have without buying or selling the underlying assets: converting floating rate debt to fixed, borrowing in one currency while paying in another, buying credit protection or gaining stock market exposure without owning stocks. Swaps trade mostly over the counter, and the market's total notional amount runs into hundreds of trillions of dollars.

## The main types of swaps

| Swap | What is exchanged | Lesson |
|---|---|---|
| Interest rate swap | Fixed vs floating interest payments | [Interest Rate Swaps](https://learn.tradelabsai.com/bonds-credit/interest-rate-swaps/) |
| Cross currency swap | Principal and interest in two currencies | [FX Swaps and Currency Swaps](https://learn.tradelabsai.com/forex/fx-swaps-and-currency-swaps/) |
| Credit default swap | Regular premiums vs payment if a borrower defaults | [Credit Default Swaps (CDS)](https://learn.tradelabsai.com/bonds-credit/credit-default-swaps/) |
| Total return swap | Total return of an asset vs a financing rate | Below |
| Commodity swap | Fixed vs floating commodity prices | Below |
| Equity swap | Equity index or stock return vs a rate or another return | Below |
| Variance swap | Realised variance vs a fixed strike | [Variance and Volatility Swaps](https://learn.tradelabsai.com/volatility/variance-and-volatility-swaps/) |
| Inflation swap | Fixed rate vs realised inflation | Below |

## Total return swaps

In a total return swap, one party receives the full return of an asset, price changes plus income, and pays a financing rate plus a spread. The other party, usually a bank, holds the asset and hedges.

**Example: Exposure without ownership**
A fund wants $100 million of exposure to a stock index without buying the stocks. It enters a 1 year total return swap with a bank: the fund receives the index's total return and pays SOFR plus 0.40%. If the index returns 12% and SOFR averages 5%, the fund receives $12 million and pays $5.4 million, netting $6.6 million. If the index falls 8%, the fund pays the $8 million loss plus $5.4 million.

Total return swaps can hide leverage and concentration. Archegos Capital used total return swaps with several banks to build huge, concentrated stock positions without public disclosure. When the stocks fell in March 2021, Archegos could not meet margin calls, and banks lost more than $10 billion in total. See [Archegos Capital](https://learn.tradelabsai.com/history/archegos-capital/).

## Commodity swaps

Producers and consumers use commodity swaps to fix prices. An airline might agree to pay a fixed price for jet fuel and receive the floating market price, often the monthly average, on a set volume. If prices rise, the swap pays the airline, offsetting higher fuel costs. See [Asian Options](https://learn.tradelabsai.com/options/asian-options/) and [Energy Markets](https://learn.tradelabsai.com/commodities/energy-markets/).

## Inflation swaps

In a zero coupon inflation swap, one party pays a fixed rate and the other pays realised inflation over the period. The fixed rate shows the market's inflation expectations and is closely watched alongside TIPS breakevens. Pension funds use inflation swaps to hedge inflation linked liabilities. See [Inflation](https://learn.tradelabsai.com/macro/inflation/).

## How swaps are valued

At the start, most swaps are priced so their value is zero: the present value of what each side expects to pay is equal. Over time, as rates, prices or credit conditions change, the swap gains value for one side and loses for the other. Valuation uses discounting with relevant curves, now usually overnight rate curves such as SOFR. See [Time Value of Money](https://learn.tradelabsai.com/math/time-value-of-money/).

## Why swaps are used

- **Hedging:** change exposure to rates, currencies, commodities or credit.
- **Cost efficiency:** cheaper than trading the underlying assets.
- **Customisation:** tailor amounts, dates and terms.
- **Speculation and relative value:** take precise views.
- **Balance sheet management:** banks and companies reshape risks.

## Risks

- **Counterparty risk:** a party may fail to pay; mitigated by clearing and collateral. See [Market, Credit and Counterparty Risk](https://learn.tradelabsai.com/portfolio/counterparty-risk/).
- **Market risk:** values move with underlying variables.
- **Liquidity and margin risk:** collateral calls can strain cash.
- **Hidden leverage:** exposures may not show up on balance sheets.
- **Documentation and legal risk:** swaps are governed by ISDA agreements with complex terms.

## Regulation

Post 2008 reforms, such as the Dodd Frank Act in the US and EMIR in the EU, required central clearing for many standard swaps, margin for uncleared swaps and trade reporting to swap data repositories, improving transparency.

## Frequently asked questions

### What is a swap in finance?

A contract in which two parties exchange streams of cash flows, such as fixed for floating interest or one currency for another, over a set period.

### What is a total return swap?

A swap where one party receives the full return of an asset and pays a financing rate, gaining exposure without owning the asset.

### Are swaps risky?

They carry market, counterparty and liquidity risks, and can hide leverage, as the Archegos collapse showed.

Next, learn how credit risk is priced in [Credit Spreads](https://learn.tradelabsai.com/bonds-credit/credit-spreads/).

## Continue learning

- Next lesson: [Credit Spreads](https://learn.tradelabsai.com/bonds-credit/credit-spreads/)
- Previous lesson: [Interest Rate Swaps](https://learn.tradelabsai.com/bonds-credit/interest-rate-swaps/)
- Related: [Interest Rate Swaps](https://learn.tradelabsai.com/bonds-credit/interest-rate-swaps/): An interest rate swap exchanges fixed interest payments for floating ones on a notional amount. Learn how swaps work, SOFR, swap rates, valuation, uses and risks.
- Related: [FX Swaps and Currency Swaps](https://learn.tradelabsai.com/forex/fx-swaps-and-currency-swaps/): An FX swap exchanges currencies now and reverses later; a cross currency swap exchanges interest payments for years. Learn both, their pricing and their uses.
- Related: [Credit Default Swaps (CDS)](https://learn.tradelabsai.com/bonds-credit/credit-default-swaps/): A credit default swap is insurance like protection against a borrower defaulting. Learn how CDS work, spreads and upfront pricing, credit events, uses and risks.
- Related: [Variance and Volatility Swaps](https://learn.tradelabsai.com/volatility/variance-and-volatility-swaps/): Variance swaps pay the difference between realised variance and a fixed strike. Learn how variance and volatility swaps work, how they are priced and their risks.
- Related: [Archegos Capital](https://learn.tradelabsai.com/history/archegos-capital/): In March 2021, family office Archegos Capital collapsed, causing banks over $10 billion in losses. Learn how total return swaps hid its leverage and the lessons.
