CAPE Ratio Calculator
Work out a cyclically adjusted price-to-earnings ratio from an earnings history you supply, with every past year restated in today's money. Trailing P/E, forward P/E and CAPE are shown together, because for a cyclical business the gap between them is the entire question.
CAPE ratio
0.00
- Plain P/E (latest year)
- 0.00
- Forward P/E
- 0.00
- Forward vs decade average
- 0.00
- Unadjusted average P/E
- 0.00
- Average real earnings
- $0
- Implied earnings yield
- 0%
- Years used
- 0
Enter a price above zero and at least one earnings figure.
The working
The unadjusted average P/E is shown so you can see what the inflation adjustment is actually contributing. If the two are close, inflation was low across your window; if they diverge, the adjustment is doing real work.
Each year, adjusted
How every year's reported earnings are restated in today's money before averaging. The most recent year is left unchanged by definition.
| Year | Reported EPS | Adjustment | In today's money |
|---|
How to use it
Enter the price
The current share price, or the index level if you are looking at a whole market.
Paste the earnings history
Ten years of EPS, oldest first, from the annual reports or any financial data page. Commas, spaces or line breaks all work.
Choose how to handle inflation
A flat average rate is fine for a quick answer. For a proper Shiller calculation, paste the CPI index for each year instead and the calculator uses actual price levels.
Compare CAPE with the plain P/E
The gap is the whole point. A company on a low plain P/E and a high CAPE is being flattered by one unusually good year.
The CAPE ratio formula
CAPE — the cyclically adjusted price-to-earnings ratio, also called the Shiller PE or P/E 10 — divides the current price by average inflation-adjusted earnings over roughly a decade, rather than by a single year's figure.
CAPE = price ÷ mean(inflation-adjusted EPS over N years)
Each past year's EPS is multiplied by the ratio of the latest price level to that year's price level, which restates it in today's money. Those adjusted figures are averaged, and the current price is divided by that average. Robert Shiller popularized the ten-year window, but nothing in the arithmetic requires exactly ten.
Why average ten years at all
A single year's earnings is a poor divisor because earnings are cyclical. At the top of a cycle they are unusually high, which makes the P/E look low and the stock look cheap precisely when it is not. At the bottom the opposite happens: collapsing earnings send the P/E to absurd highs, or negative, just as the shares become genuinely cheap. Averaging across a full cycle removes most of that distortion.
Why inflation adjustment matters
This is the step simple calculators skip, and skipping it is what turns a CAPE into a naive ten-year average P/E. Earnings from a decade ago are quoted in decade-old money. Averaging them with today's figures without adjustment systematically understates the earnings base and therefore overstates the ratio. This page shows both numbers so you can see the size of the effect for your own data.
Forward P/E, and why it sits on this page
Forward P/E divides the current price by an estimate of next year's earnings rather than by what the company has already reported. It is the most widely quoted valuation multiple there is, and on its own it is close to useless for a cyclical business — which is exactly why it belongs beside CAPE rather than on a page of its own. Trailing P/E tells you what has happened, forward P/E tells you what one set of analysts expects, and CAPE tells you what the business has actually produced across a full cycle. The spread between the three is the signal.
What is a good forward P/E?
There is no universal threshold, and a number like 25 is neither good nor bad without context. A forward P/E is only interpretable against three things: the company's own history, its sector, and the growth rate implied by the estimate. It also inherits every weakness of the estimate behind it — analyst forecasts are systematically optimistic, and they are least reliable precisely at cyclical turning points, when you most need them.
The cyclical trap this page is built to expose
Take a semiconductor manufacturer at the top of a memory cycle. Earnings have quadrupled, the forward estimate is higher still, and the forward P/E drops to single digits. The stock screens as one of the cheapest in the market. CAPE, dividing by a decade of inflation-adjusted earnings, reads three times higher — because the denominator in the forward figure is a peak that has never been sustained. The 'forward vs decade average' readout above states this directly: when forward earnings are well above the cycle average, a low forward P/E is a warning rather than a bargain. At the bottom of the same cycle everything inverts, and the stock that screens as expensive on forward earnings is the cheap one.
What is a good CAPE ratio?
There is no threshold that reliably means 'buy'. For the US market the long-run average sits somewhere in the mid-teens, and readings above the mid-twenties have historically been associated with lower subsequent ten-year real returns — an association, across a small number of non-independent periods, not a rule. CAPE has spent long stretches above its historical average without a crash following, and it has been criticised for exactly that. Use it to compare like with like, not as a timing signal.
The implied earnings yield
Inverting CAPE gives an earnings yield: a CAPE of 25 implies 4%. That form is often more useful, because it can be set against a bond yield directly. Shiller's own 'excess CAPE yield' does exactly this, subtracting the real long-term interest rate to compare equities with bonds on a common footing.
Where to get the data — and why this page has no live figures
This calculator does not fetch market data, so it cannot tell you today's S&P 500 CAPE. That is deliberate: nothing you type is transmitted, and there is no feed to go stale. For the current and historical US figure, Robert Shiller publishes the underlying monthly dataset — prices, dividends, earnings and CPI back to 1871 — free from Yale. For an individual company, the earnings history is in its annual reports.
The main criticisms
Accounting standards have changed over the period the long-run average is drawn from, which arguably lowers reported earnings today relative to the past. Companies also retain and reinvest a larger share of profits than they once did, which mechanically raises the sustainable multiple. Both arguments suggest a modern CAPE is not directly comparable with one from the 1950s. Treat the historical average as context, not a target.
Worked examples
The calculator opens with an example already filled in, so a result is on screen before you type anything.
- A cyclical company after a strong year. The plain P/E looks modest while CAPE is far higher — the classic trap the metric exists to expose.
- A company after a loss year. The plain P/E is meaningless or negative; CAPE still produces a usable figure because the average is taken across the cycle.
- The same data with inflation set to 0%. CAPE collapses onto the unadjusted average P/E, which shows exactly how much work the adjustment was doing.
- A CPI series instead of a flat rate. Where inflation was uneven across the decade, the precise version differs noticeably from the flat approximation.
- A five-year window instead of ten. Shorter windows track the cycle more closely and smooth it less — worth trying to see how sensitive the answer is to the choice.
CAPE ratio FAQ
How the ratio is calculated, what counts as high, and what this calculator does not do.
The basics
What is the CAPE ratio?
The cyclically adjusted price-to-earnings ratio: the current price divided by average inflation-adjusted earnings over about ten years. It exists because a single year's earnings can be flattered or crushed by where you are in the business cycle.
Is CAPE the same as the Shiller PE?
Yes. CAPE, Shiller PE, Shiller P/E 10 and P/E 10 all describe the same measure, popularized by Robert Shiller and John Campbell. The name varies; the arithmetic does not.
How do you calculate the CAPE ratio?
Take earnings per share for each of the last ten years, restate each one in today's money using inflation, average them, then divide the current price by that average. The inflation adjustment is the step that distinguishes it from a plain ten-year average P/E.
How is CAPE different from a normal P/E ratio?
A normal P/E divides by one year's earnings. CAPE divides by a decade of inflation-adjusted earnings. For a stable business the two are close; for a cyclical one they can differ enormously, and that difference is the useful signal.
Why ten years?
It is long enough to span a typical business cycle and short enough to remain relevant to the current business. The choice is convention rather than mathematics, which is why this calculator accepts any number of years.
What is the 10-year CAPE ratio?
Just CAPE calculated over a ten-year window, sometimes written P/E 10. It is the standard form, and the one quoted when someone cites 'the CAPE ratio' without qualification.
Calculating it
Where do I find ten years of earnings per share?
For an individual company, its annual reports or 10-K filings, and most financial data providers show a ten-year EPS history. For the US market as a whole, Robert Shiller's dataset at Yale carries index earnings back to 1871.
Does the order of the earnings matter?
Yes, and it matters a lot. Enter oldest first. The calculator treats the last value as the most recent year and applies no inflation uplift to it; reversing the order would inflate the wrong end of the series.
Should I use a flat inflation rate or the CPI series?
A flat rate is fine for a quick comparison. The CPI series is more accurate when inflation was uneven across your window — the 2021-2023 period being an obvious case. The calculator states which method produced the figure shown.
Which CPI values do I enter?
The index level for each year, in the same order and count as your earnings list — not the inflation percentage. Any consistent series works, since only the ratios between years are used. US CPI-U is published by the Bureau of Labor Statistics.
What if one year had a loss?
Enter it as a negative number. This is precisely the case CAPE handles better than a plain P/E: one loss year makes an ordinary P/E meaningless, while the decade average absorbs it.
Can I use fewer than ten years?
Yes — the calculator uses however many values you supply and reports the count. Fewer years means less cyclical smoothing, so the result sits closer to a plain P/E.
How would I do this in Excel?
Put the EPS history in a column, add a second column multiplying each by (latest CPI ÷ that year's CPI), average that second column, and divide the price by the result. This page is that spreadsheet with the adjustment already wired up.
Forward P/E
How do you calculate the forward P/E ratio?
Divide the current share price by the estimated earnings per share for the next fiscal year. If a stock trades at $120 and the consensus estimate is $8.00, the forward P/E is 15. The only hard part is the estimate, not the arithmetic.
What is a good forward P/E ratio?
There is no threshold that works across companies. A forward P/E is interpretable only against the company's own history, its sector, and the growth implied by the estimate. On this page it is also shown against the inflation-adjusted decade average, which is far more informative than the multiple alone.
Is a forward P/E of 25 good?
It depends entirely on what is growing behind it. Twenty-five times forward earnings is unremarkable for a business compounding earnings at 20% a year and expensive for one growing at 3%. It is also meaningless if the forward estimate sits far above what the company earns across a cycle — check the 'forward vs decade average' figure.
Which should I trust, forward P/E or CAPE?
Neither alone. Forward P/E reflects expectations and is more relevant to a stable, growing business. CAPE reflects realized results across a cycle and is more relevant to a cyclical one. When the two disagree sharply, that disagreement is the finding — it usually means the forward estimate is far from the cycle average.
Why does a cyclical stock look cheap on forward P/E at the top of its cycle?
Because the denominator is a peak. Earnings are extraordinary, the forward estimate extrapolates them, and dividing the price by an inflated figure produces a low multiple. CAPE divides by a decade instead and reads much higher. This page shows both plus the ratio between the forward estimate and the cycle average, so the trap is visible rather than inferred.
Where do I find the forward EPS estimate?
Consensus estimates appear on most broker platforms and financial data sites, and companies often issue their own guidance in quarterly results. Use the next full fiscal year unless you have a reason to prefer another period — and remember it is a forecast, not a fact.
How reliable are analyst forward estimates?
Systematically optimistic on average, and least reliable at cyclical turning points — which is exactly when the forward P/E is most likely to mislead. That is the case for looking at a decade of realized earnings alongside it rather than instead of it.
Can I use the calculator without a forward estimate?
Yes. Set the forward EPS field to 0 and the forward figures are simply omitted; CAPE, trailing P/E and the earnings yield are unaffected.
Using it
What is a good CAPE ratio?
There is no threshold that reliably signals a buy. The long-run US average is in the mid-teens, and high readings have historically been associated with weaker subsequent ten-year real returns. That is an association across a handful of overlapping periods, not a rule, and CAPE has stayed elevated for years at a time without a crash following.
Can I use CAPE on an individual stock?
Yes, and it is most informative for cyclical businesses — miners, homebuilders, chemicals, semiconductors — where a single year says little. It is least useful for young companies with no decade of history and for those whose business has fundamentally changed.
What is the implied earnings yield?
The reciprocal of CAPE. A CAPE of 25 gives 4%. It is often the more useful form because you can compare it directly with a bond yield rather than against another multiple.
Can I time the market with it?
Poorly. CAPE has been above its historical average for most of the last three decades. Investors who sold on that basis missed a great deal. It is better used to set return expectations than entry points.
Can I compare CAPE across countries?
With care. Index composition differs — a market dominated by banks will not carry the same multiple as one dominated by software — and accounting standards vary. Comparing a market with its own history is more defensible than comparing two markets with each other.
Limits
What is the current CAPE ratio today?
This page will not tell you, because the site holds no live market data by design. Robert Shiller publishes the authoritative US dataset free from Yale, and several sites chart it daily. Enter the current index level and earnings history here and you will reproduce the figure yourself.
Why can't I just enter a ticker?
Because there is no price or fundamentals feed behind this site. That keeps it private, fast and free of data that could silently go stale. The cost is that you supply the numbers — and the benefit is that you always know which numbers produced the answer.
Does changing accounting standards distort CAPE?
It is the most substantive criticism of the metric. Write-down rules have changed in ways that arguably depress reported earnings relative to earlier decades, which would inflate a modern CAPE against its own history. There is no consensus adjustment, so treat the long-run average as context rather than a target.
Do buybacks affect the ratio?
Yes. Companies now return more through buybacks and retain more earnings than in earlier eras, which raises sustainable EPS growth and arguably justifies a permanently higher CAPE. This is a live argument among practitioners, not a settled correction.
Is there a CAPE screener here?
No. Screening requires a fundamentals database across thousands of companies, which this site does not have and does not intend to build. This is a calculator for a company or index you are already looking at.
Is my earnings data sent anywhere?
No. The calculation runs entirely in your browser. Nothing is transmitted, logged or stored, which you can confirm in your browser's network panel.
Other calculators
Same approach — your assumptions, visible working, no signup.
Compound Interest Calculator
Project growth with contributions, then subtract the three things other calculators leave out: fees, tax and inflation. Includes an optional withdrawal phase.
DCF Calculator
Two-stage discounted cash flow with a fade period, a reverse DCF that shows the growth the price already implies, and a full sensitivity grid.
DRIP Calculator
Reinvest dividends and see the result next to what taking them as cash would have produced. Dividend growth, yield on cost, tax and monthly income included.
Benjamin Graham Formula Calculator
Graham's growth formula, the bond-yield revised version, and the Graham Number — all three on one page, clearly labelled as the different things they are.
Method, sources and limitations
Each earnings figure is multiplied by an adjustment factor and the results averaged; the current price is then divided by that average. With a CPI series the factor is (latest CPI ÷ that year's CPI); with a flat rate it is (1 + inflation) raised to the number of years before the latest. The most recent year receives a factor of 1 by definition. The plain P/E uses the latest year alone, and the unadjusted average P/E uses the same years without any inflation adjustment, so the contribution of the adjustment is visible. The underlying measure was popularized by Robert Shiller and John Campbell; Shiller publishes the monthly US dataset — price, dividends, earnings and CPI from 1871 — free at Yale, which is the authoritative source for the market-level figure. Forward P/E divides the current price by the forward EPS estimate you supply. The 'forward vs decade average' figure divides that same forward estimate by the average inflation-adjusted earnings, so it states how far above or below its own cycle a company is expected to be earning.
Authoritative data sources: Robert Shiller's US market dataset, Yale (price, dividends, earnings and CPI from 1871) · US CPI data, Bureau of Labor Statistics
No live market data is used, so this page cannot show today's index CAPE. Results depend entirely on the earnings history and inflation figures you supply. CAPE is a valuation context measure, not a timing signal, and it is subject to genuine criticism about accounting changes and retained earnings over long comparison periods. Nothing here is investment advice.