How to calculate “total interest paid over loan term”?

How to calculate “total interest paid over loan term”?

Multiply your monthly repayment by the number of months in the loan term, then subtract the original loan principal. This highlights the true cost of borrowing.