Cross-currency swaps: An example
Suppose Company A is a US company that wants to build a factory in Europe and needs 10 million euros. To get a loan in euros from a European bank would come with high interest rates.
Company B is a German company that needs US dollars to acquire high-tech equipment from a US company. Similar to Company A, Company B will pay a high premium to borrow US dollars from a US financial institution to pay for the equipment.
The solution is simple — Company A and Company B agree to get loans with lower interest rates in their own countries and their home currencies and then swap them between each other at spot rates. When the time comes to pay off the loan, these two companies swap currencies once again at the same exchange rate as when the first swap was made.