403b Retirement Plan Calculator

403b Calculator is used to estimate the amount of money you can save for your retirement in the 403b plan by contributing small percentage of salary every month.

Features

  • Retirement Plan Calculation determines the 403b fund growth rate as you grow old.
  • Use this calculator to estimate the annual retirement income savings from the current salary.
  • Find the percentage of salary that you could reach during the retirement age using this calculation.
  • You can modify the annual percentage contribution to predict and improvise the 403b fund balance during retirement.
  • Responsive and it supports all major browsers.

Preview

Downloads

Code


<!-- Script by hscripts.com -->
<!-- More scripts @www.hscripts.com -->
<!-- Script by hscripts.com -->
<!-- More scripts @www.hscripts.com -->
<script type="text/javascript">var spl_Keys = new Array();spl_Keys.push(8);
spl_Keys.push(39);spl_Keys.push(46);
function check(e){var keyCode = e.which ? e.which : e.keyCode;var ret = ((keyCode >= 48 && keyCode <= 57)||(spl_Keys.indexOf(keyCode) != -1));
return ret;}
function savings_amount()
{var a=document.getElementById('cage').value;var b= document.getElementById('rage').value;var c= b-a;var csav = document.getElementById('csav').value;var rety = c;document.getElementById("rety").value = c;var exp_age= document.getElementById('eage').value;var ann_sal=document.getElementById('ysal').value;var sal_inc=document.getElementById('pinc').value/ 100;
if(csav==""&&sal_inc==""&&exp_age==""&&b==""&&a==""){alert("Fill all details");return false;}else if(a==""){
alert ("Enter current age");return false;
}else if(b==""){alert ("Enter retirement age");return false;
}else if(exp_age==""){alert ("Enter life expectancy age");return false;
}else if(ann_sal==""){alert ("Enter annual salary");return false;
}else if(sal_inc==""){alert ("Enter salary increase %");return false;
}else if (csav=="") {alert ("Enter current savings amount in 403b fund");
}else{var ann_sal = document.getElementById('ysal').value;var sal_inc = document.getElementById('pinc').value/ 100;var ret_age6=(((ann_sal)*(Math.pow((((1)+(sal_inc))),(c)))));
var array1=new Array(23);for(var ii=0;ii<23;ii++){array1[ii]=new Array(4);for(var jj=0;jj<4;jj++){array1[ii][jj]=0}};var eecm1=new Array(new Array(array1,0,0,22,3));var cur_age=document.getElementById('cage').value;var ret_age=document.getElementById('rage').value;var exp_age= document.getElementById('eage').value;var ann_sal=document.getElementById('ysal').value;var sal_inc=document.getElementById('pinc').value/ 100;var cur_sav=document.getElementById('csav').value;var ann_403= document.getElementById('ckpl').value/ 100;var emp_mat= document.getElementById('ematch').value/ 100;
var emp_max=document.getElementById('emco').value/ 100;var ann_ret=document.getElementById('ratr').value/ 100;
for(i=cur_age;i<ret_age;i++){
var total=((((
((((
(i>ret_age)?
((
(((((((ann_sal)*(ann_403)))>(22000)))?(22000):
(((ann_sal)*(ann_403)))))+(((((((((emp_max)>(ann_403)))?
(((((ann_403)*(emp_mat)))*(ann_sal))):
(((((emp_max)*(emp_mat)))*(ann_sal)))))>(11000)))?(11000):
(((((emp_max)>(ann_403)))?(((((ann_403)*(emp_mat)))*(ann_sal))):
(((((emp_max)*(emp_mat)))*(ann_sal))))))))):
(((((((((ann_sal)*(ann_403)))>(16500)))?(16500):
(((ann_sal)*(ann_403)))))+(((((((((emp_max)>(ann_403)))?
(((((ann_403)*(emp_mat)))*(ann_sal))):
(((((emp_max)*(emp_mat)))*(ann_sal)))))>(8250)))?(8250): (((((emp_max)>(ann_403)))?(((((ann_403)*(emp_mat)))*(ann_sal))):
(((((emp_max)*(emp_mat)))*(ann_sal)))))))))))
*(((1)+(((ann_ret)/(2)))))))

+(((cur_sav)*(((1)+(ann_ret)))))))));
cur_sav = total;}total = Math.round(total);
document.getElementById("ramt").value = total;var total1=(final(92,Number.NEGATIVE_INFINITY,0,total)); ret_age6 = Math.round(ret_age6); document.getElementById("rsal").value = ret_age6;var ann_income=(((income((ann_ret),(((exp_age)-(ret_age))),(total),(0),(0)))*(-1)));
ann_income =
Math.round(ann_income);
document.getElementById("annin").value = ann_income;}}
function final(cnt,vsum,vcnt,x){var res=vsum;for(var ii=0;ii<x.length;ii++){var arr=x[ii][0];for(var jj=x[ii][1];jj<=x[ii][3];jj++){
for(var kk=x[ii][2];kk<=x[ii][4];kk++){
if(!isNaN(arr[jj][kk]))res=Math.max(res,arr[jj][kk]);};};};return res;
}
function income(ratr,nper,tot,fv,type){
if(ratr==0){return-tot/nper;}else{var pvif=Math.pow(1+ratr,nper);var fvifa=(Math.pow(1+ratr,nper)-1)/ratr;var type1=(type!=0)?1:0;
return((-tot*pvif-fv)/((1+ratr*type1)*fvifa));}
}
function randno(val)
{return Math.round(100 * val) / 100;
}
function chk(){
var sds = document.getElementById('dum');
if(sds == null){alert("You are using a free package.\n You are not allowed to remove the tag.\n");
document.getElementById("search").style.visibility="hidden";
}
}
window.onload=chk;
</script>

