The swap curve is a graph of fixed coupon rates of market-quoted interest rate swaps across different maturities in time. A vanilla interest rate swap consists of a fixed leg and a floating leg. At contract initiation, the fixed rate equates the cash flows from the fixed and floating legs over the contract’s maturity, resulting in a net cash flow of zero. By capturing market perceptions of the credit quality of the banking sector, swap curves enable you to visualize forward expectations of unsecured interbank lending rates such as LIBOR or Euribor.

Swap curves are typically constructed and calibrated in segments to the market prices of various fixed-income instruments. The short end of the swap curve (less than 3 months) is calibrated to unsecured deposit rates. The middle area of the curve (from 3 months up to 2 years) is derived from a combination of forward rate agreement contracts (FRAs) and interest rate futures (e.g., Eurodollar futures). The long end of the curve is constructed from observed quotes of swap rates (out to 10 years or more). Market participants use a combination of bootstrapping and interpolation techniques to join the segments of the curve together into a smooth and consistent whole.

Swap curves are used to:

- Price fixed-income instruments such as corporate bonds, mortgage securities, and other securitized products
- Price cash flows, nonvanilla swaps, FX forwards, and other OTC derivatives
- Determine potential trading opportunities by identifying normative gaps in market prices of financial instruments
- Analyze market perceptions of fixed-income market conditions in aggregate
- Perform valuation, sensitivity analysis, and risk management of fixed-income portfolios

For more information, see MATLAB^{®} toolboxes for finance, data feeds, statistics, and curve fitting.

- Bootstrapping a Swap Curve (Example)
- UniCredit Bank Austria Develops an Enterprise-Wide Market Data Engine (User Story)
- Fitting Interest Rate Curve Functions (Example)
- Term Structure Analysis and Interest Rate Swap Pricing (Example)

- Creating an Interest-Rate Data Curve Object (Documentation)
- Interest-Rate Tree Models (Function Reference)
- Swaps Pricing with a Black-Derman-Toy Tree (Function)
- Swaps Pricing with a Heath-Jarrow-Merton Tree (Function)
- Swaps Pricing from a Set of Zero Curves (Function)
- Derivative Securities (Function Reference)

*See also*: *financial engineering, fixed income, financial derivatives, yield curve, zero curve, Econometrics Toolbox, Parallel Computing Toolbox, Symbolic Math Toolbox*