### What is an Overnight Index Swap?

An index swap refers to a hedging contract in which a party exchanges a predetermined cash flow with a counter-party 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 or Libor rates. 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 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.

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

Nine 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.00003889.

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.00003889 x $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.

Step 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.