<style>label{float:left;padding:0 0 10px;}
.txtbox{padding: 2% 10% 5% !important;width: 50% !important;}
.calci{float:left;}
.div1{line-height:50px;}
.div2{float:left;margin-left: 0px; }
.div3{float:left;margin-left: 35px; }
.div4{float:left;margin-left: 55px; }
.div5{float:left;margin-left: 45px; }
h2 {
border-bottom: 1px solid #ebebeb;color: #474747;
font-size: 1.6em;font-weight: bold;line-height: 130%;
}
.tisfrm
{
font-size:1em;
}
.frms
{
margin:0 auto;
padding:10px;
-moz-border-radius:.3em;
-webkit-border-radius:.3em;
-o-border-radius:.3em;
font-family:Tahoma, Geneva, sans-serif;
color:#333;
font-size:.9em;
line-height:1.2em;
}
.frms label {font-size: 1em;
}
.frms input[type="text"],[type="password"],[type="file"],textarea,select
{
width:99%;
background:#fff;
border:#ddd 1px solid;
border-radius:.35em;
-moz-border-radius:.35em;
-webkit-border-radius:.35em;
-o-border-radius:.35em;
padding:0 .5%;
margin-top:5px;
margin-bottom:15px;
height:35px;
}
textarea
{
width:99%;
height:auto;
background:#fff;
border:#ddd 1px solid;
border-radius:.35em;
-moz-border-radius:.35em;
-webkit-border-radius:.35em;
-o-border-radius:.35em;
padding:1% .5%;
margin-top:5px;
margin-bottom:15px;
}
.frms input:hover,textarea:hover,select:hover
{
box-shadow:#dae1e5 0px 0px 5px;
-moz-box-shadow:#dae1e5 0px 0px 5px;
-webkit-box-shadow:#dae1e5 0px 0px 5px;
-o-box-shadow:#dae1e5 0px 0px 5px;
}
.frms input:focus,textarea:focus,select:focus
{
-webkit-box-shadow: inset 7px 4px 7px -7px rgba(0,0,0,0.42);
-moz-box-shadow: inset 7px 4px 7px -7px rgba(0,0,0,0.42);
box-shadow: inset 7px 4px 7px -7px rgba(0,0,0,0.42);
border:#9d9983 1px solid;
}
.frms input[type="button"],input[type="reset"]
{
padding:7px 14px;
font-weight:bold;
color:#fff;
cursor:pointer;
border-radius:.3em;
-moz-border-radius:.2em;
-webkit-border-radius:.2em;
-o-border-radius:.2em;
margin:10px 0;
border:none;
}
input[type="button"]
{
background:#468cd2;
border-bottom:#3277bc 3px solid;
text-shadow:#214d73 1px 1px 0px;
}
.frms input[type="reset"]
{
background:#ee765d;
border-bottom:#d95e44 3px solid;
text-shadow:#8c3736 1px 1px 0px;
}
.resp_code
{
margin:5px 10px 10px 300px;
padding:10px 20px 10px 20px;
font:normal 1em/1.3em Tahoma, Geneva, sans-serif;
color:#333;
background:#f8f8f8;
border:#ddd 1px solid;
border-radius:.25em;
overflow:auto;width:50%;
}
@media screen and (max-width: 480px)
{
.resp_code
{width:auto !important;margin:0px !important;
}
.div2,.div3,.div4,.div5{float:left;margin-left: 0px; }.div1{line-height:20px;}
label{
font-size:13px !important;}.txtbox{width: 100% !important;}
}

