P/E Ratio Calculator

Calculate a stock’s price-to-earnings (P/E) ratio, earnings yield and PEG ratio from its share price, earnings per share and expected growth.

$
$
Net earnings for the past 12 months divided by shares outstanding.
%
Percent per year, from your own estimate or analyst forecasts. Enter 0 to skip PEG.

Results

P/E ratio
25.00
Years of current earnings the price represents.
Earnings yield
4.00 %
EPS ÷ price, the inverse of P/E.
PEG ratio
2.50
P/E ÷ expected growth rate (in percent). A lower PEG means less price paid per unit of growth.

Estimate only. This tool is for informational and educational purposes. Results depend on your inputs and simplifying assumptions, and are not a substitute for professional engineering, design or financial advice. Always verify with a qualified professional and applicable codes before purchasing, building or making decisions.

How it’s calculated

The price-to-earnings (P/E) ratio compares a company's share price with what it earns per share. The SEC's Investor.gov notes that it is a way of gauging whether a stock price is high or low compared with the past or with other companies. The earnings yield is the same idea turned upside down, and the PEG ratio divides the P/E by expected earnings growth.

P/E = share price ÷ earnings per share (EPS) EPS = earnings for the past 12 months ÷ common shares outstanding Earnings yield = EPS ÷ share price × 100 PEG = P/E ÷ expected EPS growth rate (in percent per year)

Example: a $150 share with EPS of $6 has P/E = 150 ÷ 6 = 25 and an earnings yield of 6 ÷ 150 = 4%. If earnings are expected to grow 10% a year, PEG = 25 ÷ 10 = 2.5.

A P/E depends heavily on the industry and the period used, and one-time items can distort EPS. The PEG is only as good as the growth estimate, and growth forecasts are uncertain. This is not investment advice.

Frequently asked questions

What is a good P/E ratio?

There is no single good number. Compare a company’s P/E with its own history and with similar companies; a high P/E can reflect expected growth, a low one can reflect doubts about the future.

Why can’t I calculate a P/E for a company with losses?

When EPS is zero or negative, price divided by earnings is not meaningful, so this calculator asks for positive earnings.

What is the earnings yield?

It is EPS divided by price, as a percentage. A P/E of 25 equals an earnings yield of 4%, which you can compare to bond yields.

How do I read the PEG ratio?

It adjusts the P/E for growth, so a lower value suggests you pay less for each point of expected growth. It depends on a forecast and ignores risk, so treat it as a rough comparison only.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator