Make sure you take into account taxes.
Retirement investment plans such as 401ks and IRAs have significant tax benefits. The catch is that they can't be withdrawn from before age 59 without huge penalties.
So if the goal is to retire early, one needs to use regular investment vehicles, which are subject to capital gains (15%),