Price to Earnings Ratio Calculator: P/E From Price and EPS
Work out a stock's price to earnings (P/E) ratio — the most widely cited single number in equity investing, and the quickest way to spot whether a share is priced for value or for growth.
Adjust the inputs and select Calculate for a full breakdown.
Compare Common Scenarios
How the numbers shift across typical situations for this calculator:
| Scenario | P/E ratio (price per $1 of earnings) |
|---|---|
| $50 price · $2.50 EPS | $20.00 |
| $120 price · $4.00 EPS | $30.00 |
| $30 price · $0.80 EPS | $37.50 |
| $200 price · $5.50 EPS | $36.36 |
How This Calculator Works
Enter the current share price and the company's earnings per share (EPS). The calculator divides one by the other to give the P/E ratio — read it as the dollars you are paying for each $1 of annual earnings.
The Formula
Cost per Unit
Total Amount is the full cost or price, Quantity is the number of units it covers
Worked Example
A stock trading at $50 with $2.50 of EPS has a P/E of 20 — investors are paying $20 today for every $1 of current annual earnings. The S&P 500 has averaged a P/E between 15 and 18 across long periods; growth stocks routinely trade above 30; mature value stocks below 12.
Key Insight
P/E is a price-relative-to-now metric. A high P/E means the market expects future earnings to be much higher; a low P/E suggests either declining expectations or undervaluation. P/E alone is never a buy or sell signal — pair it with growth rate (PEG ratio), debt levels, and industry comparable to interpret the figure correctly.
Frequently Asked Questions
How is P/E ratio calculated?
Divide the current share price by earnings per share. A $50 stock with $2.50 EPS has a P/E of 20.
What is trailing vs forward P/E?
Trailing P/E uses the past twelve months of EPS — backward looking and verified. Forward P/E uses analyst estimates for the next twelve months — forward looking but less certain.
What is a good P/E ratio?
It depends on the sector and the company's growth. Mature businesses commonly trade at 10 to 18; growth companies often 25 to 50; some hyper-growth names well above that. Compare against industry peers, not market averages.
Why do some stocks have no P/E?
Because they have no earnings — either they are loss-making or earnings are negligible. Many high-growth tech companies trade at sky-high or undefined P/E for years; revenue multiples are often used instead.
How is P/E related to dividend yield?
Inversely correlated for mature payers. A higher P/E generally means a lower yield because dividends grow more slowly than the share price. Yield-focused investors often hunt at lower P/E ratios.
Related Calculators
Data Sources & Benchmarks
This calculator draws on 1 independent, dated source.
Methodology & Review
The P/E ratio is share price divided by earnings per share. The calculator outputs the figure in dollar form — read it as 'paying $X for every $1 of annual earnings'. Use trailing twelve-month EPS for trailing P/E, or analyst estimates for forward P/E.
Written by Ugo Candido · Last updated May 17, 2026.