CAPE Ratio Calculator
Market
- The CAPE ratio - Robert Shiller's cyclically adjusted price-earnings ratio - divides the index price by the average of the last ten years of inflation-adjusted earnings, smoothing the business cycle out of the denominator.
- With a price of $5,000 and ten-year average real earnings of $160, CAPE = $5,000 / $160 = 31.25.
- The matching earnings yield is 1 / CAPE = 3.20%, and the same earnings at a CAPE of 20 would price the index at $3,200.
- Historically the US market's long-run median CAPE sits near 16-17, so 31.25 reads as: well above the long-run median. CAPE is a valuation compass for decade-scale returns, not a timing signal.
This CAPE ratio calculator divides a price by the average of ten years of inflation-adjusted earnings, the cyclically adjusted price-to-earnings ratio popularized by Robert Shiller. Enter a price and a ten-year average real EPS and the calculator returns the CAPE ratio plus the earnings yield, which is simply 1 / CAPE. For example, a price of 5,000 over ten-year average real EPS of 160 gives a CAPE of 31.25 — well above the long-run median of about 16-17 — and an earnings yield of 3.20%. A price of 4,200 over 210 gives exactly 20.00 with a 5.00% earnings yield, and 1,500 over 100 gives 15.00, below the long-run median, with a 6.67% earnings yield. The calculator gives you the same two numbers for any price and earnings figure you supply.
The method behind the calculator is the accepted standard for this kind of calculation: dividing price by an average of ten years of inflation-adjusted earnings, as popularized by Robert Shiller, smooths out the swings in a single year of profits so the result reflects a longer earnings base rather than one unusually good or bad year. This page shows the formula, step-by-step workings, worked examples and sources, so you can follow each figure from the inputs to the final CAPE ratio and earnings yield rather than taking the result on trust. Every number shown above can be reproduced by hand from the same two inputs.
Worked examples
CAPE of 31.25 - well above the median
(5000 USD · 160 USD)
| CAPE ratio (Shiller PE) | 31.25 |
| Cyclically adjusted earnings yield | 3.20% |
| Price at a CAPE of 20 on the same earnings | $3,200 |
| Versus history | Well above the long-run median |
CAPE of exactly 20
(4200 USD · 210 USD)
| CAPE ratio (Shiller PE) | 20.00 |
| Cyclically adjusted earnings yield | 5.00% |
| Price at a CAPE of 20 on the same earnings | $4,200 |
| Versus history | Above the long-run median |
CAPE of 15 - below the long-run median
(1500 USD · 100 USD)
| CAPE ratio (Shiller PE) | 15.00 |
| Cyclically adjusted earnings yield | 6.67% |
| Price at a CAPE of 20 on the same earnings | $2,000 |
| Versus history | Below the long-run median (about 16-17) |
What is the CAPE ratio?
The CAPE ratio is a valuation measure that divides a stock market's price by the average of ten years of inflation-adjusted earnings. The approach was popularized by Robert Shiller, which is why it is often called the Shiller cyclically adjusted PE. Instead of comparing today's price to a single year of profit, a CAPE ratio calculator compares it to a decade of real earnings, smoothing out the booms and busts that make one-year figures jump around.
The ten-year window exists for a reason. Corporate profits swing sharply with the business cycle: they can look inflated near a peak and depressed during a recession. Dividing price by a single year of earnings at a cyclical peak makes a market look cheaper than it is, and dividing by a recession-year figure makes it look more expensive. Averaging ten years of earnings and adjusting each year for inflation gives a steadier denominator, so the resulting ratio reflects what investors are paying for a typical, real dollar of profit rather than for one unusual year.
This is the question CAPE answers that trailing PE cannot. A trailing PE uses the most recent twelve months of earnings, so it inherits whatever phase of the cycle the economy happens to be in. CAPE asks a longer-horizon question: relative to a full decade of real earning power, is the market expensive or cheap? Because the denominator is smoothed, the ratio can be compared across time and across very different inflation environments. It is a valuation gauge, not a forecast, and it says nothing about what prices will do next year.
The arithmetic is simple enough to check by hand. At a price of 5,000 and ten-year average real EPS of 160, CAPE is 31.25, which is well above the long-run median of about 16-17. At 4,200 over 210, CAPE is exactly 20.00. At 1,500 over 100, CAPE is 15.00, below that long-run median. Flipping the ratio gives the earnings yield, simply 1 / CAPE: 3.20% at a CAPE of 31.25, 5.00% at a CAPE of 20.00, and 6.67% at a CAPE of 15.00. The earnings yield expresses the same information as a percentage, which many people find easier to compare with bond yields.
Worked valuations
A cape ratio calculator is most useful when you can see how the inputs translate into a single number. Start with a price of 5,000 and a ten-year average of inflation-adjusted earnings per share of 160. Dividing 5,000 by 160 gives a CAPE ratio of 31.25. That is well above the long-run median of about 16-17, which tells you the market is priced richly relative to its smoothed earnings history.
Now take a price of 4,200 and a ten-year average real EPS of 210. The CAPE ratio is exactly 20.00. Because the earnings yield is simply 1 divided by the CAPE, this valuation implies an earnings yield of 5.00%. In other words, at a CAPE of 20, each dollar of smoothed earnings supports a price that is 20 times that earnings figure.
A third example: price of 1,500 and ten-year average real EPS of 100. Here the CAPE ratio is 15.00, which is below the long-run median. The earnings yield is 6.67%. That lower CAPE and higher earnings yield indicate a cheaper valuation relative to the long-run median of about 16-17.
The earnings yield moves inversely with the CAPE ratio. At a CAPE of 31.25, the earnings yield is 3.20% (1 divided by 31.25). The table below summarizes these worked valuations and shows the price each earnings stream would carry at a CAPE of 20. For the first case, an earnings stream of 160 at a CAPE of 20 would carry a price of 3,200 (160 × 20). For the second case, 210 at a CAPE of 20 would carry 4,200 (210 × 20). For the third case, 100 at a CAPE of 20 would carry 2,000 (100 × 20). These comparisons help you see how far a given price is from a CAPE of 20, a useful reference point when using a cape ratio calculator.
| Price | 10-Year Average Real EPS | CAPE Ratio | Earnings Yield | Price at CAPE 20 |
|---|---|---|---|---|
| 5,000 | 160 | 31.25 | 3.20% | 3,200 |
| 4,200 | 210 | 20.00 | 5.00% | 4,200 |
| 1,500 | 100 | 15.00 | 6.67% | 2,000 |
Reading CAPE against history
A CAPE ratio calculator is most useful when you put its output next to something. The number by itself — say 31.25 — tells you little until you know what is typical. The CAPE ratio divides price by the average of ten years of inflation-adjusted earnings, an approach popularized by Robert Shiller. That long earnings window smooths out booms and busts, which makes the result a rough gauge of whether the market is cheap or expensive relative to its own past. The natural yardstick is the US long-run median, which sits at roughly 16 to 17.
Work through the three values side by side and the pattern is clear. At a price of 5,000 and ten-year average real EPS of 160, CAPE is 31.25 — well above the long-run median of about 16-17. At 4,200 over 210, CAPE is exactly 20.00, and the earnings yield is 5.00%. At 1,500 over 100, CAPE is 15.00 — below the long-run median — with an earnings yield of 6.67%. Read as a ladder, the three readings run from clearly rich, to moderately above the middle, to slightly cheap. The earnings yield is simply 1 / CAPE: 3.20% at a CAPE of 31.25. That is the annual real earnings the price buys per dollar invested, and it falls as the ratio rises.
The historical extremes give the median its context. US CAPE readings have stretched far above 31.25 in the most expensive markets on record and have dropped well below 15 in the cheapest, so a single reading near either end is not automatically a signal. The ratio has also spent long stretches above its median without an immediate reversal. Treat the median as a reference point, not a trigger, and treat distance from it as a measure of how much optimism or pessimism the price already reflects.
The usual caveats matter when you compare today's figure with the distant past. Accounting standards have changed over the decades, so earnings from the early part of the historical record are not measured the same way as earnings today. The composition of the index has shifted too, and the ten-year averaging window means a single extraordinary year lingers in the denominator for a decade. Because of these breaks, small differences from the median are not worth over-reading; the gap between 31.25 and the mid-teens is a different matter from a point or two either way.
A practical habit: when your cape ratio calculator returns a value, note where it falls relative to the 16-17 median, convert it to an earnings yield, and then ask what would have to be true for that yield to look reasonable. That framing keeps the number in its historical place without pretending the past is a precise forecast.
- CAPE 31.25 (price 5,000, ten-year average real EPS 160): well above the long-run median of about 16-17; earnings yield 3.20%.
- CAPE 20.00 (price 4,200 over 210): above the median; earnings yield 5.00%.
- CAPE 15.00 (price 1,500 over 100): below the median; earnings yield 6.67%.
What CAPE is not
A CAPE ratio calculator is a useful tool for sizing up long-run valuation, but it is easy to ask the number to do a job it cannot do. The CAPE ratio divides price by the average of ten years of inflation-adjusted earnings, as popularized by Robert Shiller. That long averaging window is deliberate: it smooths out the booms and busts of the business cycle so the result reflects a durable earnings base rather than one unusually good or bad year. The trade-off is that the ratio moves slowly, and a slow-moving number is a poor signal for what the market will do next month or next year.
The most common mistake is treating CAPE as a market-timing tool. A high reading tells you that prices are rich relative to a decade of real earnings; it does not tell you when, or whether, prices will fall. Markets can stay expensive for years, and a reading that looks alarming today can be followed by strong returns before any adjustment arrives. Consider a simple case: at a price of 5,000 and ten-year average real EPS of 160, CAPE is 31.25, well above the long-run median of about 16-17. That is a statement about valuation, not a forecast of the next correction. An investor who sold on that reading alone could sit out a long stretch of gains.
CAPE is also sensitive to the decade chosen, because the denominator is an average of ten specific years. Shift the window by a few years and the earnings base changes, sometimes materially, especially if the old window includes a recession and the new one does not. This is why two people can compute different CAPE figures for the same price and both be technically correct. The ratio is best read as an approximate gauge of whether the market is cheap, fair or expensive relative to its own history, not as a precise dial.
What CAPE does offer is a rough sense of expected returns over decade-scale horizons. The link runs through the earnings yield, which is simply 1 / CAPE: 3.20% at a CAPE of 31.25. Read the other way, at 4,200 over 210, CAPE is exactly 20.00 and the earnings yield is 5.00%. At 1,500 over 100, CAPE is 15.00, below the long-run median, with an earnings yield of 6.67%. Those yields are a starting point for thinking about what a decade of owning the market might plausibly deliver, not a promise.
Investors who use CAPE well tend to apply it to asset allocation and expectations rather than to entries and exits. A high reading might argue for trimming equity exposure or lowering the return you assume in a plan; a low reading might argue for the opposite. The horizon matters: CAPE says little about one year and more about ten. Used that way, it is a sober input to a plan, not a crystal ball.
FAQs
How is CAPE calculated?
CAPE divides the price by the ten-year average of inflation-adjusted earnings per share. In the first example, a price of 5,000 divided by 160 in real, cycle-averaged earnings gives a CAPE of 31.25. That single number tells you how many dollars investors pay for each dollar of smoothed real earnings.
What is a normal CAPE ratio?
The US long-run median is about 16-17. Against that benchmark, a reading of 31.25 is well above it, while 15.00 is just below it. So a CAPE in the mid-teens is roughly typical by historical standards, and readings far above that range are unusually high relative to the long-run record.
What is the CAPE earnings yield?
The CAPE earnings yield is simply the inverse of the CAPE ratio. For a CAPE of 31.25, the yield is 1 / 31.25 = 3.20%. It represents the real earnings yield smoothed over the business cycle, giving you a way to compare smoothed earnings against other yields without the noise of a single year.
Who created the CAPE ratio?
Robert Shiller created the CAPE ratio, building on Graham and Dodd's idea of normalizing earnings over a full business cycle. Their approach was to average earnings across the cycle rather than rely on one year. Shiller's contribution applies that idea to inflation-adjusted ten-year average earnings, which is what the CAPE calculation uses today.
Is a high CAPE a sell signal?
No. Historically a high CAPE has meant lower subsequent decade returns, not an imminent fall. A reading like 31.25 is well above the long-run median, but that says nothing about next month or next year. CAPE is a valuation compass, not a timer, so treat it as context rather than a trigger to sell.
How does CAPE differ from regular PE?
Regular PE uses one year of earnings, which swings with the business cycle and can look very high or very low depending on where the economy sits. CAPE averages ten years of real earnings to smooth that out, so the resulting ratio reflects a full cycle rather than a single, possibly unrepresentative, year.