Mortgage Calculator





accumPrin1 = accumPrin1 + prinPort1;

accumInt1 = accumInt1 + intPort1;

count1 = count1 + 1;

if(count1 > 600) {break; } else {continue; }

}

form.origInt.value = "$" + parseInt(accumInt1,10);

var pow = 1;

for (var j = 0; j < form.nper2.value *12; j++)

pow = pow * (1 + i2);

var fpayment2 = (form.principal.value * pow * i2) / (pow - 1);

form.payment2.value = "$" + parseInt(fpayment2,10) + "." + parseInt(fpayment2 % 1 * 100,10);

var fmoSave = form.payment.value - fpayment2;

form.moSave.value = "$" + parseInt(fmoSave,10) + "." + parseInt(fmoSave % 1 *100,10);

var ftotInt2 = (fpayment2 * form.nper2.value *12) - form.principal.value;

form.totInt2.value = "$" + parseInt(ftotInt2,10);

var fintSave = accumInt1 - ftotInt2;

form.intSave.value = "$" + parseInt(fintSave,10);

form.closeMo.value = parseInt(form.closingCost.value / fmoSave,10);

var fnetSave = fintSave - form.closingCost.value;

form.netSave.value = "$" + parseInt(fnetSave,10);

form.summary.value = "If you refinance your current " + parseInt(form.intRate.value *100,10) + "." + parseInt(form.intRate.value *100 % 1 *100,10) + "% mortgage to a " + parseInt(form.intRate2.value *100,10) + "." + parseInt(form.intRate2.value *100 % 1 *100,10) + "% mortgage, your monthly payment will drop by " + form.moSave.value + " and you will save " + form.intSave.value + " in interest charges over the life of the mortgage. However, in order for this refinancing to yield any savings at all you will need to stay in your current home for at least " + form.closeMo.value + " months. That's how long it will take for your monthly payment savings to offset the closing costs attributable to refinancing.";

}

function clearForm(form)

{

form.principal.value = ""; form.payment.value = ""; form.intRate.value = ""; form.intRate2.value = ""; form.nper2.value = ""; form.closingCost.value = ""; form.payment2.value = ""; form.moSave.value = ""; form.closeMo.value = ""; form.intSave.value = ""; form.origInt.value = ""; form.netSave.value = ""; form.totInt2.value = ""; form.summary.value = "";

}

Mortgage Refinancing Calculator
This JavaScript calculator will help you to
decide whether or not you should refinance your current mortgage at a lower interest rate.
Not only will this calculator calculate the monthly payment and net interest savings, but
it will also calculate how many months it will take to break even on the closing costs.

Enter the principal balance of your mortgage:
(call your mortgage lender and ask
for the current payoff amount)
Enter the amount of your monthly mortgage payment:
(principal and interest portion only)
Enter the your mortgage's current interest rate:
Enter interest rate you will be refinancing at:
Enter the number of years you will be refinancing for:
Enter the closing costs that will be required for refinancing:
This is how much your monthly payment will be if you refinance:
Monthly Savings:
Number of months to break even on closing costs:
This is how much interest you will pay under your current monthly payment plan:
This is how much interest you will pay under your refinanced monthly payment plan:
This is how much interest you will save if you refinance:
Net Refinancing Savings (interest savings less closing costs):
Copyright © 1997-2006 Web Winder Site Traffic Magnets. All rights reserved.

Share and Enjoy:
  • blogmarks
  • del.icio.us
  • Fark
  • NewsVine
  • Wists
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Sphinn
  • Technorati
  • TwitThis
  • Yahoo! Buzz

Share your thoughts, leave a comment!

You must be logged in to post a comment.