The formula for calculating the cost of debt financing is: Cost of debt = Interest Expense x (1 - Tax Rate)