Skip to main content

401(k) Forecaster

So I've been meaning to get around to creating this for a while. The idea spawned from my search for a 401(k) calculator that didn't just assume one given future. By that I mean, I wanted a calculator that didn't calculate the return on my investment based on just one average annual return. I wanted a calculator that showed me lots of different futures, based on the standard deviation, a.k.a. the risk, of what I've invested my money in. I want to see the most pessimistic futures, you know the ones where all my investments bite the dust, as well as the most optimistic futures where everything is rainbows and bunny rabbits, as well as everything in between. So in that sense, I wanted a forecaster, not a calculator, similar to the hurricane landfall maps you see on the Weather Channel where the most likely landfall is that red wedge in the middle while wider is an orange wedge and even less likely is the widest yellow wedge. So last week I threw together this 401(k) forecaster that shows you the 10th through 90th percentile of the probable futures. The graph is based on several factors:

  • what you'll be putting into your 401(k),

  • what you're investing in and how it is expected to grow,

  • and what you'll be withdrawing once you retire.


So now you've looked at it and are wondering, what do all the lines mean? Well, you can read the graph several ways:

  • you have a 90% chance of doing better than the 10th percentile line,

  • 50% chance of doing better than the 50th percentile line,

  • and a 10% chance of doing better than the 90th percentile.


I think from that you start to see the pattern. Play around with the variables to see how different things change your forecasted outcome. Don't miss that you can right-click on the graph to print it and change the view. You can also drag on the graph to change the view window (though the logarithmic scale seems to be buggy, try it with the log scale turned off, under Chart Info). The graph is drawn using the free open-source library JFreeChart.

Comments

jaxzin said…
I'm opened the source to this applet on github at http://jaxz.in/fcxFVN

Popular posts from this blog

TeamCity build triggering by GitHub

So I started using GitHub for a side project and discovered their very cool feature of service hooks. A service hook allows a repository administrator to setup a callback to another service when a commit is made to the repository. For example it can send an email, or chat a message via Jabber.

Now continuous integration servers, like TeamCity, can poll source control systems every few minutes to see if any changes have been committed. But wouldn't it be more efficient to use a service hook to trigger a build?
Looking at GitHub's service hooks, there wasn't one already available to callback a TeamCity server, but right on that same page was a link to the open source repository for GitHub Service Hooks. They "eat their own dogfood" so to speak and make it very easy to contribute new service hooks back to them. So I took an evening, did my first Ruby coding in a while which included more time getting Ruby setup and working on my Macbook than actually coding. In a …

My Journey to Fitness, a 5K, and my first Triathlon

My name is Brian and Sunday I became a triathlete. My journey started ten months ago when I decided to get back into shape after 15 years of being obese and out-of-shape with some yo-yo dieting in the middle. What changed? I'll get to that.
This weekend I competed in the first ever Rocketman Florida Triathlon which took place on the grounds of Kennedy Space Center at Cape Canaveral. In preparation I lost 50 lbs and 12 inches from my waist. But I'm getting ahead of myself.
I'm a huge space buff. As a kid I wanted to become an astronaut. I went to Space Camp in Titusville when I was 10. Before that, I saw my first shuttle launch at 7 while on vacation. It was the final launch of the Challenger. I've written about that experience. I've seen three other launches since then including John Glenn's famous return to space as well as the final launch that ended the U.S. Shuttle Program.
The idea of biking on the restricted grounds and getting closer than any civilian h…

Paperless

I've been slowly going paperless over the past decade. The first step on my journey started in 2000 when I signed up to use a payment service, PayTrust, to receive my incoming bills, scan them, and put them online for me to pay. The next major step was probably when I got a digital camera to replace my traditional film cameras. It might not be considered a "paperless" use case, but it has lead to very little hardcopies over the years as monitors and HDTV with screensavers and AppleTVs have become so beautiful.  Back to the paperless office, my next big step was eFileing my taxes but that didn't come until about 5 years later. Then suddenly about two years ago, I hit a real shift in my desire to go completely paperless when I got my iPad and installed Evernote.

digital notes...
If you aren't familiar with Evernote its an excellent app, available on all the major desktop and mobile OSes, that makes note-taking and organizing really simple. The killer feature is …