The price-to-earnings (P/E) ratio is one of the most popular and widely used financial metrics, but it has a number of inherent flaws for which the enterprise value to EBITDA (EV/EBITDA) ratio compensates.

The P/E ratio is a valuation metric that compares a company’s stock earnings per share (EPS) to its current market price. This metric is widely known and used as an indicator of a company's future growth potential. The P/E ratio does not reveal a full picture, and it is most useful when comparing only companies within the same industry or comparing companies against the general market.

A high P/E ratio typically means that the market is willing to pay a higher price relative to earnings because there is an expectation of future growth in the company. Tech stocks, for example, usually carry high P/E ratios. A low P/E ratio indicates that the market is expecting lower growth in the company or perhaps less favorable macroeconomic conditions that might hurt the company. As a result, despite its earnings, the stock typically sells off somewhat if it has a low P/E since investors don't think the current price justifies the earnings outlook.

There are problems that arise for investors with the use of the P/E ratio. The stock price can get run up if investors are overly optimistic causing an overvalued P/E ratio. Also, the earnings portion of the metric can be manipulated somewhat if, for example, a company's earnings are flat, but the company's management reduces their outstanding shares, thus boosting the company's earnings on a per share basis.

The EV/EBITDA ratio helps to allay some of the P/E’s downfalls and is a financial metric that measures the return a company makes on its capital investments. EBITDA stands for Earnings Before Interest, Taxes, Depreciation, and Amortization. In other words, EBITDA provides a clearer picture of the financial performance of a company since it strips out debt costs, taxes, and accounting measures like depreciation, which spreads the costs of fixed assets out for many years.

The other component is Enterprise Value or EV and is the sum of a company's equity value or market capitalization plus its debt less cash. EV is typically used in buyouts. The EV/EBITDA ratio is calculated by dividing EV by EBITDA to achieve an earnings multiple that is more comprehensive than the P/E ratio.

However, the ratio has its drawbacks, which include the fact that it doesn't include capital expenditures, which for some industries can be significant. As a result, it may produce a more favorable multiple by not including those expenditures.

Though the calculation of this ratio can be complex, EV and EBITDA for publicly traded companies are widely available on most financial websites. The ratio is often preferred to other return metrics because it evens out differences in taxation, capital structure (debt), and asset counting.

The P/E ratio has been established as a prime market valuation metric, and the sheer volume of current and historical data gives the metric weight in regard to stock analysis. Some analysts contend that using the EV/EBITDA ratio versus the P/E ratio as a valuation method produces better investment returns.

Both metrics have inherent advantages and disadvantages. As with any financial metric, it's important to consider several financial ratios including the P/E ratio and the EV/EBITDA ratio in determining whether a company is fairly valued, overvalued, or undervalued.