What is a 'Swap'
A swap is a derivative contract through which two parties exchange financial instruments. These instruments can be almost anything, but most swaps involve cash flows based on a notional principal amount that both parties agree to. Usually, the principal does not change hands. Each cash flow comprises of one leg of the swap. One cash flow is generally fixed, while the other is variable, that is, based on a a benchmark interest rate, floating currency exchange rate, or index price.
The most common kind of swap is an interest rate swap. Swaps do not trade on exchanges, and retail investors do not generally engage in swaps. Rather, swaps are overthecounter contracts between businesses or financial institutions.
BREAKING DOWN 'Swap'
Interest Rate Swaps
In an interest rate swap, the parties exchange cash flows based on a notional principal amount (this amount is not actually exchanged) in order to hedge against interest rate risk or to speculate. For example, say ABC Co. has just issued $1 million in fiveyear bonds with a variable annual interest rate defined as the London Interbank Offered Rate (LIBOR) plus 1.3% (or 130 basis points). LIBOR is at 1.7%, low for its historical range, so ABC management is anxious about an interest rate rise.
They find another company, XYZ Inc., that is willing to pay ABC an annual rate of LIBOR plus 1.3% on a notional principal of $1 million for 5 years. In other words, XYZ will fund ABC's interest payments on its latest bond issue. In exchange, ABC pays XYZ a fixed annual rate of 6% on a notional value of $1 million for five years. ABC benefits from the swap if rates rise significantly over the next five years. XYZ benefits if rates fall, stay flat or rise only gradually.
Below are two scenarios for this interest rate swap: 1) LIBOR rises 0.75% per year, and 2) LIBOR rises 2% per year.
Scenario 1
If LIBOR rises by 0.75% per year, Company ABC's total interest payments to its bond holders over the fiveyear period are $225,000. Let's break down the calculation. At year 1, the interest rate will be 1.7%;
Year 2 = 1.7% + 0.75% = 2.45%
Year 3 = 2.45% + 0.75% = 3.2%
Year 4 = 3.2% + 0.75% = 3.95%
Year 5 = 3.95% + 0.75% = 4.7%
$225,000 = $1,000,000 x [(5 x 0.013) + 0.017 + 0.0245 + 0.032 + 0.0395 + 0.047]
In other words, $75,000 more than the $150,000 that ABC would have paid if LIBOR had remained flat:
$150,000 = $1,000,000 x 5 x (0.013 + 0.017)
ABC pays XYZ $300,000:
$300,000 = $1,000,000 x 5 x 0.06
and receives $225,000 in return (the same as ABC's interest payments to bond holders). ABC's net loss on the swap comes to $300,000  $225,000 = $75,000.
Scenario 2
In the second scenario, LIBOR rises by 2% a year. Therefore, Year 1 interest payments rate is 1.7%;
Year 2 = 1.7% + 2% = 3.7%
Year 3 = 3.7% + 2% = 5.7%
Year 4 = 5.7% + 2% = 7.7%
Year 5 = 7.7% + 2% = 9.7%
This brings ABC's total interest payments to bond holders to $350,000
$350,000 = $1,000,000 x [(5 x 0.013) + 0.017 + 0.037 + 0.057 + 0.077 + 0.097]
XYZ pays this amount to ABC, and ABC pays XYZ $300,000 in return. ABC's net gain on the swap is $50,000.
Note than in most cases, the two parties would act through a bank or other intermediary, which would take a cut of the swap. Whether it is advantageous for two entities to enter into an interest rate swap depends on their comparative advantage in fixed or floating rate lending markets.
Other Swaps
The instruments exchanged in a swap do not have to be interest payments. Countless varieties of exotic swap agreements exist, but relatively common arrangements include commodity swaps, currency swaps, debt swaps, and total return swaps.
Commodity swaps
Commodity swaps involve the exchange of a floating commodity price, such as the Brent Crude oil spot price, for a set price over an agreedupon period. As this example suggests, commodity swaps most commonly involve crude oil.
Currency swaps
In a currency swap, the parties exchange interest and principal payments on debt denominated in different currencies. Unlike an interest rate swap, the principal is not a notional amount, but is exchanged along with interest obligations. Currency swaps can take place between countries, for example, China has entered into a swap with Argentina, helping the latter stabilize its foreign reserves.
Debtequity swaps
A debtequity swap involves the exchange of debt for equity; in the case of a publicly traded company, this would mean bonds for stocks. It is a way for companies to refinance their debt or reallocate their capital structure.
Total return swaps
In a total return swap, the total return from an asset is exchanged for a fixed interest rate. This gives the party paying the fixed rate exposure to the underlying asset—a stock or an index for example—without having to expend the capital to hold it.

Liability Swap
A liability swap is a financial derivative in which two parties ... 
Swap Rate
The swap rate is the fixed portion of a swap as determined by ... 
Amortizing Swap
An amortizing swap is an exchange of cash flows, one fixed rate ... 
Floating Price
The floating price is a leg of a swap contract that depends on ... 
Foreign Currency Swap
A foreign currency swap is an agreement to exchange currency ... 
Equity Swap
An equity swap is an exchange of cash flows between two parties ...

Trading
An Introduction To Swaps
Learn how these derivatives work and how companies can benefit from them. 
Trading
How To Value Interest Rate Swaps
An interest rate swap is a contractual agreement between two parties agreeing to exchange cash flows of an underlying asset for a fixed period of time. 
Trading
Different Types of Swaps
Identify and explore the most common types of swap contracts. Swaps are derivative instruments that represent an agreement between two parties to exchange a series of cash flows over a specific ... 
Trading
What Warren Buffet Calls "Weapons of Mass Destruction": Understanding the Swap Industry
A full analysis of how the swap industry works. 
Trading
Currency Swap Basics
Find out what makes currency swaps unique and slightly more complicated than other types of swaps. 
Investing
How To Read Interest Rate Swap Quotes
Puzzled by interest rate swap quotes terminology? Investopedia explains how to read the interest rate swap quotes 
Investing
CFTC Probes Banks' Use of Interest Rate Swaps
U.S. regulators are probing banks' trading and clearing of interest rate swaps, which played a central role in the 2008 financial crisis 
Trading
Hedging with currency swaps
The wrong currency movement can crush positive portfolio returns. Find out how to hedge against it with currency swaps. 
Trading
Introduction To Counterparty Risk
Unlike a funded loan, the exposure from a credit derivative is complicated. Find out everything you need to know about counterparty risk. 
Investing
Understanding Total Return Swaps
A total return swap is a contract in which a payer and receiver exchange the credit risk and market risk of an underlying asset.

How do currency swaps work?
Learn how a currency swap works, including who uses these transactions, and the mechanics and purpose of the different cash ... Read Answer >> 
What is the difference between derivatives and options?
A derivative is a financial contract that gets its value from an underlying asset. Options offer one type of common derivative. Read Answer >> 
What Is a 'Gypsy Swap'?
A gypsy swap allows a company to raise capital without issuing debt or holding a secondary offering. Read Answer >> 
What are some examples of risks associated with financial markets?
Find out about the different types of risks for different classes of assets including volatility, counterparty risk and default ... Read Answer >>