/    Sign up×
Community /Pin to ProfileBookmark

amortization source code

anyone have source code for an amortization calculator, to caclulate total interest and remaining principal?

to post a comment
JavaScript

6 Comments(s)

Copy linkTweet thisAlerts:
@JMRKERFeb 18.2008 — There are several similar question on this and other related forum.

Type 'amortization calculator' in the 'Search' link above.
Copy linkTweet thisAlerts:
@kidrobottauthorFeb 18.2008 — i searched "amortization" on this forum and on google before I posted but i either got the amortization for a house or i got taken to that page with amortizationcalc11.js which is not available anymore.
Copy linkTweet thisAlerts:
@zincoxideFeb 18.2008 — Is it just the formula that you are looking for?? If so, are you looking to solve for the number of payments, total loan amount, payment amount or what?
Copy linkTweet thisAlerts:
@kidrobottauthorFeb 18.2008 — total interest and remaining principal
Copy linkTweet thisAlerts:
@zincoxideFeb 18.2008 — You have to manipulate an annuity formula:

PV = PMT [ 1 - (1 + i)^-n / i ]

If you need help, let me know, but you have to set -n to the number of compounding periods. So, for example, if you are calculating monthly paymens and you have a 5 year term, you need to use -60 as the -n number.

PV will be the amount that is left owing. Then you have to calculate the difference between PV and the amount you started with to find out how much principal was paid, then you have to total the amount of the PMT's and figure the difference to calculate how much interest was paid.

If that isn't clear, or you need help, let me know.
Copy linkTweet thisAlerts:
@felgallFeb 18.2008 — See http://javascript.about.com/library/blborrow1.htm and http://javascript.about.com/library/blrepay1.htm for two calculators I wrote that can calculate the amount you can borrow and the amount of the repayments respectively when the other information about the loan is entered.
×

Success!

Help @kidrobott spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...