Home › Templates › Real return spreadsheet
Real Return Spreadsheet (Inflation-Adjusted Return Calculator for Excel)
A free real rate of return spreadsheet for Excel and Google Sheets. Enter yearly returns, or start and end values, and it subtracts inflation the exact way, (1 + n) / (1 + i) − 1, next to the common n − i shortcut. You also get real CAGR, an after-tax real return, the purchasing power of any amount, and official BLS CPI-U inflation for 2000–2025 filled in for you.
Use it in Google Sheets: choose File → Import → Upload in Sheets and pick the .xlsx, or upload it to Google Drive and open it with Google Sheets. No sign-up. The CPI-U table is inside the file, so it works offline.
| Year | Nominal return | CPI-U Dec/Dec | Real (exact) | Shortcut n − i | Shortcut error | After-tax real (15%) | Real growth of $1 |
|---|---|---|---|---|---|---|---|
| 2016 | 7.20% | 2.07% | 5.02% | 5.13% | +0.10 pts | 3.96% | 1.0502 |
| 2017 | 15.80% | 2.11% | 13.41% | 13.69% | +0.28 pts | 11.09% | 1.1910 |
| 2018 | −5.10% | 1.91% | −6.88% | −7.01% | −0.13 pts | −6.88% | 1.1091 |
| 2019 | 21.40% | 2.29% | 18.69% | 19.11% | +0.43 pts | 15.55% | 1.3164 |
| 2020 | 12.30% | 1.36% | 10.79% | 10.94% | +0.15 pts | 8.97% | 1.4584 |
| 2021 | 16.90% | 7.04% | 9.21% | 9.86% | +0.65 pts | 6.85% | 1.5928 |
| 2022 | −16.20% | 6.45% | −21.28% | −22.65% | −1.37 pts | −21.28% | 1.2538 |
| 2023 | 17.50% | 3.35% | 13.69% | 14.15% | +0.46 pts | 11.15% | 1.4255 |
| 2024 | 13.10% | 2.89% | 9.93% | 10.21% | +0.29 pts | 8.02% | 1.5669 |
| 2025 | 9.40% | 2.68% | 6.55% | 6.72% | +0.18 pts | 5.17% | 1.6695 |
What's inside the spreadsheet
| Tab | What it does |
|---|---|
| Start here | Steps, which CPI series is used, limits, version and disclaimer. |
| Calculator | Your data. Amount (B4), tax rate (B5) and one row per year from row 29: year plus start and end value, or a nominal return %. Inflation is optional: blank uses CPI-U. 19 results in rows 8–26, 15 columns of working per year, a status cell and a growth-of-$1 chart. |
| Example | The same sheet filled with a fictional portfolio, 2016–2025: 7 years as start/end values and 3 as return %, so both input styles are shown. |
| CPI-U data | BLS CPI-U December and annual-average index levels, 1999–2025, with % changes as formulas, room to add new years, a chart, and a converter: “what is $X from year A worth in year B?”. |
| Summary | One-rate quick calculator (exact vs shortcut, after-tax real, future value, purchasing power, nominal return needed for a target real return) and your results next to the Example. |
How to use it
- Open the Calculator tab. Enter the amount you want to track in B4 (for example $10,000) and your tax rate on gains in B5. Use 0% for a tax-free or tax-deferred account.
- From row 29, enter one row per year, oldest first: the year, then either the start and end value or the nominal return % in column D. Column D wins if both are filled.
- Leave column E blank to use the CPI-U December-to-December change for that year. Type a rate in E to use your own (for example the annual-average change, or another country's CPI).
- Check that the status in B8 says OK. If it does not, it tells you what to fix: gaps, years out of order, a missing return, or a year with no CPI yet.
- Read the results: real CAGR (B17), after-tax real CAGR (B21), and what your amount is worth after inflation (B23–B26).
- For a new year, add its December index on the CPI-U data tab once BLS publishes it (usually in mid-January).
Use returns without deposits and withdrawals. If you added cash during a year, start/end values overstate the return. Use the time-weighted return from your broker statement in column D instead, or track contributions in the investment tracker.
Exact real return vs the n − i shortcut
The link between nominal returns, real returns and inflation is the Fisher equation. An open economics textbook states it as (1 + i) = (1 + r) × (1 + π), with i the nominal rate, r the real rate and π inflation, and gives i ≈ r + π as the approximation (Saylor Academy, “The Fisher Equation: Nominal and Real Interest Rates”). The St. Louis Fed describes it in words: “the nominal interest rate is equal to the real interest rate plus the expected inflation rate” (William T. Gavin, “Deflation and the Fisher Equation”, Monetary Trends, October 2010).
Solve for the real return and you get the exact form the spreadsheet uses: real = (1 + n) / (1 + i) − 1. The gap to the shortcut is (n − i) × i / (1 + i), so it grows with both the real return and inflation:
| Nominal return n | Inflation i | Shortcut n − i | Exact (1+n)/(1+i) − 1 | Shortcut error |
|---|---|---|---|---|
| 5.0% | 2.0% | 3.00% | 2.94% | +0.06 pts |
| 7.0% | 3.0% | 4.00% | 3.88% | +0.12 pts |
| 10.0% | 3.0% | 7.00% | 6.80% | +0.20 pts |
| 10.0% | 7.0% | 3.00% | 2.80% | +0.20 pts |
| 20.0% | 8.0% | 12.00% | 11.11% | +0.89 pts |
| −10.0% | 6.5% | −16.50% | −15.49% | −1.01 pts |
| 5.0% | 20.0% | −15.00% | −12.50% | −2.50 pts |
The shortcut is fine for a quick guess at 2–3% inflation. Over many years, or when inflation is high, the error compounds. In the fictional example the shortcut reports a real CAGR of 5.43% against 5.26% exact (+0.17 pts a year).
CPI-U inflation, December to December, 2000–2025 (BLS)
The table below and the CPI-U data tab use the Bureau of Labor Statistics CPI-U, all items, U.S. city average, not seasonally adjusted (series CUUR0000SA0), read from the official BLS flat file (cu.data.1.AllItems) on 8 Nov 2026. The December-to-December change is the default because it covers the same January–December span as a calendar-year return. The annual-average change is shown too.
The % changes are computed from the index levels, the method in the BLS fact sheet “Math calculations to better utilize CPI data”, which divides the later index by the earlier one and notes that since January 2007 indexes are published to three decimals while “the resulting percent changes will continue to be published to one decimal place.” BLS has no October 2025 index; its footnote reads “Data unavailable due to the 2025 lapse in appropriations”. The December 2025 index and the 2025 annual average are published.
| Year | December index | Dec/Dec change | Annual average index | Annual average change |
|---|---|---|---|---|
| 2000 | 174.000 | 3.4% | 172.200 | 3.4% |
| 2001 | 176.700 | 1.6% | 177.100 | 2.8% |
| 2002 | 180.900 | 2.4% | 179.900 | 1.6% |
| 2003 | 184.300 | 1.9% | 184.000 | 2.3% |
| 2004 | 190.300 | 3.3% | 188.900 | 2.7% |
| 2005 | 196.800 | 3.4% | 195.300 | 3.4% |
| 2006 | 201.800 | 2.5% | 201.600 | 3.2% |
| 2007 | 210.036 | 4.1% | 207.342 | 2.8% |
| 2008 | 210.228 | 0.1% | 215.303 | 3.8% |
| 2009 | 215.949 | 2.7% | 214.537 | −0.4% |
| 2010 | 219.179 | 1.5% | 218.056 | 1.6% |
| 2011 | 225.672 | 3.0% | 224.939 | 3.2% |
| 2012 | 229.601 | 1.7% | 229.594 | 2.1% |
| 2013 | 233.049 | 1.5% | 232.957 | 1.5% |
| 2014 | 234.812 | 0.8% | 236.736 | 1.6% |
| 2015 | 236.525 | 0.7% | 237.017 | 0.1% |
| 2016 | 241.432 | 2.1% | 240.007 | 1.3% |
| 2017 | 246.524 | 2.1% | 245.120 | 2.1% |
| 2018 | 251.233 | 1.9% | 251.107 | 2.4% |
| 2019 | 256.974 | 2.3% | 255.657 | 1.8% |
| 2020 | 260.474 | 1.4% | 258.811 | 1.2% |
| 2021 | 278.802 | 7.0% | 270.970 | 4.7% |
| 2022 | 296.797 | 6.5% | 292.655 | 8.0% |
| 2023 | 306.746 | 3.4% | 304.702 | 4.1% |
| 2024 | 315.605 | 2.9% | 313.689 | 2.9% |
| 2025 | 324.054 | 2.7% | 321.943 | 2.6% |
From December 1999 to December 2025 the index rose from 168.3 to 324.054: an average of 2.55% a year. By the converter on the CPI-U tab, $10,000 in December 2000 had the same buying power as $18,624 in December 2025 (86.2% cumulative inflation). The SEC's Investor.gov puts the risk plainly: “Inflation reduces purchasing power, which is a risk for investors receiving a fixed rate of interest.”
The formulas, explained
These are the formulas in the file (row 29 of the Example tab, or the result cell named). The T column is a helper that is 1 when the row has a valid return and inflation rate.
| Cell | Formula |
|---|---|
| Nominal return used (F) | =IF($A29="","",IF(ISNUMBER($D29),$D29,IF(AND(ISNUMBER($B29),ISNUMBER($C29)),IF($B29>0,$C29/$B29-1,""),""))) |
| Inflation used (G): your E, else CPI-U Dec/Dec for the year | =IF($A29="","",IF(ISNUMBER($E29),$E29,IF(ISNUMBER(MATCH($A29,'CPI-U data'!$A$7:$A$60,0)),IF(ISNUMBER(INDEX('CPI-U data'!$C$7:$C$60,MATCH($A29,'CPI-U data'!$A$7:$A$60,0))),INDEX('CPI-U data'!$C$7:$C$60,MATCH($A29,'CPI-U data'!$A$7:$A$60,0)),""),""))) |
| Real return, exact (I) | =IF(T29=1,(1+F29)/(1+G29)-1,"") |
| Real return, shortcut (J) | =IF(T29=1,F29-G29,"") |
| After-tax nominal return (L) | =IF(T29=1,IF(F29>0,F29*(1-N($B$5)),F29),"") |
| After-tax real return (M) | =IF(T29=1,(1+L29)/(1+G29)-1,"") |
| Growth of $1, nominal (N, from row 30) | =IF(AND(T30=1,ISNUMBER(N29)),N29*(1+F30),"") |
| Growth of $1, real (P) | =IF(AND(ISNUMBER(N29),ISNUMBER(O29)),N29/O29,"") |
| Purchasing power of the amount (R) | =IF(ISNUMBER(O29),N($B$4)/O29,"") |
| Real CAGR (B17) | =IF($B$8="OK",INDEX($P$29:$P$128,$B$9)^(1/$B$9)-1,"") |
| After-tax real CAGR (B21) | =IF($B$8="OK",INDEX($Q$29:$Q$128,$B$9)^(1/$B$9)-1,"") |
| CPI-U Dec/Dec % change (CPI-U data, C8) | =IF(AND(ISNUMBER(A8),ISNUMBER(A7),ISNUMBER(B8),ISNUMBER(B7)),IF(A8=A7+1,B8/B7-1,""),"") |
Rows chain together: each year's growth of $1 is the previous value × (1 + this year's rate). CAGR over k years is the final factor to the power 1/k, minus 1. Purchasing power is the amount divided by the price-level factor. Functions used: IF, AND, OR, NOT, N, ISNUMBER, COUNT, COUNTA, SUM, SUMPRODUCT, AVERAGE, INDEX, MATCH. No XLOOKUP, LET, LAMBDA or dynamic arrays.
Worked example from the sample data
The Example tab tracks a fictional portfolio from 2016 to 2025 (10 years). Its returns are made up; inflation is the real CPI-U.
- 2016: the portfolio grew from $50,000 to $53,600, a 7.20% nominal return. CPI-U rose 2.07% (December 2015 236.525 to December 2016 241.432). Exact real return: 1.072 / 1.020746 − 1 = 5.02%; the shortcut says 5.13%.
- 2022: a −16.20% nominal loss met 6.45% inflation. The real loss was −21.28%; the shortcut (−22.65%) overstates the loss by 1.37 points.
- Over 10 years: $1 grew to $2.2874 in dollars, while prices rose by a factor of 1.3701. Real growth is 2.2874 / 1.3701 = 1.6695, so the real CAGR is 1.66951/10 − 1 = 5.26%. Nominal CAGR was 8.63% and average inflation 3.20%.
- After tax: taxing each positive year at 15% cuts the real CAGR to 3.70%.
- Purchasing power: $10,000 kept as cash from the end of 2015 buys only $7,299 of 2015 goods at the end of 2025. Invested, it grew to $22,874, worth $16,695 in 2015 dollars.
- Averages mislead: the simple average of the yearly real returns is 5.91%, above the 5.26% real CAGR, because losses hurt compounding more than gains help.
After-tax real return
Tax is charged on the nominal gain, including the part that only matches inflation. So the after-tax real return is (1 + n × (1 − t)) / (1 + i) − 1, not the pre-tax real return × (1 − t). With the Summary tab's defaults (7% return, 3% inflation, 15% tax):
The model is deliberately simple: one rate on each year's positive return, no credit for losses, no brackets, no deferral and no difference between dividends and gains. For the tax on a specific sale, use the capital gains tax calculator.
Context: TIPS and I bonds use the same CPI
U.S. Treasury inflation-protected products are tied to the CPI that this sheet uses, which makes them a useful yardstick for a “real” return:
- TIPS: TreasuryDirect says “the principal of a TIPS can go up or down over its term” and “We adjust the principal of your TIPS using this version of the Consumer Price Index from the Bureau of Labor Statistics” (TreasuryDirect, TIPS).
- I bonds: the inflation part is based “on changes in the non-seasonally adjusted Consumer Price Index for all Urban Consumers (CPI-U) for all items, including food and energy”. The composite rate is “Fixed rate + (2 x semiannual inflation rate) + (fixed rate x semiannual inflation rate)” – the same multiply-not-add idea as the Fisher equation. For I bonds issued 1 November 2026 to 30 April 2027 it is 5.51%, with a 1.40% fixed rate (TreasuryDirect, I bonds interest rates).
These are context, not a recommendation. Rates change every six months for I bonds and at each auction for TIPS.
Common mistakes
- Subtracting inflation. n − i overstates positive real returns and overstates real losses. Use (1 + n) / (1 + i) − 1.
- Mixing periods. A calendar-year return needs December-to-December inflation, not the annual average or a single month's year-over-year rate from mid-year.
- Averaging yearly returns. The simple average is not what you earned. Use the real CAGR.
- Counting deposits as returns. Start/end values with new cash added inflate the return. Use time-weighted returns.
- Applying tax after inflation. Tax is on the nominal gain, so the after-tax real return is lower than the pre-tax real return × (1 − t).
- Using the year's CPI before BLS publishes December. A part-year change is not a calendar-year rate. Enter your own estimate in column E and replace it later.
Limits
- Each row is one year. Monthly or quarterly returns need to be compounded into yearly returns first.
- CPI-U is a national average for urban consumers. Your own spending basket can rise faster or slower.
- The tax model is a single flat rate on positive yearly returns; it is not a tax calculation.
- Fees are not modelled separately: use returns after fees.
- Recalculation was tested in LibreOffice. The file uses only functions that exist in Excel 2016+ and Google Sheets.
FAQ
What is the real rate of return?
It is your return after inflation: how much more your money can buy, not just how many more dollars you have. The exact formula is (1 + nominal return) / (1 + inflation rate) − 1. A 7% return with 3% inflation is a 3.88% real return, not 4%.
How do I calculate an inflation-adjusted return in Excel?
Put the nominal return in A2 and inflation in B2, then use =(1+A2)/(1+B2)-1. For several years, multiply the yearly (1 + return) factors, divide by the product of the (1 + inflation) factors, and take the result to the power 1/years, minus 1, for the real CAGR. The spreadsheet does this for up to 100 years and fills inflation from the BLS CPI-U automatically.
Why isn't the real return just the return minus inflation?
Because inflation also shrinks the value of the gain, not only the starting amount. Subtracting is a shortcut that is close when rates are low. It overstates a positive real return by (n − i) × i / (1 + i): about +0.12 pts at 7% and 3%, but +0.89 pts at 20% and 8%.
Should I use December-to-December or annual average CPI?
Use December to December for calendar-year returns, because both cover the same January-to-December span. The annual average compares one year's average price level with the previous year's, which suits annual figures such as salaries or spending. The spreadsheet uses December to December by default and shows both.
How do taxes change the real return?
Tax is charged on the nominal gain, including the part that only keeps up with inflation. In the quick calculator a 7% return taxed at 15% leaves 5.95%; after 3% inflation that is 2.86% real, against 3.88% before tax. The template uses one simple tax rate on positive yearly returns.
Can I use this real return spreadsheet in Google Sheets?
Yes. In Google Sheets choose File → Import → Upload and pick the .xlsx, or upload it to Google Drive and open it with Google Sheets. It uses only IF, AND, OR, NOT, N, ISNUMBER, COUNT, COUNTA, SUM, SUMPRODUCT, AVERAGE, INDEX, MATCH, which work in Excel 2016 and later, Google Sheets and LibreOffice. No macros.
Related tools and templates
- CAGR calculatorGrowth rate between two values
- Compound interest spreadsheetGrowth with regular deposits
- Investment trackerHoldings, contributions and returns
- Retirement planner spreadsheetPlan savings in today's dollars
- ROI calculatorReturn on a single investment
- Capital gains tax calculatorTax on a sale
- All templatesFree spreadsheets
Educational template only, not investment, tax or financial advice. Example data is fictional: the portfolio and its returns are made up to show the formulas and are not a result or a forecast. Inflation data is from the U.S. Bureau of Labor Statistics (CPI-U, series CUUR0000SA0); TIPS and I bond details are from TreasuryDirect and the inflation risk quote from Investor.gov, all retrieved on 8 November 2026. Past returns and past inflation do not predict future ones.