Imagine you are looking at two stocks: one trades at $30 a share, and the other trades at $35. You cannot tell which stock is actually cheaper until you compare its share price to the company’s annual profit. That is what the price-to-earnings (P/E) ratio does in stock valuation: it divides a company’s current share price by its earnings per share (EPS) to show how much investors pay for every $1 of annual profit.
If a stock trades at $20 and earns $2 per share over a 12-month period, its P/E ratio is 10, meaning you are paying $10 for every $1 of annual earnings. Investors compare that multiple against the company’s own historical range and its industry peers to judge whether shares are trading at a bargain or a premium.
How do you calculate the price-to-earnings ratio?
To calculate a company’s price-to-earnings ratio for stock valuation, divide the current market price of one share by the company’s earnings per share over a 12-month period. According to the U.S. Securities and Exchange Commission, earnings per share equals a company’s 12-month profit divided by the total number of common shares outstanding.
When calculating EPS for common stockholders, analysts start with total net income and subtract any preferred dividends before dividing by the common share count, as detailed in Charles Schwab’s stock analysis guide. You can run the calculation in three steps using any public company’s financial statements:
- Find the current share price on your brokerage platform or stock exchange quote page.
- Locate the company’s 12-month diluted earnings per share on its income statement (in the United States, public companies report this in their annual Form 10-K or quarterly Form 10-Q filings with the SEC).
- Divide the share price by the EPS figure to get the P/E multiple.
For a real-world example, take Apple Inc.’s fiscal year 2024 Form 10-K filing with the SEC. When Apple traded at $185.00 per share against a reported FY2024 diluted EPS of $6.08, dividing $185.00 by $6.08 produced a P/E ratio of 30.43x. At that price, buyers were paying $30.43 for every $1 of Apple’s annual net profit.
Comparing P/E ratios also prevents a common beginner mistake: confusing a lower dollar share price with a cheaper valuation. In a comparison by Guinness Global Investors, hypothetical Firm A trades at £30 with £1.50 in EPS (a P/E of 20), while Firm B trades at £35 with £2.50 in EPS (a P/E of 14) in an industry where the average P/E is 17. Even though Firm B has a higher share price in pounds, it is considerably cheaper per unit of profit than both Firm A and the broader sector.
What is the difference between trailing P/E and forward P/E?
Every P/E ratio uses the current stock price in the numerator, but the earnings figure in the denominator can look backward at reported results or forward at analyst projections. Mixing the two is one of the most frequent errors in equity analysis. Under CFA Institute valuation standards, you must always compare companies using the exact same earnings basis.
Trailing P/E (often labeled TTM for trailing twelve months on brokerage screens) divides the current share price by the actual, audited EPS reported across the company’s four most recent quarters. Because it relies on verified accounting numbers, trailing P/E removes guesswork, though it can be skewed by one-time charges or rapid changes in a company’s business model.
Forward P/E divides the current stock price by Wall Street analysts’ consensus EPS estimate for the next 12 months. Investors prefer forward P/E when evaluating fast-changing businesses, such as when analyzing cloud computing P/E ratios, where past profits do not capture current contract growth. However, forward P/E carries estimate risk. If a stock trades at 18 times forward earnings and analysts cut their EPS forecast by 25%, the stock’s forward P/E immediately jumps from 18x to 24x even if the share price does not move a cent.
| Metric | Earnings Used in Denominator | Main Advantage | Main Drawback |
|---|---|---|---|
| Trailing P/E (TTM) | Actual reported EPS from the past 4 quarters | Based on audited, verified financial results | Backward-looking; misses upcoming growth or downturns |
| Forward P/E | Consensus analyst EPS estimates for the next 12 months | Reflects expected future profit changes | Vulnerable to analyst forecast errors and estimate cuts |
| PEG Ratio | P/E ratio divided by expected annual EPS growth (%) | Adjusts the valuation multiple for earnings growth speed | Relies on multi-year growth projections that may not materialize |
What is a good P/E ratio for a stock?
There is no single number that defines a good P/E ratio across every industry. As a general rule of thumb, Charles Schwab notes that a P/E ratio above 30 is often considered high and a reading below 15 is considered low, but those thresholds mean very little without market and sector context.
For broad US market context, the S&P 500 Index had a trailing P/E ratio of 24.90 as of November 5, 2026, according to GuruFocus market data. That sits near the index’s long-term historical average of 25.44, though above its long-term historical median of 18.04 (across a historical range stretching from 5.31 to 131.39). You can check current index multiples on financial data portals to see how market-wide valuations shift over time.
Within the market, valuations split sharply by business type and sector:
- Growth stocks and fast-expanding sectors like technology and semiconductors typically trade at high P/E multiples because investors are willing to pay more today for rapid expected profit growth tomorrow.
- Value stocks and capital-intensive, slow-growing industries like regulated utilities usually trade at lower P/E multiples because their future earnings growth is modest and predictable.
- A low P/E ratio is not an automatic bargain. Sometimes a stock trades at a rock-bottom multiple because its core business is shrinking, competition is eroding margins, or revenues are falling—a scenario investors call a value trap.
To check whether a high P/E is justified by fast growth, analysts calculate the Price/Earnings-to-Growth (PEG) ratio by dividing the P/E ratio by the company’s expected annual EPS growth rate percentage. For instance, a stock trading at a forward P/E of 40 with 40% expected annual earnings growth has a PEG ratio of 1.0, whereas a slower-growing company with a P/E of 30 and 15% expected growth has a much steeper PEG ratio of 2.0.
What are the limitations and accounting rules to watch?
While the P/E ratio is a fast way to compare stocks, relying on it alone can hide serious balance sheet and accounting risks. Before making any financial decisions, keep these structural limitations in mind—and consider speaking with a licensed financial advisor if you need guidance tailored to your personal situation:
- Negative earnings render P/E meaningless: When a company loses money over a 12-month period, its EPS is zero or negative. That produces a negative P/E ratio that has no economic meaning, so US and international brokerage platforms almost always display “N/A” and analysts switch to revenue or cash-flow multiples instead.
- GAAP vs. non-GAAP accounting differences: In the United States, standard index figures (such as the S&P 500 historical P/E) use reported earnings calculated under Generally Accepted Accounting Principles (GAAP). However, many analyst reports and stock screeners display “adjusted” or non-GAAP EPS, which strip out one-time restructuring charges, asset write-downs, or stock-based compensation. Outside the US, companies reporting under International Financial Reporting Standards (IFRS) may also recognize certain expenses differently.
- Debt is invisible in the P/E formula: Because the P/E ratio only looks at equity share price and net income, two companies with identical P/E ratios can have vastly different risk profiles if one carries heavy debt on its balance sheet. Analysts often pair P/E with enterprise value multiples that account for total debt and cash.

