If you're like most people, your retirement accounts hold far less than they should, and you probably aren't even sure how to best invest the money you have in them. Let's tackle those issues. Here's a look at how much you might amass -- if you're invested very effectively over long periods. Image source: Getty Images. Growing your retirement accounts First of all, know that no matter how much you've amassed so far, if you still have some time before you retire, you can probably grow your accounts considerably. You just have to invest those dollars effectively, and it's hard to beat the stock market for that. Check out the table below, offering data from Wharton Business School professor Jeremy Siegel, who studied investment returns from the 1800s to recent years. He found that stocks outperformed bonds in 96% of all 20-year holding periods between 1871 and 2012, and in 99% of all 30-year holding periods. From his data, here are the average returns for stocks, bonds, bills, gold, and the dollar, between 1802 and 2012: Asset Class Annualized Nominal Return Stocks 8.1% Bonds 5.1% Bills 4.2% Gold 2.1% U.S. dollar 1.4% Source: Stocks for the Long Run. If you're more interested in a more relevant investment period for yourself than 210 years, know that the annualized growth rate for stocks from 1926 to 2012 was 9.6%, and that also easily beat the alternatives. That's encouraging, but the period that you're investing in may not produce such results -- you may average a 5% overall average annual gain, an 8% one, or more or less. Let's just go with 8% for now. The table below shows how much you might amass regularly saving various sums over various periods: Growing at 8% for $5,000 invested annually $10,000 invested annually $15,000 invested annually 5 years $31,680 $63,359 $95,039 10 years $78,227 $156,455 $234,682 15 years $146,621 $293,243 $439,864 20 years $247,115 $494,229 $741,344 25 years $394,772 $789,544 $1,184,316 30 years $611,729 $1,223,459 $1,835,188 35 years $930,511 $1,861,021 $2,791,532 40 years $1,398,905 $2,797,810 $4,196,716 Source: Calculations by author. The best ETF to grow your wealth So, given that stocks generally outperform, how should you best invest your hard-earned dollars? Well, index funds make the most sense for the most people. An index fund is a passively managed mutual fund -- one that simply holds the same securities that are in a particular index. Then its returns approximate the returns of the index itself -- provided that its fees are low. (Many index funds sport ultra-low annual fees -- often below 0.10%.) An especially easy way to invest in various index funds is via exchange-traded funds (ETFs). They're kind of a hybrid of mutual funds and stocks, holding a variety of securities, but trading like stocks -- and allowing you to buy as few or as many shares as you want via your brokerage. A prime candidate and one of the most popular index ETFs is the SPDR S&P 500 ETF (NYSEMKT: SPY), which tracks the S&P 500, an index of 500 of America's biggest companies that's often used as a proxy for the whole U.S. stock market. Its holdings, together, make up about 80% of the U.S. market's overall value. You might go beyond that, though, and opt for the Vanguard Total Stock Market ETF (NYSEMKT: VTI), which aims to track the performance of the entire U.S. stock market -- by including the smaller companies that didn't qualify for inclusion in the S&P 500. An even broader option is the Vanguard Total World Stock ETF (NYSEMKT: VT), which encompasses the world's stock markets. Any of these, or a combination of them, should serve you well, growing your long-term dollars effectively. 10 stocks we like better than SPDR S&P 500When investing geniuses David and Tom Gardner have a stock tip, it can pay to listen. After all, the newsletter they have run for over a decade, Motley Fool Stock Advisor, has tripled the market.* David and Tom just revealed what they believe are the ten best stocks for investors to buy right now… and SPDR S&P 500 wasn't one of them! That's right -- they think these 10 stocks are even better buys. See the 10 stocks *Stock Advisor returns as of June 2, 2020 Selena Maranjian has no position in any of the stocks mentioned. The Motley Fool has no position in any of the stocks mentioned. The Motley Fool has a disclosure policy.Source