1. Calculators
  2. Stock Valuation & Fundamentals

P/E Ratio Calculator

Work out how many dollars investors pay for each dollar of a company's earnings, on last year's profits and on next year's estimate, and turn a P/E you consider fair back into a share price.

Updated Oct 16, 2026Free · no sign-upFormulas tested

Your inputs

Trailing P/E uses the earnings of the last 12 months; forward P/E uses the analysts’ estimate for the next 12 months or fiscal year.

Fills the share price, trailing 12-month EPS and the analysts’ forward EPS. You can change any value afterwards.
Earnings to use
$
$
Diluted earnings per share over the last four quarters. Negative if the company lost money.
$
The consensus estimate for the next 12 months or the next fiscal year.
The industry, the market or the stock’s own 5-year average, for comparison. Leave empty to skip.

Results

Trailing P/E18.00$72.00 ÷ $4.00 of earnings over the last 12 months
Forward P/E
16.00
Price ÷ $4.50 of expected EPS
Expected EPS growth
+12.5%
Trailing P/E ÷ forward P/E − 1
Earnings yield (trailing)
5.56%
EPS ÷ price
Earnings yield (forward)
6.25%
Premium to benchmark
-10.0%
Trailing P/E versus 20.0
Price at the benchmark P/E
$80.00

Investors pay $18.00 for each $1 of the last year’s earnings. The forward P/E is lower because analysts expect EPS to grow 12.5%; if they are wrong, the forward P/E is wrong too.

P/E at different share prices

The same earnings at prices 20% below to 20% above the one you entered.

Price changeShare priceTrailing P/EForward P/EEarnings yield
-20.00%$57.6014.412.86.94%
-10.00%$64.8016.214.46.17%
0.00%$72.0018.016.05.56%
+10.00%$79.2019.817.65.05%
+20.00%$86.4021.619.24.63%

Results are estimates from the numbers you enter. They are not financial, tax or legal advice.

How to use the P/E ratio calculator

The P/E ratio tool measures the multiple:

  1. Choose the earnings. Pick trailing, forward or both. With both, the calculator also shows the EPS growth the two figures imply.
  2. Enter the share price. The latest close is fine.
  3. Enter EPS. Trailing EPS is the diluted earnings per share of the last four quarters added together. Forward EPS is the consensus analyst estimate for the coming year.
  4. Add a benchmark P/E such as the industry average or the stock’s five-year average.

The Price from P/E tool works the other way: EPS and a fair multiple give the implied share price, with a table of prices at P/E ratios from 10 to 40.

The formulas

Trailing P/E = Share price ÷ EPS over the last 12 months
Forward P/E = Share price ÷ Expected EPS for the next 12 months
Earnings yield = EPS ÷ Share price = 1 ÷ P/E
Expected EPS growth = Trailing P/E ÷ Forward P/E − 1EPS is earnings per share, normally the diluted figure. The growth formula works because the price cancels out: it equals forward EPS ÷ trailing EPS − 1. P/E is shown only when EPS is positive.

A worked example

Company A’s shares trade at $72. Over the last 12 months it earned $4 a share, and analysts expect $4.50 next year.

The trailing P/E is 18.00 and the forward P/E is 16.00. The gap between them is the growth the analysts expect: 12.5%. The trailing earnings yield is 5.56%.

Against a benchmark P/E of 20, the stock trades at a 10.0% discount. At the benchmark multiple, the price would be $80.00.

In the Price from P/E tool, forward EPS of $4.50 at a target P/E of 18 implies a price of $81.00, 12.5% above the current $72. Each point of P/E is worth $4.50 a share, so the choice of multiple swings the answer: at a P/E of 12 the price would be $54.00, at 25 it would be $112.50.

How to read a P/E ratio

A P/E is a price tag on expectations: a high multiple says the market expects growth or unusual stability, a low one expects stagnation or risk. Typical levels vary widely by industry, so these ranges are only a rough guide:

P/E range What it often reflects
Below 10 Cyclical businesses near a profit peak, companies in decline, or real bargains
10 to 20 Mature, slower-growing companies: many banks, utilities and industrials
20 to 30 Steady growers with strong brands or high returns on capital
Above 30 Fast growth expected, or earnings temporarily depressed

Compare a stock with its own history and its direct competitors, and check the growth behind the multiple: the PEG ratio calculator divides the P/E by expected growth.

The market’s own P/E also moves with interest rates: when bonds pay more, investors demand higher earnings yields and multiples tend to fall.

Trailing versus forward: when they disagree

When analysts expect growth, the forward P/E is lower than the trailing one, as in the example. When they expect a decline, it is the other way round. If trailing EPS is $5 and forward EPS is $4, the trailing P/E of 14.40 looks cheaper than the forward P/E of 18.00, and the gap shows an expected fall in earnings of 20.0%.

The pattern is common in cyclical industries: at the top of the cycle, record earnings produce a low trailing P/E just before profits drop. There, a low multiple can be a warning rather than a bargain.

Negative earnings

When a company loses money, the calculator shows n/m. A negative P/E ranks nothing: −10 is not cheaper than 15.

If Company A had lost -$2 a share but analysts expected $1.50 next year, the trailing P/E would be n/m and the forward P/E 48.00. The earnings yield still works and is negative: -2.78%. For companies that are not yet profitable, the price-to-sales calculator is the usual starting point.

What this calculator does not include

  • Earnings quality. One-off gains, write-downs or tax effects distort EPS. Adjusted EPS removes them, but the company chooses the adjustments.
  • Debt. P/E ignores it; EV/EBITDA accounts for it.
  • Share count changes. Buybacks lift EPS without any growth in profit.
  • The quality of estimates. Forward EPS is a forecast, and forecasts for the year ahead are often revised.

Frequently asked questions

How do you calculate the P/E ratio?
Divide the share price by earnings per share. A stock at $72 with trailing EPS of $4 has a P/E of 18.00: investors pay that many dollars for each dollar of annual profit. Use diluted EPS over the last four quarters for the trailing figure.
What is the difference between trailing and forward P/E?
Trailing P/E uses the earnings the company actually reported over the past 12 months. Forward P/E uses analysts' estimates for the next 12 months or fiscal year. Trailing is based on facts but looks backward; forward looks ahead but is only as good as the estimate.
What is a good P/E ratio?
There is no single good number. Fast growers usually trade at higher multiples than slow-growing or cyclical companies, so compare a P/E with the company's own history and with similar businesses rather than with a fixed figure.
What does a negative P/E mean?
It means the company lost money, so the ratio has no useful meaning. Most data providers show it as n/m (not meaningful) or leave it blank, and value the company on forward earnings, sales or cash flow instead.
What is the earnings yield?
The earnings yield is the P/E turned upside down: EPS divided by the share price. A P/E of 18.00 is an earnings yield of 5.56%, a figure you can set beside a bond yield.

Related calculators

All calculators →

Compare with real P/E ratios

All stocks →

The valuation section of every PromtFinance stock page shows the company's earnings per share and price multiples, so you can check a P/E before you use it here.

This calculator is for education and planning. It uses the formulas described above and the inputs you provide; real results depend on fees, taxes, timing and other details that a general tool cannot know. PromtFinance does not give personal financial advice. Check important decisions with your provider or a qualified professional.