Bufetico Join the waitlist

P/E ratio calculator

Work out a stock’s P/E with the right twelve months of profit. Then see what the P/E doesn’t show, like a one-time gain, a profit cycle or the company’s debt, and how it compares with its sector.

Want these tools on your phone? They’re coming to the Bufetico app. Join the waitlist »

bufetico.com/tools/pe-ratio-calculator ·

An educational tool, not investment advice. It’s free, with no sign-up. The result comes from the numbers you put in, and the page shows it next to Bufetico’s sector data and S&P 500 history.

Try a made-up company:

Your numbers

$

$

Use the diluted number for the last four quarters. Put a loss as a negative number.

$

The earnings per share they expect for the next fiscal year. Free stock sites usually show it on the stock’s forecast or analysis page.

$

Put a gain, like a tax benefit or the sale of a building, as a positive number, and a one-time charge as a negative one.

%

For example, what a 10-year government bond pays in the stock’s currency.

You’ll see what the stock would cost at that P/E, and how much profit the company would need for today’s price to be that P/E.

Add up the last 12 months

That adds up to $4.00 a share over the last 12 months.

Don’t multiply one quarter by four, because a store chain can make most of its profit in the holiday quarter. In the US, the fourth quarter isn’t in a quarterly report: take it from the earnings release, or take the whole year from the annual report and subtract the first nine months. Each quarter divides by its own share count, so the sum comes close to the 12-month number. If there was a stock split, check that every quarter’s earnings per share counts the shares after the split.

Earnings in another currency, or an ADR

What one unit of the earnings currency is worth in the price’s currency. If one yen is worth 0.68 cents, put 0.0068. For a price in pence and earnings in pounds, put 100.

An ADR is a share traded in the US that stands for shares of a foreign company on its home exchange. One ADR can be several shares or part of one, and the bank that issues it says how many. Put 0.1 if ten ADRs make one share. Leave it empty if the report gives earnings per ADR.

Debt and operating income, in millions

The diluted share count from the same income statement.

$

The profit from running the business, before interest and taxes.

$

Debt minus cash. Negative if the company has more cash than debt.

The P/E

10

times a year of profit

$40.00 ÷ $4.00 = 10

At $40.00 a share and $4.00 of profit per share over the last 12 months, the P/E is 10. You’d be paying 10 years of that profit, if it stayed the same. Turn it around and a year of profit is 10% of the price. That’s called the earnings yield.

Without the one-time items, the profit is $2.40 a share and the P/E is 16.7.

On the analysts’ estimate for next year, $2.60 a share, the P/E is 15.4. That’s 8% more than the profit without the one-time items. It’s still a guess about a year that hasn’t happened.

At a P/E of 20 on the profit without the one-time items, $2.40 a share, the price would be $48.00. For today’s price to be 20 times the profit, the company would have to make $2.00 a share, 17% less than it made without the one-time items.

On October 16, 2026, in Bufetico’s data, the median US-listed company in the Consumer Cyclical sector traded at 14.4 times the profit analysts expect for its fiscal year ending in 2027. The median is the one in the middle when you line them all up, and the middle half of them traded between 9.7 and 19.9. Analysts expect 17% of them to lose money, so those have no P/E. Your P/E on the analysts’ estimate, 15.4, sits inside that middle half.

Without the one-time items, the earnings yield is 6%, which is 1.5 percentage points above your safe rate of 4.5%.

With 250 million shares, the company is worth $10 billion on the market. Add $1.5 billion of net debt and the whole business costs $11.5 billion, which is 12.8 times its operating income of $900 million, the profit before interest and taxes.

Net income, $1 billion, is bigger than operating income, $900 million. That usually comes from something outside the business, like a tax benefit, a gain on a sale or income from investments. Read the notes in the report before you trust the P/E.

Before I trust a P/E, I look at the profit over several years, and I check that the company is financially stable and still growing. How I judge a business.

The P/E, side by side

On the last 12 months10
Without the one-time items16.7
On the analysts’ estimate15.4
Earnings yield10%
Whole business over operating income, before tax12.8
Consumer Cyclical, median in the US14.4
Consumer Cyclical, median worldwide13.2
S&P 500, end of 202525.2
S&P 500, median since 196017.4

The sector medians use the analysts’ estimate for the fiscal year ending in 2027, so compare them with your P/E on the estimate. Analysts usually estimate an adjusted profit, which leaves out some costs. Bufetico measured the sector medians on October 16, 2026. The S&P 500 numbers divide the index level at the end of each year by its earnings for that year, from Aswath Damodaran’s data at NYU Stern. 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.

Where this P/E sits

Last 12 monthsWithout one-time itemsEstimateSector, middle halfS&P 500, end of 2025

If the profit or the price moves

ProfitPrice −20%Today’s pricePrice +20%
-30%11.414.317.1
-15%9.411.814.1
Today81012
+15%78.710.4
+30%6.27.79.2

Each cell is the P/E. When the profit falls and the price doesn’t, the P/E goes up.

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.

SectorMedian, USMiddle half, USLoss expected, USMedian, worldwideLoss expected, worldwide
Real Estate25.911.8 to 40.122.1%14.214.5%
Healthcare17.511.7 to 27.566.3%17.440.6%
Utilities17.213.7 to 18.610.2%13.67.2%
Technology1711.5 to 27.521.3%17.810.9%
Industrials16.811.6 to 2315.4%14.26.3%
Consumer Cyclical14.49.7 to 19.917%13.28%
Consumer Defensive149.9 to 1910.7%145.9%
Basic Materials12.89.6 to 18.618.6%13.412%
Energy12.38.7 to 16.89.4%11.212.2%
Communication Services127.1 to 25.227.5%12.813.8%
Financial Services108.2 to 12.14.6%10.14.7%
All sectors13.99.3 to 21.826.6%13.812.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.

