You -- yes, you -- could become a millionaire. The trick lies in figuring out just how to reach that goal from where you are now.

Several factors will influence how you'll get there:

  • How much you have invested already.
  • How much you can save and invest each year.
  • How long your money will have to grow.
  • What average annual return you expect to earn.

Let's see how these factors can work for you, supposing you're 40 years old with a $50,000 nest egg:

Amount Invested
Per Year

Average Rate of Return

Years to $1 Million

Age at $1 Million

$3,000

8%

32

72

$5,000

8%

29

69

$10,000

8%

24

64

$3,000

10%

27

67

$5,000

10%

25

65

$10,000

10%

21

61

$3,000

12%

23

63

$5,000

12%

21

61

$10,000

12%

18

58

These reasonable inputs would let you achieve millionairehood within about 20 to 30 years, depending on how quickly your money grows, and how much you manage to save and invest.

You might already know that the stock market's longtime average return is about 10% per year. But remember, that's a very long-term average -- stocks could average 8%, 12%, or something else entirely during the 20, 30, or 40 years that you invest. And that's not the only complication the market could toss your way.

Before you start seeing dollar signs ...
As we've seen over the past year or two, even stocks considered the safest blue chips can have widely differing performances over short or long stretches of time. Check out how some familiar names have fared over the past two decades:

Company

20-Year Average
Annual Return

Cisco Systems (Nasdaq: CSCO)

29%*

Best Buy (NYSE: BBY)

27%

Intel (Nasdaq: INTC)

16%

Altria (NYSE: MO)

16%

Hewlett-Packard (NYSE: HPQ)

15%

Wal-Mart (NYSE: WMT)

13%

Boeing (NYSE: BA)

8%

S&P 500

8%

Data: Yahoo! Finance.
*19-Year return.

Your best path to a million bucks
You can get to a million faster by saving and investing more, and by picking the right stocks to generate higher returns. And you'll stand a chance of compounding at higher rates if you invest in stocks with the healthiest growth rates.

Smaller companies are generally one good area to start looking for strong growers. After all, it's easier to double your revenue from $50 million to $100 million than from $50 billion to $100 billion. To an extent, the outsized returns in the table above reflect companies that were much younger and smaller 20 years ago.

Small caps outperform their larger peers overall. And according to data compiled by my Foolish colleague Tim Hanson, all of the past decade's best performers were small, most with capitalizations less than $100 million. Check out the 10-year average returns of these strong performers over the past decade:

Company

10-Year Average Annual Return, 1999-2009

Market Cap
on Jan. 1, 2000

Medifast

57%

$2 million

Green Mountain

54%

$27 million

XTO Energy

53%

$427 million

Hansen Natural

52%

$43 million

Data from Capital IQ, a division of Standard & Poor's.

Compare those puny market caps with those of today's blue chips. Boeing's tops $40 billion, while IBM's tops $160 billion. Which kinds of companies do you think stand the better chance of growing quickly?

It's critical to choose your stocks well, and to keep up with your holdings, making sure you're devoting money to your best ideas. It's also critical to start soon. The more time your money has to grow, the sooner you'll reach a million.

If you're looking for small companies with lots of room to grow, try our Motley Fool Hidden Gems newsletter, absolutely free. Even in this crummy economy, its recommendations have been outperforming the market. You can access all past issues and recommendations with a 30-day guest pass.

Already a member of Hidden Gems? Log in at the top of this page.

This article was originally published on June 15, 2009. It has been updated.

Longtime Fool contributor Selena Maranjian owns shares of Wal-Mart. Best Buy, Intel, and Wal-Mart Stores are Motley Fool Inside Value selections. Green Mountain Coffee Roasters and Hansen Natural are Motley Fool Rule Breakers picks. Best Buy is a Motley Fool Stock Advisor recommendation. Motley Fool Options has recommended buying calls on Intel. The Fool owns shares of Best Buy and XTO Energy. The Motley Fool is Fools writing for Fools.