=this.ANNUAL_MAX.length?this.ANNUAL_MAX.length-1:c);return this.ANNUAL_MAX[b]+((a+c)<50?0:this.CATCHUP_MAX[b])};KJE.RothvsTraditional401kCalc.prototype.dActualContribution=function(d,b,c,a){return(a&&d!=0?b:c)};KJE.RothvsTraditional401kCalc.prototype.dActualDeduction=function(b,a){return(b>a?a:b)};KJE.CalcName="457 Plan: Roth vs. Pre-tax Calculator";KJE.CalcType="RothvsTraditional457";KJE.CalculatorTitleTemplate="Roth 401(k) vs. Traditional 401(k)";KJE.initialize=function(){KJE.CalcControl=new KJE.RothvsTraditional401kCalc();KJE.GuiControl=new KJE.RothvsTraditional401k(KJE.CalcControl)};KJE.RothvsTraditional401k=function(h){var b=KJE;var a=KJE.gLegend;var e=KJE.inputs.items;this.MSG_GRAPH4=KJE.parameters.get("MSG_GRAPH4","Roth 401(k)");this.MSG_GRAPH5=KJE.parameters.get("MSG_GRAPH5","Trad. 401(k) + Tax Savings");this.MSG_GRAPH6=KJE.parameters.get("MSG_GRAPH6","Before taxes");this.MSG_GRAPH7=KJE.parameters.get("MSG_GRAPH7","Total after taxes");this.MSG_GRAPH8=KJE.parameters.get("MSG_GRAPH8","Trad. 401(k)");KJE.NumberSlider("CURRENT_AGE","Current age",1,70,0);KJE.DollarSlider("ANNUAL_CONTRIBUTION","Annual contribution",0,1000000);KJE.InvestRateSlider("RATE_OF_RETURN","Expected rate of return");KJE.NumberSlider("AGE_OF_RETIREMENT","Age of retirement",10,70,0);KJE.PercentSlider("CURRENT_TAX_RATE","Current tax rate",0,50,2);KJE.PercentSlider("RETIREMENT_TAX_RATE","Retirement tax rate",0,50,2);KJE.Label("TOTAL_CONTRIBUTIONS","Total contributions");KJE.Checkbox("SAVE_TAX","Invest traditional tax-savings",true,"Invest any tax-savings generated by traditional contributions");KJE.Checkbox("CONTRIBUTE_MAX","Maximize contributions",false,"Increase future contributions to the maximum allowed");var g=KJE.gNewGraph(KJE.gCATEGORIES,"GRAPH1",true,false,KJE.colorList[1],KJE.parameters.get("MSG_GRAPH3","After-Tax Total At Retirement"));g._showItemLabel=true;g._showItemLabelOnTop=true;g._axisX._fSpacingPercent=0.3;g._grid._showYGridLines=false;g._legend._iOrientation=(a.TOP_RIGHT);g._axisX.setVisible(false);g._axisY.setVisible(true);g._bPopDetail=true;var f=KJE.gNewGraph(KJE.gLINE,"GRAPH2",true,true,KJE.colorList[1],KJE.parameters.get("MSG_GRAPH2","After-Tax Comparison"));f._legend._iOrientation=(a.TOP_RIGHT);f._titleXAxis.setText(KJE.parameters.get("MSG_GRAPH1","Age"));var k=KJE.parameters.get("MSG_DROPPER","Age and retirement plan information:");KJE.addDropper(new KJE.Dropper("INPUTS",true,k,k),KJE.colorList[0]);var j=KJE.parameters.get("MSG_DROPPER2_TITLE","Investment return and taxes:");var d=KJE.parameters.get("MSG_DROPPER2_CLOSETITLE","KJE1 return, KJE2 current tax rate, KJE3 tax during retirement");var c=function(){return j+KJE.subText(KJE.getKJEReplaced(d,e.RATE_OF_RETURN.getFormatted(),e.CURRENT_TAX_RATE.getFormatted(),e.RETIREMENT_TAX_RATE.getFormatted()),"KJECenter")};var i=new KJE.Dropper("INPUTS2",false,j,c);i.setBackground(KJE.colorList[0])};KJE.RothvsTraditional401k.prototype.setValues=function(b){var a=KJE.inputs.items;b.CURRENT_AGE=a.CURRENT_AGE.getValue();b.ANNUAL_CONTRIBUTION=a.ANNUAL_CONTRIBUTION.getValue();b.RATE_OF_RETURN=a.RATE_OF_RETURN.getValue();b.RETIREMENT_RATE_OF_RETURN=6;b.AGE_OF_RETIREMENT=a.AGE_OF_RETIREMENT.getValue();b.CURRENT_TAX_RATE=a.CURRENT_TAX_RATE.getValue();b.RETIREMENT_TAX_RATE=a.RETIREMENT_TAX_RATE.getValue();b.YEARS_OF_WITHDRAWALS=20;b.ANNUAL_PERIODS=12;b.SAVE_TAX=a.SAVE_TAX.getValue();b.bCONTRIBUTE_MAX=a.CONTRIBUTE_MAX.getValue();if(b.bCONTRIBUTE_MAX){a.ANNUAL_CONTRIBUTION.disable(true)}else{a.ANNUAL_CONTRIBUTION.enable()}};KJE.RothvsTraditional401k.prototype.refresh=function(f){var e=KJE;var d=KJE.gLegend;var b=KJE.inputs.items;var a=KJE.gGraphs[1];var c=KJE.gGraphs[0];KJE.setTitleTemplate();a.removeAll();a.setGraphCategories(f.cats);a.add(new KJE.gGraphDataSeries(f.DD_ROTH,this.MSG_GRAPH4,a.getColor(1)));a.add(new KJE.gGraphDataSeries(f.DD_V401K_AF_TAX,(f.SAVE_TAX?this.MSG_GRAPH5:this.MSG_GRAPH8),a.getColor(2)));a.paint();c.removeAll();c.setGraphCategories([this.MSG_GRAPH4,(f.SAVE_TAX?this.MSG_GRAPH5:this.MSG_GRAPH8)]);c.add(new KJE.gGraphDataSeries(f.DS_TOTAL2,this.MSG_GRAPH7,a.getColor(1)));c.paint();b.TOTAL_CONTRIBUTIONS.setText(e.dollars(f.TOTAL_CONTRIBUTIONS,0));b.ANNUAL_CONTRIBUTION.setValue(f.ANNUAL_CONTRIBUTION,true)};KJE.Default.CALC_TYPE_457=1;KJE.Default.CALC_TYPE_401k=0;KJE.Default.CALC_TYPE_403b=2;KJE.parameters.set("USE_CALC_TYPE",KJE.Default.CALC_TYPE_457);KJE.parameters.set("MSG_GOROTH","Based on the information you entered, a Roth account may be worth more than a pre-tax account.");KJE.parameters.set("MSG_GOSAME","Based on the information you entered, a pre-tax account may be the worth the same as a Roth account.");KJE.parameters.set("MSG_GOTRAD","Based on the information you entered, a pre-tax account may be worth more than a Roth account.");KJE.parameters.set("MSG_SAVE_TAX","Invest tax savings");KJE.parameters.set("MSG_SAVE_TAX1","Invest any tax-savings generated by pre-tax contributions");KJE.parameters.set("MSG_GRAPH_CAT1","Roth 457");KJE.parameters.set("MSG_GRAPH_CAT1","Pre-tax 457");KJE.parameters.set("MSG_GRAPH4","Roth 457");KJE.parameters.set("MSG_GRAPH5","Pre-tax 457 + Tax Savings");KJE.parameters.set("MSG_GRAPH8","Pre-tax 457");KJE.parameters.set("MSG_GOROTH_SHORT","A Roth 457 may be worth KJE1 more than a pre-tax 457.");KJE.parameters.set("MSG_GOTRAD_SHORT","A pre-tax 457 may be worth KJE1 more than a Roth 457.");KJE.parameters.set("MSG_REPORT_COL2","Pre-tax 457");KJE.parameters.set("MSG_REPORT_COL3","Pre-tax 457 + Invested Tax Savings - Taxes");KJE.parameters.set("MSG_REPORT_COL4","Roth 457");KJE.parameters.set("MSG_REPORT_COL5","Pre-tax 457 - Taxes");KJE.parameters.set("TITLE_TEMPLATE","Roth 457 vs. Pre-tax 457?");KJE.CalculatorTitle="Roth 457 vs. Pre-tax 457?";KJE.InputScreenText=" **GRAPH1** **GRAPH2** ";KJE.DefinitionText=" Current ageYour current age. Age of retirementAge you wish to retire. This calculator assumes that the year you retire, you do not make any contributions to your 457. So if you retire at age 65, your last contribution occurs when you are actually 64. Annual contributionThe amount you will contribute to a 457 each year. This calculator assumes that you make 12 equal contributions throughout the year at the beginning of each month. The annual maximum for 2017 is $18,000. If you are age 50 or over, a 'catch-up' provision allows you to contribute even more to your 457. Employees age 50 or over can deposit an additional $6,000 into their 457 account. It is also important to note that employer contributions do not affect an employee's maximum annual contribution limit. Both the annual maximum and 'catch-up' provisions are indexed for inflation. It is important to note that some employees are subject to another form of contribution limits. Employees classified as 'Highly Compensated' may be subject to contribution limits based on their employer's overall 457 participation. If you expect your salary to be $120,000 or more in 2017 or was $120,000 or more in 2016, you may need to contact your employer to see if these additional contribution limits apply to you.
Invest tax savingsCheck this box to invest any tax savings generated by contributions to a pre-tax 457. By investing your taxes savings each year, you equalize the total cash flow between the two account types. For example, if you have a 25% income tax rate and contribute $1,000 to your retirement account, the actual cost after taxes would be $750 for the pre-tax contribution and $1,000 for the Roth contribution. If you do not to invest the difference, you are actually \"spending\" more per year with the Roth option and end result will greatly favor a Roth-type savings plan. You may wish to leave this box unchecked if you have no ability or desire to create an additional investment account outside of your 457. Maximize contributionsCheck this box to increase all contributions to the maximum allowed each year. This will include future years that qualify for catch-up contributions. The annual maximum for 2017 is $18,000. When you reach age 50 or over, a 'catch-up' provision increases the maximum by an additional $6,000. Expected rate of returnThe annual rate of return for your 457 account. This calculator assumes that your return is compounded annually and your deposits are made monthly. **ROR_DEFINITION** Current tax rateThe current marginal income tax rate you expect to pay on your taxable investments. **TAXTABLE_CURRENT_DEFINITION** Retirement tax rateThe marginal tax rate you expect to pay on your investments at retirement. After tax total at retirementFor the Roth 457, this is the total value of the account. For the pre-tax 457, this is the sum of two parts: 1) The value of the account after you pay income taxes on all earnings and tax deductible contributions and 2) what you would have earned if you had invested (in an ordinary taxable account) any income tax savings. ";KJE.ReportText=' RESULTS_MSG **GRAPH** Step 1: First we found the value of a Roth 457 if you contributed ANNUAL_CONTRIBUTION per year for YEARS_UNTIL_RETIREMENT years earning an assumed RATE_OF_RETURN per year. This equaled TOTAL_ROTH. Since qualified withdrawals from a Roth 457 are not taxed, the total value remains TOTAL_ROTH.
Step 2: We then computed the totals for a pre-tax 457. Again we determined the value of ANNUAL_CONTRIBUTION per year for YEARS_UNTIL_RETIREMENT years earning an assumed RATE_OF_RETURN per year. This is the same amount as the Roth 457 total, V401K_TOTAL_BF_TAX. However, contributions and all earnings in a pre-tax 457 are taxable when they are withdrawn. After taxes, the value of your pre-tax 457 account would be V401K_TOTAL_AF_TAX.
Step 3: Since you receive a current year tax deduction for any pre-tax 457 contributions, we need to determine the value of investing this tax savings and add this amount to the pre-tax 457 total. If we forget this step, our comparison will not be equal. We would, in effect, be contributing more to our Roth 457 than the pre-tax 457. If your tax savings were invested for YEARS_UNTIL_RETIREMENT years at an assumed rate of RATE_OF_RETURN, this returns a total of TOTAL_TAXABLE after taxes.
Total contributions MSG_CONTRIBUTE_LBL | TOTAL_CONTRIBUTIONS | TOTAL_CONTRIBUTIONS |
Total before taxes | V401K_TOTAL_BF_TAX | TOTAL_ROTH |
Value of investing tax savings | + TOTAL_TAXABLE | + 0 |
Taxes for 457 at retirement | - V401K_TOTAL_TAXES | - 0 |
Value at retirement (age AGE_OF_RETIREMENT) | TOTAL_401K | TOTAL_ROTH |
Annual contribution* MSG_CONTRIBUTE_LBL | ANNUAL_CONTRIBUTION | Current age | CURRENT_AGE |
Years until retirement | YEARS_UNTIL_RETIREMENT | Age of retirement | AGE_OF_RETIREMENT |
Expected rate of return | RATE_OF_RETURN | | |
Current tax rate | CURRENT_TAX_RATE | Retirement tax rate | RETIREMENT_TAX_RATE |
---|
**GRAPH** **REPEATING GROUP** ';