How this calculator works
The P/E ratio is the stock price divided by the profit for each share over one year, which reports call earnings per share. A $40 stock that earned $4 a share has a P/E of 10. You can also divide what the whole company is worth on the market by its net income for the year, and you get about the same number. If the company has more than one class of shares, count all of them in its market value.
Think of a house that costs $300,000 and rents for $25,000 a year. The price is 12 years of rent. A P/E of 12 works the same way: you pay 12 years of this year’s profit, if the profit stayed where it is. Turn it around and you get the earnings yield, a year of profit as a percentage of the price. A P/E of 12 is an earnings yield of about 8.3%.
With the numbers the page opens with, a made-up appliance maker trades at $40.00 and earned $4.00 a share over the last 12 months, a P/E of 10. But $1.60 of that profit was a one-time tax benefit. Without it, the company earned $2.40 a share, and the P/E is 16.7. Analysts expect $2.60 next year, a P/E of 15.4.
Which twelve months of profit
The P/E you see on most sites is the trailing one. It divides today’s price by the profit of the last four quarters. The forward P/E divides the price by what analysts expect the company to earn next year, so it rests on a guess, and analysts usually estimate an adjusted profit that leaves out some costs. Some sites divide by the last full fiscal year instead. With the same price, the three can be far apart.
In September 2026 I worked out Nvidia’s P/E two ways, with the same share price of about $223. On its fiscal year that ended in January 2026, the P/E was about 46. On the twelve months to July 2026, it was about 28. My article on Nvidia’s P/E walks through the math.
To get the last twelve months yourself, add up the earnings per share of the last four quarters. In the US, the fourth quarter isn’t in a quarterly report, so take it from the earnings release, or take the whole year from the annual report and subtract the first nine months. If the company reports the year so far, take the last full year, add this year so far and subtract the same months of last year. The calculator does both under “Add up the last 12 months.”
Use diluted earnings per share. It counts the shares the company may still have to hand out, like the stock it pays its employees with, so it’s usually a little lower than the basic number, and never higher.
When a low P/E is a warning
A low P/E looks like a bargain, and sometimes the profit under it is about to shrink.
When a company’s profit rides its industry’s booms and busts, its P/E is often lowest at the top of the cycle. Micron, the memory chip maker, had a rough P/E of 3.2 in its 2018 fiscal year. Its profit then fell 55% the next year and 57% the year after, as its annual reports show. I went through the whole table in an article on Micron’s P/E. The “Profit over the years” tab divides today’s price by the average profit of several years, so one great year doesn’t set the number. It’s the same idea as the Shiller P/E, or CAPE, which does this for the whole S&P 500 with ten years of profit after inflation.
A one-time gain can also make the P/E look low. Uber’s quarterly report for the three months to September 2025 shows its tax line adding $4,046 million to net income. Uber had decided it could now use some old tax assets. Its operating income that quarter was $1,113 million. Put a gain like that in “One-time items,” and compare net income with operating income in “Debt and operating income.”
And a business that keeps shrinking can sit at a low P/E for years, because its profit falls along with its price. I wrote about telling a cyclical company from a shrinking one.
What a normal P/E looks like
There’s no single good P/E. It depends on the sector, on how steady the profit is, and on what a safe bond pays. So the calculator puts your stock next to two things: the median P/E of its sector, from Bufetico’s own data, and the S&P 500’s P/E at the end of each year since 1960.
P/E by sector
The median P/E of each sector, measured in Bufetico’s data on October 16, 2026. The median is the company in the middle when you line them all up. Each company’s price is divided by the profit analysts expect for its fiscal year ending in 2027, so these are forward P/Es, and analysts usually estimate an adjusted profit that leaves out some costs. The middle half leaves out the quarter of companies with the lowest P/E and the quarter with the highest. Companies that analysts expect to lose money have no P/E, and the two “Loss expected” columns show what share of companies that is.
| Sector | Median, US | Middle half, US | Loss expected, US | Median, worldwide | Loss expected, worldwide |
|---|---|---|---|---|---|
| Real Estate | 25.9 | 11.8 to 40.1 | 22.1% | 14.2 | 14.5% |
| Healthcare | 17.5 | 11.7 to 27.5 | 66.3% | 17.4 | 40.6% |
| Utilities | 17.2 | 13.7 to 18.6 | 10.2% | 13.6 | 7.2% |
| Technology | 17 | 11.5 to 27.5 | 21.3% | 17.8 | 10.9% |
| Industrials | 16.8 | 11.6 to 23 | 15.4% | 14.2 | 6.3% |
| Consumer Cyclical | 14.4 | 9.7 to 19.9 | 17% | 13.2 | 8% |
| Consumer Defensive | 14 | 9.9 to 19 | 10.7% | 14 | 5.9% |
| Basic Materials | 12.8 | 9.6 to 18.6 | 18.6% | 13.4 | 12% |
| Energy | 12.3 | 8.7 to 16.8 | 9.4% | 11.2 | 12.2% |
| Communication Services | 12 | 7.1 to 25.2 | 27.5% | 12.8 | 13.8% |
| Financial Services | 10 | 8.2 to 12.1 | 4.6% | 10.1 | 4.7% |
| All sectors | 13.9 | 9.3 to 21.8 | 26.6% | 13.8 | 12.9% |
US means listed on the NYSE or Nasdaq, in dollars: 3,909 companies with an estimate. Worldwide counts 14,173. When a company’s price and its profit are in two currencies, the price is converted. Dollar-priced shares whose profit is in another currency are left out, because one of those US shares can stand for several shares on the company’s home exchange, say Toyota in Tokyo, or for part of one. That’s 344 of the 4,253 US-listed companies with an estimate.
P/E in 94 industries
The P/E here is market value divided by the last twelve months of profit, counting only the companies that made money. Each figure adds up every company in the industry, as of January 2026, so the biggest ones weigh the most. That’s why a figure can sit far from its sector’s median, the company in the middle.
| Industry | P/E, US | P/E, worldwide |
|---|---|---|
| Basic Materials | ||
| Metals & Mining | 29.4 | 21.8 |
| Steel | 24.1 | 18.0 |
| Chemical (Specialty) | 23.2 | 21.9 |
| Precious Metals | 18.6 | 25.2 |
| Chemical (Basic) | 18.4 | 26.4 |
| Building Materials | 17.1 | 20.6 |
| Paper/Forest Products | 14.5 | 16.6 |
| Chemical (Diversified) | 20.1 | |
| Communication Services | ||
| Software (Internet) | 34.8 | 60.2 |
| Entertainment | 32.5 | 27.8 |
| Software (Entertainment) | 29.6 | 28.4 |
| Advertising | 25.5 | 21.2 |
| Telecom (Wireless) | 19.5 | 14.1 |
| Publishing & Newspapers | 16.7 | 17.6 |
| Broadcasting | 13.5 | 12.7 |
| Telecom Services | 8.0 | 11.8 |
| Cable TV | 5.1 | 6.1 |
| Consumer Cyclical | ||
| Auto & Truck | 119.6 | 23.7 |
| Restaurant/Dining | 32.8 | 29.4 |
| Shoe | 30.5 | 25.0 |
| Apparel | 27.1 | 26.2 |
| Home Furnishings | 25.2 | 14.7 |
| Retail (Special Lines) | 24.9 | 25.2 |
| Hotel/Gaming | 24.7 | 21.9 |
| Retail (Automotive) | 24.0 | 20.4 |
| Retail (Building Supply) | 22.3 | 21.6 |
| Auto Parts | 20.2 | 21.2 |
| Recreation | 18.2 | 21.4 |
| Packaging & Container | 13.9 | 16.2 |
| Homebuilding | 11.2 | 11.8 |
| Rubber & Tires | 15.6 | |
| Consumer Defensive | ||
| Retail (General) | 33.5 | 29.7 |
| Beverage (Soft) | 26.2 | 25.8 |
| Retail (Grocery and Food) | 25.2 | 21.9 |
| Food Wholesalers | 24.7 | 19.8 |
| Farming/Agriculture | 22.0 | 17.5 |
| Tobacco | 19.8 | 19.2 |
| Household Products | 19.7 | 23.6 |
| Beverage (Alcoholic) | 16.6 | 21.9 |
| Food Processing | 16.5 | 18.1 |
| Education | 15.0 | 13.4 |
| Energy | ||
| Coal & Related Energy | 19.8 | 15.5 |
| Oilfield Services & Equipment | 19.4 | 16.4 |
| Oil/Gas (Integrated) | 19.0 | 15.5 |
| Oil/Gas Distribution | 18.6 | 17.9 |
| Oil/Gas (Production and Exploration) | 12.7 | 11.1 |
| Financial Services | ||
| Insurance (General) | 27.3 | 14.8 |
| Investments & Asset Management | 23.0 | 19.5 |
| Financial Services (Non-bank) | 22.1 | 15.5 |
| Brokerage & Investment Banking | 19.8 | 17.2 |
| Reinsurance | 15.4 | 10.6 |
| Bank (Money Center) | 14.2 | 10.9 |
| Banks (Regional) | 12.6 | 10.5 |
| Insurance (Life) | 11.8 | 11.2 |
| Insurance (Prop/Cas.) | 11.8 | 11.0 |
| Healthcare | ||
| Healthcare Information and Technology | 37.3 | 33.2 |
| Drugs (Biotechnology) | 32.0 | 30.7 |
| Healthcare Products | 30.4 | 30.7 |
| Drugs (Pharmaceutical) | 24.9 | 23.2 |
| Healthcare Support Services | 21.1 | 20.7 |
| Hospitals/Healthcare Facilities | 15.6 | 20.7 |
| Industrials | ||
| Electrical Equipment | 47.2 | 33.5 |
| Aerospace/Defense | 35.3 | 34.1 |
| Environmental & Waste Services | 34.3 | 27.3 |
| Trucking | 32.7 | 28.4 |
| Machinery | 26.6 | 27.9 |
| Construction Supplies | 25.8 | 17.5 |
| Engineering/Construction | 24.8 | 14.6 |
| Business & Consumer Services | 24.1 | 24.0 |
| Information Services | 23.6 | 20.7 |
| Retail (Distributors) | 22.4 | 16.7 |
| Transportation (Railroads) | 20.9 | 16.7 |
| Office Equipment & Services | 18.2 | 17.0 |
| Diversified | 16.8 | 16.7 |
| Shipbuilding & Marine | 13.7 | 9.5 |
| Transportation | 13.3 | 15.1 |
| Air Transport | 12.9 | 13.0 |
| Real Estate | ||
| Real Estate (Operations & Services) | 43.8 | 14.5 |
| Retail (REITs) | 31.1 | 21.1 |
| REITs | 28.1 | 21.7 |
| Real Estate (General/Diversified) | 19.4 | 16.9 |
| Real Estate (Development) | 13.4 | 12.4 |
| Technology | ||
| Semiconductor | 48.8 | 40.4 |
| Electronics (General) | 40.2 | 34.2 |
| Software (System & Application) | 37.5 | 37.4 |
| Telecom Equipment | 35.1 | 35.9 |
| Computers/Peripherals | 34.3 | 30.9 |
| Semiconductor Equipment | 34.2 | 36.7 |
| Computer Services | 26.1 | 23.1 |
| Electronics (Consumer & Office) | 20.3 | |
| Utilities | ||
| Green & Renewable Energy | 25.9 | 24.4 |
| Power | 21.0 | 16.2 |
| Utility (General) | 20.5 | 18.6 |
| Utility (Water) | 20.2 | 16.8 |
| All industries | 26.6 | 20.2 |
The S&P 500’s P/E, year by year
At the end of 2025, the S&P 500 traded at about 25.2 times its earnings for the year. From 1960 to 2025, its year-end P/E ran from 7.3 in 1974 to 29.6 in 2001, and the median was 17.4. The table shows the last fifteen years, with the earnings yield next to what 10-year Treasury bonds paid.
| Year end | P/E | Earnings yield | 10-year Treasury |
|---|---|---|---|
| 2025 | 25.2 | 3.97% | 4.18% |
| 2024 | 24.2 | 4.14% | 4.58% |
| 2023 | 21.5 | 4.64% | 3.88% |
| 2022 | 17.5 | 5.72% | 3.88% |
| 2021 | 23.1 | 4.33% | 1.51% |
| 2020 | 26.9 | 3.72% | 0.93% |
| 2019 | 19.9 | 5.03% | 1.92% |
| 2018 | 16.9 | 5.92% | 2.68% |
| 2017 | 21.4 | 4.67% | 2.41% |
| 2016 | 20.6 | 4.86% | 2.45% |
| 2015 | 19.2 | 5.2% | 2.27% |
| 2014 | 18.2 | 5.49% | 2.17% |
| 2013 | 17.2 | 5.81% | 3.04% |
| 2012 | 13.9 | 7.18% | 1.76% |
| 2011 | 13 | 7.72% | 1.88% |
Source: Aswath Damodaran, NYU Stern, updated January 2026. Each P/E divides the index level at the end of the year by the earnings he lists for that year. For a monthly number, multpl.com lists the S&P 500’s P/E on the last twelve months of reported earnings. S&P 500 is a registered trademark of Standard & Poor’s Financial Services LLC, and the index is a product of S&P Dow Jones Indices LLC. Bufetico isn’t affiliated with them or endorsed by them.
The P/E and interest rates
The earnings yield is easy to put next to a bond. At the end of 2025, the S&P 500’s earnings yield was 3.97%, and 10-year Treasury bonds paid 4.18%. At the end of 29 of the 66 years from 1960 to 2025, the bond paid more. Where bonds pay a lot more, a low P/E is less of a bargain. On October 16, 2026, Kazakhstan’s government bonds in tenge with more than five years left yielded 13.99%. So a Kazakh stock at a P/E of 4, an earnings yield of 25%, is less of a bargain than the same P/E would be in dollars.
What a P/E doesn’t see
A P/E is one price over one year of profit, and it misses a few things.
- Debt and cash. Two companies with the same P/E can owe very different amounts, because the P/E only looks at the shares. Put in the net debt and the operating income, and the calculator divides the price of the whole business, debt included, by its profit before interest and taxes. Many sites first add depreciation back to that profit and call the result EV/EBITDA, so their number comes out lower.
- Adjusted earnings. Many companies also report an adjusted profit that leaves out costs they call unusual, and the P/E on it looks lower. Analysts usually estimate that adjusted profit too, so a P/E on their estimate can look low next to one on the income statement, the page of the report with sales, costs and profit. Start from the income statement, and take out the one-time items yourself.
- Another currency, or pence. A company listed in New York can report in yen or euros. London prices are in pence, and some London companies report in dollars. If the price and the earnings you have are in different currencies or units, the P/E is off by the exchange rate, or by 100. Use “Earnings in another currency, or an ADR.”
- Splits. After a 2-for-1 split, the earnings per share from before the split have to be cut in half. If the price is from after the split and the profit from before, the P/E comes out at half of what it is.
- Buybacks. When a company buys back its own shares, the profit for each share goes up even if the profit doesn’t. I split earnings per share into the profit and the share count to see which one moved.
- Banks, insurers and landlords. A bank’s profit swings with what it sets aside for bad loans. A landlord’s profit is cut by depreciation, the cost of its buildings spread over the years, so its P/E looks high. The lesson on the P/E walks through a landlord.
- Growth. A high P/E can make sense for a company whose profit keeps growing fast. Even a low P/E can be too high for a company that’s shrinking. The growth rate calculator shows how fast a profit grew over the years.
The full list of what I correct in my own numbers is on the Method page.
Questions people ask
How do I calculate the P/E ratio?
Divide the stock price by the earnings per share of the last 12 months. A $50 stock that earned $2.50 a share has a P/E of 20. In a spreadsheet, it’s =price/EPS, and the 12 months are =SUM of the last four quarters. If you only have the whole company’s numbers, divide its market value by its net income.
What is a good P/E ratio?
There isn’t one number. On October 16, 2026, the median US-listed company traded at about 13.9 times the profit analysts expect for its fiscal year ending in 2027. The median is the company in the middle when you line them all up. By sector, the median went from 10 in financial services to 25.9 in real estate. The S&P 500 ended 2025 at about 25.2 times its earnings, against a median of 17.4 at the end of each year since 1960.
What’s the difference between trailing and forward P/E?
The trailing P/E divides the price by the profit of the last 12 months, which already happened. The forward P/E divides it by what analysts expect next year, which is a guess, usually on an adjusted profit that leaves out some costs. When analysts expect the profit to grow, the forward P/E is lower. Sites don’t always say which one they show.
What does a negative P/E mean?
It means the company lost money, so there’s no P/E at all. A negative number isn’t a low P/E, but if a site sorts stocks by P/E, those losses can land at the top of the list. For a company that loses money, people often look at the price next to its sales instead, which is called the price-to-sales ratio. Here, “A P/E to test” tells you what the company would have to earn.
Why is the P/E different on every site?
They divide by different profits: the last 12 months, the last fiscal year or next year’s estimate; basic or diluted earnings per share; the company’s adjusted profit or the one in its income statement. The price can be from another day, and a foreign stock can mix two currencies. If you work it out yourself from the report, you know what you’re dividing by.
Why doesn’t the calculator look up a ticker?
Stock sites don’t always agree on the profit, and most don’t say which one they used. Here you put in the price and the profit from the company’s own report, so you know exactly what you’re dividing by. The sector numbers on this page come from Bufetico’s own data.
Is a low P/E good?
Not by itself. A low P/E often comes at the top of a profit cycle, after a one-time gain, or in a business that keeps shrinking. Check the profit over several years in the “Profit over the years” tab, and take out the one-time items.
Is a high P/E bad?
Not by itself either. It can mean the profit was unusually low that year, or that the market expects years of growth. The calculator doesn’t adjust the P/E for growth. Put the company’s profit for the last several years in the growth rate calculator, and check whether the profit rose or only the profit per share, because a company that buys back shares lifts the second without the first.
What is the earnings yield?
It’s the P/E turned around: a year of profit divided by the price. A P/E of 20 is an earnings yield of 5%. It’s handy next to what a safe bond pays in the same currency.
Should I compare a stock’s P/E with its own average?
Only if the business hasn’t changed. An old average P/E is what the market used to pay, and one strange year can bend it. I find it more useful to ask how much profit the company would have to make for today’s price to make sense, and whether it can. “A P/E to test” works that out.
Does the P/E work for banks and real estate companies?
With care. A bank’s profit swings with what it sets aside for bad loans, so look at several years. Real estate companies also report funds from operations, which adds depreciation back to net income, because depreciation makes their P/E look high.
How do I get the P/E of an ADR, or of a stock in another currency?
Put in the price in its own currency and the earnings per share the way the report gives them. Under “Earnings in another currency, or an ADR,” add the exchange rate and how many shares sit behind each ADR, which the bank that issues the ADR lists. If ten ADRs make one share, put 0.1. For a London stock priced in pence with earnings in pounds, the exchange rate is 100.
Should I use standalone or consolidated earnings?
Consolidated. Standalone results cover the company alone, and consolidated results add the companies it controls. Companies in India report both, and sites don’t always say which one they use.
Can I use it for an index or a fund?
For an index, yes, with the totals: its P/E is the market value of all its companies divided by all their profit, which isn’t the same as averaging their P/Es. Pick “For the whole company, in millions” and put in the totals. A fund’s fact sheet usually lists a P/E, and some providers leave out the companies that lose money, so it can look lower than the whole portfolio. The S&P 500 numbers on this page divide the index level by the index’s earnings.
Where do I find earnings per share?
In the income statement of each quarterly and annual report, the page with sales, costs and profit. Basic and diluted earnings per share sit near the bottom. For US companies, those reports are the 10-Q and the 10-K on the SEC’s website.