Investors are worried about the economy, both in the U.S. and on a global scale. High inflation and rising interest rates threaten to slow consumer spending and weaken corporate growth, potentially triggering a recession. That concern has sent the stock market plunging over the past year. The broad-based S&P 500 has fallen 23% since last peaking in January 2022, and the tech-heavy Nasdaq Composite has dropped 33% since last peaking in November 2021. That puts both indexes in bear market territory.

Losses of that magnitude can be alarming, but investors can take solace in one simple truth: The S&P 500 and the Nasdaq Composite have been through bear markets before, and both indexes have always recovered. There is no reason to believe this time is any different. That makes the current downturn a buying opportunity, and one smart way to capitalize is by investing in index funds that track the S&P 500 and the Nasdaq Composite.

Here are two great examples.

1. Vanguard S&P 500 ETF
The Vanguard S&P 500 ETF (VOO) aims to track the performance of the S&P 500, a diversified index often viewed as a benchmark for the entire U.S. stock market. The ETF is invested in 500 of the largest U.S. companies, representing a blend of value stocks and growth stocks. Its components cover all 11 market sectors, though certain sectors are weighted more heavily, meaning they have a greater impact on performance.

The chart below shows the sector allocation of the Vanguard S&P 500 ETF.

DATA SOURCE: VANGUARD.

Over the past decade, the Vanguard S&P 500 produced a total return of 212%, which is about 12% annually. At that pace, $100 invested on a weekly basis would grow into $96,700 over a decade, and it would grow into $1.3 million over three decades. That means young investors could easily build million-dollar portfolios by retirement, and without even doing much work.

It’s worth noting that Warren Buffett has regularly recommended an S&P 500 index fund as the best way to gain stock market exposure for most investors. In fact, Buffett once made a bet that he could outperform a team of 200-plus hedge fund managers with nothing more than an S&P 500 index fund. Buffett won that bet.

In closing, the Vanguard S&P 500 ETF has a very low expense ratio of 0.03%, meaning the fee on a $10,000 portfolio is just $3 per year. With that in mind, this ETF is a great option for investors that want diversification across the U.S. stock market.

2. Fidelity Nasdaq Composite ETF
The Fidelity Nasdaq Composite ETF (ONEQ) aims to track the performance of the Nasdaq Composite, an index often viewed as a benchmark for tech stocks. The Fidelity ETF comprises more than 1,000 U.S. and international companies, representing a concentrated portfolio of large-cap growth stocks. Its components span all 11 market sectors, but the ETF is heavily weighted toward information technology.

The chart below shows the sector allocation of the Fidelity Nasdaq Composite ETF.

DATA SOURCE: FIDELITY.

The tech-heavy nature of the Nasdaq Composite makes it much more volatile than the S&P 500, as evidenced by the current downturn. The Nasdaq Composite is 34% off its high, but the S&P 500 has fallen just 23%. But there are two sides to volatility, and the Nasdaq Composite has easily outperformed the S&P 500 over the long term.

On that note, the Fidelity Nasdaq Composite ETF generated a total return of 295% over the past decade, which is the same as 14.7% per year. At that pace, $100 invested on a weekly basis would grow into $111,600 over a decade, and it would grow into $2.3 million over three decades.

However, that outperformance comes with a slightly higher fee. The Fidelity Nasdaq Composite ETF has an expense ratio of 0.21%, meaning investors will pay $21 per year on a $10,000 portfolio. All things considered, this ETF is a great option for risk-tolerant investors looking for exposure to growth stocks, especially growth stocks in the tech sector.

— Trevor Jennewine

Where to Invest $99 [sponsor]
Motley Fool Stock Advisor's average stock pick is up over 350%*, beating the market by an incredible 4-1 margin. Here’s what you get if you join up with us today: Two new stock recommendations each month. A short list of Best Buys Now. Stocks we feel present the most timely buying opportunity, so you know what to focus on today. There's so much more, including a membership-fee-back guarantee. New members can join today for only $99/year.

Source: The Motley Fool