[net.math] Trivial Interest-Calculation Formula Needed

rs173@hou2e.UUCP (R.SILVER) (10/24/85)

 
 I posted this request in net.invest but got no response (yet), so I'll
try here on net.math.   This should be duck-soup for this group !

 I am writing a spread-sheet program to calculate present and future return
on investment properties.  I would like a formula which gives the
total-interest paid to-date on a current loan with monthly payments.

 Thank you for any help.           Ron Silver    ...!hou2e!ron7300!rs173

stevev@tekchips.UUCP (Steve Vegdahl) (11/09/85)

> I posted this request in net.invest but got no response (yet), so I'll
>try here on net.math.   This should be duck-soup for this group !
>
> I am writing a spread-sheet program to calculate present and future return
>on investment properties.  I would like a formula which gives the
>total-interest paid to-date on a current loan with monthly payments.

Let
 P = principal
 I = *monthly* interest rate (i.e., annual interest rate divided by 12)
 N = term of the loan in *months*

Define
  S = P / ((1+I)^N - 1)

The amount paid toward the principal after M monthly payments is
  Q(M) = (S * (1+I)^M) - S

The monthly payment is
  D = I*(P+S)

Thus, the total interest paid after M monthly payments is
  total off all payments - total amount that went toward principal
    = M*D - Q(M)

Example:
  P = 100000
  I = 0.01 (i.e., 12% *annual* interest)
  N = 360 (i.e., 30-year loan)
  M = 50 (i.e., we want to know total interest paid through 50 months)
 then
  S = 2861.259693
  Q(M) = 1844.459048
  D = 1028.612597
 so the total interest paid is
  (M*D)-Q(M) = 51430.62985 - 1844.459048 = 49586.1708

		Steve Vegdahl
		Computer Research Lab.
		Tektronix, Inc.
		Beaverton, Oregon