The cost of borrowing is often expressed in terms of an effective annual interest rate, which takes into account both the simple interest rate that a lender charges and the effect of compounding. A company's cost of borrowing is based in part on its likelihood of defaulting on the debt.