While people can often estimate how much they might need for 10 or 15 years of retirement, that calculation becomes more difficult for retirement that could last 20 years or more. Gary Waters/Ikon Images/Getty Images hide caption

itoggle caption Gary Waters/Ikon Images/Getty Images

Several Silicon Valley entrepreneurs are developing services that manage consumers' investment portfolios with algorithms rather than people. iStockphoto hide caption

itoggle caption iStockphoto