Understanding and Calculating an Overnight Index Swap (OIS)

Overnight Index Swap (OIS): A hedging arrangement in which a cash flow based on an overnight lending rate is exchanged for another predetermined cash flow.

Investopedia / Jake Shi

What Is an Overnight Index Swap?

An index swap is a hedging contract in which one party exchanges a predetermined cash flow with a counterparty on a specified date. A debt, equity, or other price index is used as the agreed exchange for one side of this swap. 

An overnight index swap applies an overnight rate index such as the federal funds. Index swaps are specialized groups of conventional fixed-rate swaps, with terms that can be set from three months to more than a year.

Key Takeaways

  • The interest of the overnight rate portion of the swap is compounded and paid at reset dates, with the fixed leg being accounted for in the swap's value to each party.
  • The floating leg's present value (PV) is determined by either compounding of the overnight rate or by taking the geometric average of the rate over a given period.
  • Like other interest rate swaps, an interest rate curve must be produced to determine the present value of cash flows.

How Does an Overnight Index Swap Work?

The overnight index swap denotes an interest rate swap involving the overnight rate being exchanged for a fixed interest rate. An overnight index swap uses an overnight rate index such as the federal funds rate as the underlying rate for the floating leg, while the fixed leg would be set at a rate agreed on by both parties. The interest of the overnight rate portion of the swap is compounded and paid at reset dates, with the fixed leg being accounted for in the swap's value to each party.

The floating leg's present value (PV) is determined by either compounding of the overnight rate or by taking the geometric average of the rate over a given period.

Overnight index swaps are popular among financial institutions because the overnight index is considered to be a good indicator of the interbank credit markets and less risky than traditional interest rate spreads.

How to Calculate an Overnight Index Swap

Eight steps are applied in calculating a bank's dollar benefit from using an overnight index swap.

  • The first step multiplies the overnight rate for the period in which the swap applies. If the swap begins on a Friday, the swap's period is three days because transactions don't settle on weekends. If the swap begins on another business day, the swap's period is one day. For example, if the overnight rate is 0.005% and the swap is entered on a Friday, the effective rate would be 0.015% (0.005% x 3 days), otherwise, it's 0.005%.
  • Step two of the calculation divides the effective overnight rate by 360. Industry practice dictates that overnight swap calculations use 360 days for a year instead of 365. Using the above rate, the calculation in step two is: 0.005% / 360 = 1.3889 x 10^-5.
  • For step three, simply add one to this result: 1.3889 x 10-5 + 1 = 1.000013889.
  • In step four, multiply the new rate by the total principal of the loan. For example, if the overnight loan has a principal of $1 million, the resulting calculation is: 1.000013889x $1,000,000 = $1,000,013.89.
  • Step five applies the above calculations to each day of the loan, with the principal updated continuously. This is done for multi-day loans in case the rate varies.
  • Steps six and seven are similar to two and three. The rate that overnight index swaps use must be divided by 360 and added to 1. For example, if this rate is 0.0053% the result is: 0.0053% / 360 + 1 = 1.00001472.
  • In step 8, raise this rate the power of the number of days in the loan and multiply by the principal: 1.00001472^1 x $1,000,000 = $1,000,014.72.
  • Lastly, subtract the two sums to identify the profit gained by the bank from using the swap: $1,000,014.72 - $1,000,013.89 = $0.83.
Article Sources
Investopedia requires writers to use primary sources to support their work. These include white papers, government data, original reporting, and interviews with industry experts. We also reference original research from other reputable publishers where appropriate. You can learn more about the standards we follow in producing accurate, unbiased content in our editorial policy.
  1. Cbonds. "Overnight Index Swap."

Take the Next Step to Invest
×
The offers that appear in this table are from partnerships from which Investopedia receives compensation. This compensation may impact how and where listings appear. Investopedia does not include all offers available in the marketplace.