Question: how to calculate the total cost of credit?
Answer: Determine the percentage of a 360-day year to which the discount period will be applied. ... 
Subtract the discount rate from 100%. ... 
Multiply the result of each of the preceding steps together to arrive at the annualized cost of credit.