KJE.LongTermCareSavingsCalc=function(){this.SAVING_FREQUENCY=KJE.Default.PAY_SELECTIONS[3];this.NBR_PERIODS=KJE.Default.PAY_INDEX[3];this.DS_CURRENT=null;this.DS_NEW=null;this.cats=null;this.MSG_CHANGE_NOTAX=KJE.parameters.set("MSG_CHANGE_NOTAX","
To save enough for your care in LTC_BEGINS years:
- Change monthly contributions to RQD_SAVE_MONTH.
- Or receive an annual rate of return of RQR_ROR_BFTAX
");this.MSG_EXCEED=KJE.parameters.set("MSG_EXCEED","Your care savings goal may be reached early.");this.MSG_FAIL=KJE.parameters.set("MSG_FAIL","You need to make a few changes in care savings.");this.MSG_MADE=KJE.parameters.set("MSG_MADE","Your care savings goal is right on track.");this.sSchedule=new KJE.Repeating()};KJE.LongTermCareSavingsCalc.prototype.clear=function(){this.CURRENT_AGE=0;this.LTC_BEGINS=0;this.LTC_YEARS=0;this.INFLATION_RATE=0;this.AMT_CURRENT=0;this.AMT_SAVE_MONTH=0;this.ROR_INVEST=0;this.OTHER_AMOUNT=0};KJE.LongTermCareSavingsCalc.prototype.calculate=function(l){var j=this.AMOUNT_PER_YEAR;var f=KJE;var e=this.ROR_INVEST;var o=this.ROR_MONTHLY_PERC=KJE.ROR_PERIOD(e/100,this.NBR_PERIODS);var b=this.INFLATION_RATE/100;var m=KJE.FV_AMT(b,this.LTC_BEGINS,j)*this.LTC_YEARS;var k=this.LTC_BEGINS;var n=this.AMT_CURRENT;var d=this.AMT_SAVE_MONTH;var a=this.LTC_BEGINS*this.NBR_PERIODS;var c=KJE.LongTermCareSavingsCalc.solveForCurrentAmt(m,n,o,a,d);var p=KJE.LongTermCareSavingsCalc.solveForSaveAmt(m,n,o,a,0);this.AMT_SAVED_FOR_LTC=KJE.FV_AMT(o,a,n)+KJE.FV_BEGIN(o,a,d);this.DS_NEW=KJE.FloatArray(this.LTC_BEGINS+1);this.DS_TARGET=KJE.FloatArray(this.LTC_BEGINS+1);this.sCats=new Array(this.LTC_BEGINS+1);if(l){var g=this.sSchedule;g.clearRepeat();g.addHeader(g.sReportCol("Year",1),g.sReportCol("Contribute",2)+" "+f.dollars(d)+" "+g.sReportCol(this.SAVING_FREQUENCY+"",3),g.sReportCol("Contribute",2)+" "+f.dollars(p,2)+" "+g.sReportCol(this.SAVING_FREQUENCY+"",3));g.addRepeat(" ",f.dollars(n)+" "+g.sReportCol("Starting Balance",4)+" ",f.dollars(n)+" "+g.sReportCol("Starting Balance",4)+" ")}for(var h=0;h<=this.LTC_BEGINS;h++){this.DS_NEW[h]=KJE.FV_AMT(o,h*this.NBR_PERIODS,n)+KJE.FV_BEGIN(o,h*this.NBR_PERIODS,d);this.DS_TARGET[h]=m;this.sCats[h]=""+h}this.AMT_TARGET=m;this.LTC_BEGINS=k;this.MONTHS_BF_TARGET=a;this.RQD_CURRENT=c;this.RQD_SAVE_MONTH=p;this.SAVING_FREQUENCY_LOWER=this.SAVING_FREQUENCY.toLowerCase();this.AMOUNT_PER_YEAR=j};KJE.LongTermCareSavingsCalc.prototype.formatReport=function(a){a.replace("CHANGE_MSG",this.CHANGE_MSG);a.replace("RETIREMENT_LOCATION",(this.RETIREMENT_LOCATION_DESC?this.RETIREMENT_LOCATION_DESC:""));a.age("CURRENT_AGE",this.CURRENT_AGE);a.number("LTC_BEGINS",this.LTC_BEGINS);a.year("LTC_YEARS",this.LTC_YEARS);a.dollars("LTC_YEARS",this.LTC_YEARS);a.returnRate("ROR_INVEST",this.ROR_INVEST/100);a.inflationRate("INFLATION_RATE",this.INFLATION_RATE/100);a.returnRate("ROR_MONTHLY_PERC",this.ROR_MONTHLY_PERC);a.dollars("RQD_CURRENT",this.RQD_CURRENT);a.dollars("AMT_SAVE_MONTH",this.AMT_SAVE_MONTH);a.dollars("AMT_CURRENT",this.AMT_CURRENT);a.dollars("AMOUNT_PER_YEAR",this.AMOUNT_PER_YEAR);a.dollars("RQD_SAVE_MONTH",this.RQD_SAVE_MONTH);a.dollars("AMT_TARGET",this.AMT_TARGET);a.number("NBR_PERIODS",this.NBR_PERIODS);a.replace("SAVING_FREQUENCY_LOWER",this.SAVING_FREQUENCY_LOWER);a.replace("SAVING_FREQUENCY",this.SAVING_FREQUENCY);a.dollars("AMT_SAVED_FOR_LTC",this.AMT_SAVED_FOR_LTC);a.replace("**REPEATING GROUP**",this.sSchedule.getRepeat())};KJE.LongTermCareSavingsCalc.prototype.solveAmtAtYear=function(a,b){return KJE.FV_AMT(this.ROR_MONTHLY_PERC,a*this.NBR_PERIODS,this.AMT_CURRENT)+KJE.FV_BEGIN(this.ROR_MONTHLY_PERC,a*this.NBR_PERIODS,b)};KJE.LongTermCareSavingsCalc.solveForMonths=function(a,b,g,d,e){d=1000/2;var f=1000/4;for(var c=0;c<30;c++){if(this.ifTargetGreater(a,b,g,d,e)){d+=f}else{d-=f}f=f/2}return d};KJE.LongTermCareSavingsCalc.solveForCurrentAmt=function(a,b,g,d,e){b=10000000/2;var f=10000000/4;for(var c=0;c<30;c++){if(KJE.LongTermCareSavingsCalc.ifTargetGreater(a,b,g,d,e)){b+=f}else{b-=f}f=f/2}return b};KJE.LongTermCareSavingsCalc.solveForSaveAmt=function(a,b,g,d,e){e=100000/2;var f=100000/4;for(var c=0;c<30;c++){if(KJE.LongTermCareSavingsCalc.ifTargetGreater(a,b,g,d,e)){e+=f}else{e-=f}f=f/2}return e};KJE.LongTermCareSavingsCalc.solveForROR=function(a,b,g,d,e){g=0.3/2;var f=g/2;for(var c=0;c<50;c++){if(KJE.LongTermCareSavingsCalc.ifTargetGreater(a,b,g,d,e)){g+=f}else{g-=f}f=f/2}return g};KJE.LongTermCareSavingsCalc.ifTargetGreater=function(a,b,e,c,d){return(a>KJE.FV_AMT(e,c,b)+KJE.FV_BEGIN(e,c,d))};KJE.LongTermCareSavingsCalc.ifTargetSmaller=function(a,b,e,c,d){return(aInput information:
**COMMAND_BUTTONS** **GRAPH1** ";KJE.DefinitionText=" Your current ageYour current age. Where do you plan to retireChoose the location that you expect to retire in. This will have an impact on the cost of your long-term care. Annual cost of long-term careThe annual cost of long term-care in a nursing home with a semi-private room. To enter an amount for a location not in the provided list, or to enter your own long-term care cost estimate, choose \"other\" from the selection list. Your long-term care begins inEstimated number of years before your long-term care needs begin. Years of long-term careEstimated number of years you expect to need long-term care coverage. Estimated annual inflation rateWhat you expect for the average long-term inflation rate for long-term care costs. Amount currently allocatedTotal you currently have saved toward your long-term care needs. This should not include other savings that you will need to fund your retirement, living expenses or other savings needs. Only include money specifically allocated to your long-term care needs. Monthly savingsEnter how much could you afford to put away monthly towards your long-term care costs. This calculator also assumes that you make your contribution at the beginning of each month. Estimated rate of returnThis is the annually compounded rate of return you expect from your investments. For the purposes of this calculator, taxation is not factored into the results. If you pay taxes on the interest, dividends or capital gains from these investments, you may wish to enter your after-tax rate of return. **ROR_DEFINITION** ";KJE.ReportText=' In LTC_BEGINS years, your current savings plan could provide AMT_SAVED_FOR_LTC for your long-term care needs. The projected cost at that time for LTC_YEARS years of care in RETIREMENT_LOCATION is AMT_TARGET. This assumes INFLATION_RATE inflation and a current annual cost of AMOUNT_PER_YEAR for a semi-private room in a nursing home. To fully fund your projected long-term care expenses would require saving RQD_SAVE_MONTH per month in addition to your current savings of AMT_CURRENT. **GRAPH** Your current age | CURRENT_AGE |
Where you plan to retire | RETIREMENT_LOCATION |
Your long-term care begins in | LTC_BEGINS |
Years of long-term care | LTC_YEARS |
Long-term care inflation rate | INFLATION_RATE |
Amount currently allocated | AMT_CURRENT |
Monthly savings | AMT_SAVE_MONTH per month |
Expected rate of return | ROR_INVEST |
';
// 12/31/2024 Copyright 2024 KJE Computer Solutions, Inc. Licensed for use on www.thrivent.com cms.qa2.thrivent.psdops.com qa.thrivent.psdops.com qa2.thrivent.psdops.com qa3.thrivent.psdops.com uat.thrivent.psdops.com prod.thrivent.psdops.com cms.qa.thrivent.psdops.com cms.qa2.thrivent.psdops.com cms.qa3.thrivent.psdops.com cms.uat.thrivent.psdops.com cms.prod.thrivent.psdops.com