A company’s cost of debt is the effective interest rate a company pays on its debt obligations, including bonds, mortgages, and any other forms debt.
The cost of debt measure can also give investors an idea of the company’s risk level compared to others because riskier companies generally have a higher cost of debt.
Formula to calculate cost of debt.

Effective tax rate is the average rate at which firm is taxed on its profits.
Example 1:
If the total interest cost incurred on $ 200 loan is $ 10. Determine the cost of debt before tax.

Thus, the measure of the cost of debt before tax is 5%.
Example 2:
Assuming a 20% effective tax return, calculate the cost of debt after tax if the total interest cost incurred on a $500 loan is $50.

Therefore, the cost of debt after tax is 48.5%.