IndustryP/E, USP/E, worldwide
Basic Materials
Metals & Mining29.421.8
Steel24.118.0
Chemical (Specialty)23.221.9
Precious Metals18.625.2
Chemical (Basic)18.426.4
Building Materials17.120.6
Paper/Forest Products14.516.6
Chemical (Diversified)20.1
Communication Services
Software (Internet)34.860.2
Entertainment32.527.8
Software (Entertainment)29.628.4
Advertising25.521.2
Telecom (Wireless)19.514.1
Publishing & Newspapers16.717.6
Broadcasting13.512.7
Telecom Services8.011.8
Cable TV5.16.1
Consumer Cyclical
Auto & Truck119.623.7
Restaurant/Dining32.829.4
Shoe30.525.0
Apparel27.126.2
Home Furnishings25.214.7
Retail (Special Lines)24.925.2
Hotel/Gaming24.721.9
Retail (Automotive)24.020.4
Retail (Building Supply)22.321.6
Auto Parts20.221.2
Recreation18.221.4
Packaging & Container13.916.2
Homebuilding11.211.8
Rubber & Tires15.6
Consumer Defensive
Retail (General)33.529.7
Beverage (Soft)26.225.8
Retail (Grocery and Food)25.221.9
Food Wholesalers24.719.8
Farming/Agriculture22.017.5
Tobacco19.819.2
Household Products19.723.6
Beverage (Alcoholic)16.621.9
Food Processing16.518.1
Education15.013.4
Energy
Coal & Related Energy19.815.5
Oilfield Services & Equipment19.416.4
Oil/Gas (Integrated)19.015.5
Oil/Gas Distribution18.617.9
Oil/Gas (Production and Exploration)12.711.1
Financial Services
Insurance (General)27.314.8
Investments & Asset Management23.019.5
Financial Services (Non-bank)22.115.5
Brokerage & Investment Banking19.817.2
Reinsurance15.410.6
Bank (Money Center)14.210.9
Banks (Regional)12.610.5
Insurance (Life)11.811.2
Insurance (Prop/Cas.)11.811.0
Healthcare
Healthcare Information and Technology37.333.2
Drugs (Biotechnology)32.030.7
Healthcare Products30.430.7
Drugs (Pharmaceutical)24.923.2
Healthcare Support Services21.120.7
Hospitals/Healthcare Facilities15.620.7
Industrials
Electrical Equipment47.233.5
Aerospace/Defense35.334.1
Environmental & Waste Services34.327.3
Trucking32.728.4
Machinery26.627.9
Construction Supplies25.817.5
Engineering/Construction24.814.6
Business & Consumer Services24.124.0
Information Services23.620.7
Retail (Distributors)22.416.7
Transportation (Railroads)20.916.7
Office Equipment & Services18.217.0
Diversified16.816.7
Shipbuilding & Marine13.79.5
Transportation13.315.1
Air Transport12.913.0
Real Estate
Real Estate (Operations & Services)43.814.5
Retail (REITs)31.121.1
REITs28.121.7
Real Estate (General/Diversified)19.416.9
Real Estate (Development)13.412.4
Technology
Semiconductor48.840.4
Electronics (General)40.234.2
Software (System & Application)37.537.4
Telecom Equipment35.135.9
Computers/Peripherals34.330.9
Semiconductor Equipment34.236.7
Computer Services26.123.1
Electronics (Consumer & Office)20.3
Utilities
Green & Renewable Energy25.924.4
Power21.016.2
Utility (General)20.518.6
Utility (Water)20.216.8
All industries26.620.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 endP/EEarnings yield10-year Treasury
202525.23.97%4.18%
202424.24.14%4.58%
202321.54.64%3.88%
202217.55.72%3.88%
202123.14.33%1.51%
202026.93.72%0.93%
201919.95.03%1.92%
201816.95.92%2.68%
201721.44.67%2.41%
201620.64.86%2.45%
201519.25.2%2.27%
201418.25.49%2.17%
201317.25.81%3.04%
201213.97.18%1.76%
2011137.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.

Before you decide

This calculator is an educational tool. It does the math on the numbers you enter. It also shows data from other sources, like the history of the S&P 500. And it shows figures measured in Bufetico’s own data. This page gives the source and date of each one. That data can have errors and can go out of date. The past doesn’t tell you what comes next. The calculator doesn’t know your situation. Its result is hypothetical and changes with every input. It doesn’t guarantee anything. None of this is investment, tax or legal advice, or a recommendation to buy, hold or sell any security. Neither Bufetico nor JH Grandgerard is a registered investment adviser, a broker or a tax adviser. Bufetico sells a subscription to a stock screener, and this page links to it.

Terms for the free tools

Sold too early, or held on too long?

Join the waitlist and I'll email you when Bufetico opens, plus a new article or tool now and then.

No more than one email a week. You can unsubscribe anytime, and the Privacy Policy explains how we handle your name and email.

Can't tell a cheap stock from a dying one?

The Bufetico Filter checks more than 30,000 companies against six layers and shows you only the ones that pass. You decide how strict each layer is. Bufetico opens soon.

Join the waitlist »