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

Duke Energy (NYSE: DUK)

8.5%

Johnson & Johnson (NYSE: JNJ)

13.9%

American Express

11.7%

Disney (NYSE: DIS)

7.7%%

Schwab (Nasdaq: SCHW)

22.9%

Motorola (NYSE: MOT)

2.8%

CVS Caremark (NYSE: CVS)

10.5%

Alcoa

5.3%

Eastman Kodak

(5.2%)

S&P 500

6.4%

Data: Yahoo! Finance.

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

Green Mountain Coffee Roasters

51.1%

$19 million

Almost Family

39.5%

$9

Southwestern Energy (NYSE: SWN)

47.9%

$187 million

XTO Energy

38.0%

$343 million

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

Compare those puny market caps with those of today's blue chips. Disney's approaches $70 billion, while Johnson & Johnson's tops $180 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 subscribe to 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 Johnson & Johnson and American Express. American Express and Walt Disney are Motley Fool Inside Value selections. Green Mountain Coffee Roasters is a Motley Fool Rule Breakers pick. Walt Disney and Charles Schwab are Motley Fool Stock Advisor recommendations. Duke Energy and Johnson & Johnson are Motley Fool Income Investor picks. Motley Fool Options has recommended a buy calls position on Johnson & Johnson. The Fool owns shares of XTO Energy. The Motley Fool is Fools writing for Fools.