The price/earnings-to-growth ratio (PEG ratio) is one of several different ways to value a stock, but it's the only metric that takes a company's earnings growth rate into account.

Most valuation ratios such as price-to-earnings, price-to-sales, and price-to-book are based on backward-looking metrics and don't directly consider a company's growth prospects. Since growth is a key component of a stock's expected return, the inclusion of the growth rate gives the PEG an advantage over the most commonly used alternatives. However, this ratio, like all others, has its pros and cons.
In looking at the PEG ratio, we'll discuss how to calculate it, give an example of how it's used, and examine the best uses for the PEG ratio.
How to calculate the PEG ratio
The PEG ratio starts with the P/E ratio but takes it one step further. To get the PEG, you first divide a stock's price by its earnings per share (EPS), just as you would to get the P/E ratio. Once you have the P/E ratio, you divide that by the expected earnings-per-share growth rate over a period of time, often five years. If it's multiple years, you use the compound annual growth rate.
The formula looks like this:
(P/E ratio) / Expected annual EPS growth
The price-to-earnings ratio of a stock can generally be found on a stock market portal like Yahoo! Finance or from your brokerage. Expected growth rates, which are generally determined by Wall Street analysts unless a company has given its own guidance, can likely be found with your brokerage. You may have to do some calculations to determine the growth rate based on the earnings forecasts available.
For example, if a company currently has $1 in EPS and analysts forecast $1.50 in EPS in three years, its compound annual growth rate (CAGR) would be 14.5%. To determine the CAGR, you would divide the last year's EPS by the first year's EPS and take it to the power of 1 / (the number of years between them).

The bottom line
The PEG ratio is a good way to value a stock while taking its growth rate into account, and investors should be familiar with how the PEG ratio formula works. However, there are drawbacks to using the metric. Like any of the popular valuation ratios, it shouldn't be used as a one-off test to decide whether to buy a stock or not. It's important to understand things like a company's competitive advantage, its addressable market, and its long-term growth prospects.
Competitive Advantage
Traditionally, a PEG of 1 was seen as the market average, but that is no longer true as stocks have gotten more expensive over the past decade with the high-priced, fast-growing tech sector coming to dominate the market. That may be one reason why the PEG ratio is used less than the P/E, even though the PEG in many ways is more useful.
Investors who understand the PEG ratio and deploy it in their analysis can use it to their advantage. In particular, the PEG is a good tool for comparing stocks to competitors as well as to their historical valuation.