If I have a 30 year mortgage of $200,000 with an APR of 4.446% I can calculate how much my monthly payment will be and how much the total cost of the loan will be.

But what if I have an extra $200 to put towards the principal every month? How do I find out how much money that will save me from the total cost of the loan?

I know there are online calculators but I want the actual formula/method they use, and can't seem to find that anywhere. Does anyone know?



What is the formula for calculating the total cost of a loan with extra payments towards the principal?

The formula you require is the standard one for calculating the time to repay. With larger repayments the time to completely repay the loan is reduced.

n = -(Log[1 - (r s)/d]/Log[1 + r])


n = number of periods
s = principal
d = periodic payment
r = periodic interest rate

The total cost of the loan is then n * d.

Explanation & Calculation

The formula for a loan is derived from the sum of the cash flows discounted to present value being equal to the principal. For further info see the section here titled: Calculating the Present Value of an Ordinary Annuity

The summation can be reduced to a closed form by induction:

enter image description here

Rearranging for d and n

d = r (1 + 1/(-1 + (1 + r)^n)) s

n = -(Log[1 - (r s)/d]/Log[1 + r])

With the OP's figures

s = 200000
n = 30 * 12 = 360
r = 4.446 / 100 / 12 = 0.003705

d = r (1 + 1/(-1 + (1 + r)^n)) s = 1006.96

The original monthly repayment is $1,006.96

Adding $200 each month ...

d = d + 200 = 1206.96

n = -(Log[1 - (r s)/d]/Log[1 + r]) = 257.36

With the higher repayment the loan is repaid in 257.36 months instead of 360. (Of course a bank would simply take a reduced payment in month 258, but the amounts work out the same.)

(360 * 1006.96) - (257.36 * 1206.96) = 51882.37

The saving is $51,882.37


If the repayments increase was made part-way through the term of the loan the summation and formula would be

enter image description here


m is the number of months that the repayment is d
d2 is a different repayment amount for the remainder of the term


n = -(Log[((1 + r)^-m (-d + d2 + (1 + r)^m (d - r s)))/d2]/Log[1 + r])

For example, if for the first ten years the payments are $1,006.96 and for the remaining time the repayments are $1,206.96

m  = 10 * 12 = 120
d  = 1006.96
d2 = 1206.96

∴ n = 302.528

The loan is completely repaid in 302.528 months.

The saving is

(360 * 1006.96) - (120 * 1006.96 + (302.528 - 120) * 1206.96) = 21366.4

Plotting over a range of m months:

enter image description here


You're looking for the amortization calculation. This calculation is essentially solving for the series of cash flows that will yield a zero balance after the specified term, at the given rate for a loan amount.

Once you have solved for the payment amount, you can add additional principal amount to each payment period and see the interest payments and time to zero balance drop.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.