</style><div class="resp_code">
<div class="frms noborders" id='search'><h2 align='center'>403b Retirement Plan Calculation</h2><form name=first class='tisfrm'> <div>
<label><a title='Your current age (years)'>Current Age</a></label>
<input type=text id=cage onkeypress="return check(event);" maxlength=3>
</div>
<div>
<label><a title='Expected retirement age (years)'>Retirement Age</a></label>
<input type=text id=rage onkeypress="return check(event);" maxlength=3> </div><div><label><a title='Expected life time (years)'>Life Expectancy</a></label><input type=text id=eage onkeypress="return check(event);" maxlength=3>
</div><div ><label><a title='Current Salary'>Current Salary ($ / Year)</a> </label><input type=text id=ysal onkeypress="return check(event);" maxlength=10></div><div>
<label><a title='Expected salary rise (per annum in %)'>Annual Salary Increase (% / Year)</a> </label>
<input type=text id=pinc onkeypress="return check(event);" maxlength=5></div><div >
<label><a title='current investment (if any, else enter 0)'>Current Savings Amount in 403b Fund</a></label>
<input type=text id=csav onkeypress="return check(event);" maxlength=10> </div><div>
<label><a title='Annual contribution in 403bplan(%)'>Percentage Of Amount Contributed in 403(b) Plan</a></label>
<select id=ckpl><option value=1>1 % </option><option value=2>2 % </option><option value=3>3 % </option><option value=4>4 % </option><option value=5>5 % </option><option value=6>6 % </option><option value=7>7 % </option><option value=8>8 % </option><option value=9>9 % </option><option value=10>10 % </option><option value=11>11 % </option><option value=12>12 % </option><option value=13>13 % </option><option value=14>14 % </option><option value=15>15 % </option><option value=16>16 % </option><option value=17>17 % </option><option value=18>18 % </option><option value=19>19 % </option><option value=20>20 % </option><option value=21>21 % </option><option value=22>22 % </option><option value=23>23 % </option><option value=24>24 % </option><option value=25>25 % </option><option value=26>26 % </option><option value=27>27 % </option><option value=28>28 % </option><option value=29>29 % </option><option value=30>30 % </option> </select>
</div><div><label><a title='Organisation credit to employee(%)'>Employer Match (% of Contribution)</a></label><!--<input type='text' id='ematch'>-->
<select id=ematch> <option value=0> 0.00% </option>
<option value=1> 1.00% </option> <option value=5> 5.00% </option> <option value=10> 10.00% </option>
<option value=15> 15.00% </option> <option value=20> 20.00% </option> <option value=25> 25.00% </option>
<option value=30> 30.00% </option> <option value=35> 35.00% </option> <option value=40> 40.00% </option>
<option value=45> 45.00% </option> <option value=50> 50.00% </option> </select> </div>
<div> <label><a title='Maximum employer`s benefit to employee(%)'>Percentage of Salary Contributed by the Employer</a></label>
<select id=emco> <option value=0> 0.00% </option>
<option value=1> 1.00% </option> <option value=3> 3.00% </option> <option value=6> 6.00% </option>
</select>
</div><div>
<label><a title='Expected annual rate of return on 403b fund(%)'>Annual Return on 403b Fund (%)</a> </label>
<select id=ratr><option value=1>1 % </option><option value=2>2 % </option><option value=3>3 % </option><option value=4>4 % </option><option value=5>5 % </option><option value=6>6 % </option><option value=7>7 % </option><option value=8>8 % </option><option value=9>9 % </option><option value=10>10 % </option><option value=11>11 % </option><option value=12>12 % </option><option value=13>13 % </option><option value=14>14 % </option><option value=15>15 % </option> </select>
</div><br><br>
<div align=center><input type=button value=Calculate onclick=savings_amount()> <input type=reset value=Reset><a id="dum" style="padding-right:0px; text-decoration:none;color: green;text-align:center;" href="https://www.hscripts.com">©h</a></div><div style='width:100%;'><div style="float:left;width:60%;" class='div1'><label class='label2'>Number of Years Until You Get Retirement </label>
</div><div class='div2' style='width:40%;'><input type=text id=rety readonly class='txtbox'> </div>
</div><div style='width:100%;'><div style="float:left;width:60%;" class='div1'><label class='label2'>403b Fund Balance at Retirement ($) </label>
</div><div class='div2' style='width:40%;'>
<input type=text id=ramt readonly class='txtbox'> </div>
</div><div style='width:100%;'><div style="float:left;width:60%;" class='div1'><label class='label2'>Salary at Retirement Age ($ / Year) </label>
</div><div class='div2' style='width:40%;'>
<input type=text id=rsal readonly class='txtbox'> </div>
</div><div style='width:100%;'><div style="float:left;width:60%;" class='div1'><label class='label2'>Annual Income from 403b ($ / Year)
</label>
</div><div class='div2' style='width:40%;'>
<input type=text id=annin readonly class='txtbox'> </div>
</div></form>
</div>
</div>



  • Release Date - 05-03-2015
  • Get free version without ©copyright link for just $10/-
  • For customization of this script or any script development, mail to support@hscripts.com

Usage

  • Copy and paste the above code into your HTML page.
  • Here, the function "savings_amount()" is used to find the 403b calculation.
  • Enter all the fields and click calculate to view the results.

License

Related Scripts

Free Javascript Scripts


Ask Questions

Ask Question