Loans & Mortgages
Total cost of credit
Everything paid goes to the principal or the interest, so subtracting the principal from the total paid isolates the interest. Adding the upfront fee gives the whole cost of the borrowing.
Last updated
The Formula
C = (M x n - P) + upfront fee
Everything paid goes to the principal or the interest, so subtracting the principal from the total paid isolates the interest. Adding the upfront fee gives the whole cost of the borrowing.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| M | Monthly payment | currency | The fixed payment each month. |
| n | Payments | months | Months in the term. |
| P | Principal | currency | The amount borrowed. |
| F | Upfront fee | currency | Any charge paid at the start. |
| C | Total cost | currency | Interest plus fee. |
What Each Symbol Means
Mcurrency
Monthly payment
The fixed payment each month.
nmonths
Payments
Months in the term.
Pcurrency
Principal
The amount borrowed.
Fcurrency
Upfront fee
Any charge paid at the start.
Ccurrency
Total cost
Interest plus fee.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to compare loan offers page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Compare Loan Offers, filed under Finance. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Total cost of credit?
The formula for Total cost of credit is C = (M x n - P) + upfront fee. Everything paid goes to the principal or the interest, so subtracting the principal from the total paid isolates the interest. Adding the upfront fee gives the whole cost of the borrowing.
What does each symbol in Total cost of credit stand for?
M is monthly payment; n is payments; P is principal; F is upfront fee; C is total cost.
What units should I use with Total cost of credit?
Substitute M in money (any currency, as long as every money input uses the same one), n in months, P in money (any currency, as long as every money input uses the same one), F in money (any currency, as long as every money input uses the same one), C in money (any currency, as long as every money input uses the same one). Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Total cost of credit?
Comparing only the interest rate. The rate ignores the term and the fee. A 4.9% loan over seven years can cost far more than a 5.5% loan over five, and a big fee can outweigh a whole point of rate.