The simple answer to this question is that absolute P/E, which is the most quoted of the two ratios, is the price of a stock divided by the company's earnings per share (EPS). This measure indicates how much investors are willing to pay per dollar of earnings. The relative P/E ratio, on the other hand, is a measure that compares the current P/E ratio to the past P/E ratios of the company or to the current P/E ratio of a benchmark. Let's look at both absolute and relative P/E in more detail.
Absolute P/E: The nominator of this ratio is usually the current stock price, and the denominator may be the trailing EPS (from the trailing 12 months [TTM]), the estimated EPS for the next 12 months (forward P/E) or a mix of the trailing EPS of the last two quarters and the forward P/E for the next two quarters. When distinguishing absolute P/E from relative P/E, it is important to remember that absolute P/E represents the P/E of the current time period.
For example, if the price of the stock today is $100, and the TTM earnings are $2 per share, the P/E is 50 ($100/$2).
Relative P/E: Relative P/E compares the current absolute P/E to a benchmark or a range of past P/Es over a relevant time period, such as the last 10 years. Relative P/E shows what portion or percentage of the past P/Es the current P/E has reached. Relative P/E usually compares the current P/E value to the highest value of the range, but investors might also compare the current P/E to the bottom side of the range, measuring how close the current P/E is to the historic low. The relative P/E will have a value below 100% if the current P/E is lower than the past value (whether the past high or low). If the relative P/E measure is 100% or more, this tells investors that the current P/E has reached or surpassed the past value.
Suppose a company's P/Es over the last 10 years have ranged between 15 and 40. If the current P/E ratio is 25, the relative P/E comparing the current P/E to the highest value of this past range is 0.625 (25/40), and the current P/E relative to the low end of the range is 1.67 (25/15). These value tell investors that the company's P/E is currently 62.5% of the 10year high, and 67% higher than the 10year low.
If all is equal over the time period, the closer the P/E gets to the high side of the range and further away from the low side, the more caution an investor needs since this could mean the stock is overvalued. There is, however, a lot of discretion that goes into interpreting relative P/E. Fundamental shifts in the company such as an acquisition of a highly profitable entity can justifiably increase the P/E above the historic high.
As we mentioned above, relative P/E may also compare the current P/E to the average P/E of a benchmark such as the S&P 500. Continuing with the example above where we have a current P/E ratio of 25, suppose the P/E of the market is 20. The relative P/E of the company to the index is therefore 1.25 (25/20). This shows investors that the company has a higher P/E relative to the index, indicating that the company's earnings are more expensive than that of the index. A higher P/E, however, does not mean it is a bad investment. On the contrary, it may mean the company's earnings are growing faster than those represented by the index. If, however, there is a large discrepancy between the P/E of the company and the P/E of the index, investors may want to do additional research into the discrepancy.
Conclusion
Absolute P/E, compared to relative P/E, is the mostoften used measure and is useful in investment decision making; however, it is often wise to expand the application of that measure with the relative P/E measure to gain further information.
For more information on the price to earnings ratio please read Understanding the P/E Ratio tutorial.

How can the pricetoearnings (P/E) ratio mislead investors?
A low P/E ratio doesn't automatically mean a stock is undervalued, just like a high P/E ratio doesn't necessarily mean it ... Read Answer >> 
What is the difference between forward p/e and trailing p/e?
Understand the difference between the trailing P/E ratio, which is the standard pricetoearnings calculation, and the forward ... Read Answer >> 
What does the forward p/e indicate about a company?
Explore the forward price to earnings ratio and learn its significance and how it compares to the traditional price to earnings ... Read Answer >> 
What is the average pricetoearnings ratio in the banking sector?
Explore the price/earnings ratio in regard to the banking industry and learn what the average P/E ratio is for most banking ... Read Answer >> 
How do I calculate the P/E ratio of a company?
The P/E ratio is a valuation measure that compares the level of stock prices to the level of corporate profits, providing ... Read Answer >> 
What does it mean if a bond has a zero coupon rate?
Learn what the average range for the price to earnings (P/E) ratio in the electronics sector is and which factors influence ... Read Answer >>

Investing
Differences Between Forward P/E And Trailing P/E
The most common types of price to earnings ratios are forward P/E and trailing P/E. Find out how they differ and the advantages and drawbacks of each. 
Investing
Is Stock With a Lower P/E Always A Better Choice?
Is a stock with a lower P/E always a better investment than a stock with a higher one? The short answer is no, but it depends on a few things. 
Investing
Can Investors Trust The P/E Ratio?
The P/E ratio is one of the most popular stock market ratios, but it has some serious flaws that investors should know about. 
Investing
Comparing the P/E, EPS And Earnings Yield
Here are three ratios that help investors value stock returns. 
Investing
Explaining Forward PricetoEarnings Ratio
The estimated P/E of a company is often used to compare current earnings to estimated future earnings.

PriceEarnings Ratio  P/E Ratio
The PricetoEarnings Ratio or P/E ratio is a ratio for valuing ... 
Forward Price To Earnings  Forward P/E
A measure of the pricetoearnings ratio (P/E) using forecasted ... 
P/E 30 Ratio
The pricetoearnings (P/E) ratio is the valuation ratio of a ... 
Franchise P/E
The expected value of new business opportunities available to ... 
Price/Earnings To Growth  PEG Ratio
Price/Earnings to Growth (PEG) is a stock's price to earnings ... 
Multiple
A term that measures some aspect of a company's financial wellbeing, ...