@wikipedia
Interest rate on the cash loans:
K_D = (R_f + R_p)(1-T)
where
risk-free bond
risk premium
T
income tax