P/E Ratio Calculator
Calculate a stock's price-to-earnings ratio, earnings yield and PEG ratio from share price, EPS and expected growth.
Results are mathematical estimates, not financial, lending, tax or investment advice. Confirm rates, fees and terms with the provider or a qualified adviser. Valuation ratios are not recommendations to buy or sell.
How to use this calculator
Enter the current share price and earnings per share for the same period, usually the last twelve months (trailing) or the next year's analyst estimate (forward). Add an expected annual earnings growth rate to calculate the PEG ratio. Compare P/E ratios only between companies in the same industry, and alongside other measures.
Formula
P/E ratio = share price ÷ earnings per share. Earnings yield = EPS ÷ share price. PEG ratio = P/E ÷ expected annual EPS growth (in percent).
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewQasimACCA, CFA, Senior Financial Analyst
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
What does a high P/E mean?
Investors are paying more for each unit of current earnings, often because they expect faster growth. It can also mean the share is expensive relative to its earnings.
Why is P/E not shown for negative earnings?
A company with losses has negative EPS, and a negative P/E is not meaningful for comparison. Analysts usually describe it as not applicable.
What is the difference between trailing and forward P/E?
Trailing P/E uses reported earnings from the past 12 months. Forward P/E uses estimated earnings for the next 12 months, which may turn out to be wrong.
Is a PEG ratio below 1 a buy signal?
Not on its own. PEG depends on a growth forecast, and it ignores debt, risk, dividends and the quality of earnings.
What is a good P/E ratio?
It depends on the industry, growth and interest rates. Compare a company's P/E with similar companies, its own history and the wider market rather than with one fixed number.
What is the Shiller P/E (CAPE)?
It divides price by average inflation-adjusted earnings over the past 10 years, smoothing out business cycles. It is mainly used for whole markets rather than single companies.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- U.S. Securities and Exchange Commission. (n.d.). Stocks. View source
- Bodie, Z., Kane, A., & Marcus, A. J. (2024). Investments (13th ed.). McGraw Hill. View source
- Brealey, R. A., Myers, S. C., & Allen, F. (2023). Principles of corporate finance (14th ed.). McGraw Hill. View source
- Dahlquist, J. R., & Knight, R. (2022). Principles of finance. OpenStax. View source
- Franklin, M., Graybeal, P., & Cooper, D. (2019). Principles of accounting, volume 1: Financial accounting. OpenStax. View source