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.

Download Excel template (.xlsx) 81 KB · no macros · Excel 2016+ and Google Sheets · v1.0, 8 Nov 2026 · CPI-U through Dec 2025

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.

Preview: the Example tab. The portfolio returns are fictional; the inflation column is the real BLS CPI-U December-to-December change. Amount tracked $10,000, tax rate 15%.
5.26%real CAGR, exact (2016–2025)
5.43%real CAGR by the n − i shortcut
3.70%after-tax real CAGR
$7,299what $10,000 of cash buys after 10 years
YearNominal returnCPI-U Dec/DecReal (exact)Shortcut n − iShortcut errorAfter-tax real (15%)Real growth of $1
20167.20%2.07%5.02%5.13%+0.10 pts3.96%1.0502
201715.80%2.11%13.41%13.69%+0.28 pts11.09%1.1910
2018−5.10%1.91%−6.88%−7.01%−0.13 pts−6.88%1.1091
201921.40%2.29%18.69%19.11%+0.43 pts15.55%1.3164
202012.30%1.36%10.79%10.94%+0.15 pts8.97%1.4584
202116.90%7.04%9.21%9.86%+0.65 pts6.85%1.5928
2022−16.20%6.45%−21.28%−22.65%−1.37 pts−21.28%1.2538
202317.50%3.35%13.69%14.15%+0.46 pts11.15%1.4255
202413.10%2.89%9.93%10.21%+0.29 pts8.02%1.5669
20259.40%2.68%6.55%6.72%+0.18 pts5.17%1.6695
$0.50$1.00$1.50$2.00$2.50Start20172019202120232025Nominal $2.29Real $1.67After-tax real $1.44

What's inside the spreadsheet

TabWhat it does
Start hereSteps, which CPI series is used, limits, version and disclaimer.
CalculatorYour 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.
ExampleThe 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 dataBLS 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?”.
SummaryOne-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

  1. 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.
  2. 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.
  3. 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).
  4. 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.
  5. Read the results: real CAGR (B17), after-tax real CAGR (B21), and what your amount is worth after inflation (B23–B26).
  6. 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 nInflation iShortcut n − iExact (1+n)/(1+i) − 1Shortcut 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.

CPI-U, all items, U.S. city average, not seasonally adjusted (BLS series CUUR0000SA0, 1982-84=100). % changes computed from the index levels and rounded to one decimal, as BLS publishes them.
YearDecember indexDec/Dec changeAnnual average indexAnnual average change
2000174.0003.4%172.2003.4%
2001176.7001.6%177.1002.8%
2002180.9002.4%179.9001.6%
2003184.3001.9%184.0002.3%
2004190.3003.3%188.9002.7%
2005196.8003.4%195.3003.4%
2006201.8002.5%201.6003.2%
2007210.0364.1%207.3422.8%
2008210.2280.1%215.3033.8%
2009215.9492.7%214.537−0.4%
2010219.1791.5%218.0561.6%
2011225.6723.0%224.9393.2%
2012229.6011.7%229.5942.1%
2013233.0491.5%232.9571.5%
2014234.8120.8%236.7361.6%
2015236.5250.7%237.0170.1%
2016241.4322.1%240.0071.3%
2017246.5242.1%245.1202.1%
2018251.2331.9%251.1072.4%
2019256.9742.3%255.6571.8%
2020260.4741.4%258.8111.2%
2021278.8027.0%270.9704.7%
2022296.7976.5%292.6558.0%
2023306.7463.4%304.7024.1%
2024315.6052.9%313.6892.9%
2025324.0542.7%321.9432.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.

CellFormula
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.

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):

3.883%real return before tax
5.950%nominal after 15% tax
2.864%real return after tax
7.12%nominal needed for a 4% real return

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:

These are context, not a recommendation. Rates change every six months for I bonds and at each auction for TIPS.

Common mistakes

Limits

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

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.