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. Here's an interesting exercise: Think of the companies that interest you most as investments right now. You don't know how they'll do in the future, but you can look up how they've fared over the past 10 or 20 years. Not all will have done so well in the past, despite your rosy expectations of future performance.

Here are some companies I got when I screened for enterprises with promising characteristics, such as returns on equity (ROE) above 15%, three-year revenue growth rates of at least 7%, and P/E ratios of 25 or less, along with four- or five-star ratings (out of five) in our CAPS community of investors. I'll add in their 10-year average annual returns:

Company

ROE

3-Year Revenue Growth Rate

Market Capitalization

P/E

10-Year Average Annual Return

Transocean (NYSE: RIG)

15.5%

48.6%

$23 billion

7

3.9%

Petroleo Brasileiro (NYSE: PBR)

16.8%

10.7%

$171 billion

11

25.0%*

Freeport-McMoRan Copper & Gold (NYSE: FCX)

56.6%

19.4%

$30 billion

9

22.4%

Noble (NYSE: NE)

24.7%

19.6%

$10 billion

6

6.7%

Eli Lilly

45.5%

11.4%

$40 billion

9

(5.2%)

General Dynamics (NYSE: GD)

19.3%

7.6%

$29 billion

12

12.1%

Diamond Offshore Drilling (NYSE: DO)

36.2%

16.9%

$11 billion

8

10.1%

Abbott Labs (NYSE: ABT)

25.1%

9.9%

$78 billion

15

6.1%

S&P 500

-- -- -- --

(2.0%)

Data: Motley Fool CAPS, Yahoo! Finance.
*Nine-year average return.

These are impressive companies and are fine candidates to research for your move to millionairehood. But even impressive companies can have wildly different performances over long periods, so keep that in mind. It also serves to remind us how important it is to do as much research as possible before investing and to find the companies with the best chances of strong growth.

Digging into numbers such as those above is a good place to start, but dig deeper. A high ROE, for example, can be partly due to high debt, which isn't always such a good thing. A P/E of 15 can be low for a software company, but high for a carmaker.

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.

One great place to seek strong growers is among smaller companies. 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-cap stocks 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

Market Cap on Jan. 1, 1999

Green Mountain Coffee Roasters

45%

$19 million

Almost Family

41%

$9 million

Southwestern Energy

44%

$187 million

XTO Energy

35%

$343 million

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

Compare those puny market caps with those of today's blue chips. General Dynamics' approaches $30 billion, while Petroleo Brasileiro's tops $170 billion. Which kinds of companies do you think stand the better chance of growing really 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 our recently 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 June 15, 2009. It has been updated.

Longtime Fool contributor Selena Maranjian owns shares of no stock mentioned in this article. General Dynamics is a Motley Fool Inside Value selection. Green Mountain Coffee Roasters is a Motley Fool Rule Breakers recommendation. Petroleo Brasileiro is a Motley Fool Income Investor pick. The Fool owns shares of XTO Energy. The Motley Fool is Fools writing for Fools.