Tabellab

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — $9.90
Loading the spreadsheet…

Why a fraction of a percent deserves a whole lesson

If you hold an index fund or an ETF through a workplace pension, a savings plan or a brokerage account, there is one number on every fund factsheet that quietly decides how much of the growth you keep: the TER, the total expense ratio. It is printed in small type, it is usually somewhere between a few hundredths of a percent and a couple of percent, and it never arrives as a bill. Because you never pay it actively, it is easy to ignore.

This free first lesson of ETF & Index Fund Investing Math is for anyone who wants to see that number for what it is: a yearly deduction from a balance that grows for decades. It is for savers comparing two funds, for finance students who want to understand compounding with real Excel functions, and for analysts who have to explain to a client or a committee what a cost difference means in money rather than in basis points. You will build the comparison in the lab above, and this article walks through every step, every formula and every number.

Everything here uses the lab's fictional set-up: Fund A, an index fund with a TER of 0.07 %, and Fund B, an active fund with a TER of 1.20 %. Both are placeholders, not real products, and the gross return of 6.5 % a year is an assumption for the example, not a forecast. Real returns go up and down, can be negative for years, and are never guaranteed. This course is educational only and is not investment advice: it does not tell you which fund to hold, it shows you how to measure what a cost does to a result.

The core idea: fees come out of the balance, not out of your pocket

A fund has running costs: the manager, the index licence, custody, administration, audit. The TER expresses these costs as a percentage of the fund's assets per year. The fund deducts them bit by bit, typically every day, directly from its assets. The price of a fund share therefore already reflects the costs, and the published performance of the fund is already net of the TER.

For planning, the standard approximation is simple: net return ≈ gross return − TER. If the underlying investments earn 6.5 % in a year and the fund charges 0.07 %, you keep about 6.43 %. If it charges 1.20 %, you keep about 5.30 %. A more exact version multiplies instead of subtracting, =(1+B6)*(1-B3)-1, because the fee is taken from a balance that has already grown. For small fees the two results are very close, and the lab uses the subtraction because it is the convention on most factsheets and in most comparisons.

The interesting part is what happens next. The fee is a percentage of the balance, not of the contributions. In year one, a 1.2 % fee on about 26,000 is a few hundred. In year thirty, the same 1.2 % is charged on a balance of more than half a million. So the fee grows with the balance, and every amount it removes also stops compounding for all later years. That double effect, a growing base and lost compounding, is why a gap of about 1.1 percentage points a year can end up costing a fifth of the final value.

TER is not the full cost of owning a fund. Trading costs inside the fund, the bid-ask spread when you buy and sell, platform or custody fees and taxes on dividends can add to it. Lesson 8 of this course adds one of those pieces, dividend withholding tax, to the TER and compares the total cost of two funds. Lesson 1 isolates the TER alone, so you can see its effect clearly.

The savings plan you will model

The lab models a typical long-term plan: a starting amount of 20,000 and a contribution of 500 at the end of every month, for 30 years. That is 360 monthly contributions plus the starting amount, so the total paid in is 20,000 + 500 × 12 × 30 = 200,000 for each fund. Both funds receive exactly the same money at exactly the same time and earn exactly the same gross return. The only difference is the fee. When two scenarios differ in only one input, any difference in the output is caused by that input, and that is what makes this a clean experiment.

To grow a starting amount and a series of equal payments, Excel has a single function: FV, future value. Its arguments are FV(rate, nper, pmt, [pv], [type]). rate is the return per period, nper the number of periods, pmt the payment per period, pv the starting amount and type says whether payments are made at the end (0, the default) or the start (1) of each period. Because the payments are monthly, the rate must be monthly and the periods must be months: B10/12 and B7*12.

FV follows Excel's cash-flow sign convention. Money that leaves you, such as a contribution, is negative; money that comes back to you is positive. If you enter the payment and the starting amount as positive numbers, FV returns a negative result. Writing -B5 and -B4 in the formula flips both to outflows, and the end value comes out positive, which is easier to read and to subtract.

Worked example: Fund A versus Fund B over 30 years

Here is the complete result of the lab, with the formulas for Fund A in column B. Fund B in column C uses the same formulas one column to the right. The two lines that matter most are row 11, the value after the plan, and row 14, the difference.

RowItemFund A (index)Fund B (active)Excel formula (Fund A, column B)
3TER per year0.07 %1.20 %input
4Starting amount20,00020,000input
5Monthly contribution500500input
6Gross return per year6.50 %6.50 %input (assumption)
7Years3030input
10Net return per year6.43 %5.30 %=B6-B3
11Value after 30 years682,570537,726=FV(B10/12,B7*12,-B5,-B4)
12Total paid in200,000200,000=B4+B5*12*B7
13Investment growth482,570337,726=B11-B12
14Value lost to the higher fee144,844=B11-C11 (in C14)
15Share of Fund A's end value21.2 %=C14/B11 (in C15)

Read the table from the top. The net returns are 6.43 % and 5.30 %, a gap of 1.13 percentage points. With FV, Fund A grows to about 682,570 and Fund B to about 537,726. Both received 200,000, so Fund A's investment growth is about 482,570 and Fund B's about 337,726. The difference between the end values, the money lost to the higher fee, is about 144,844. As a share of Fund A's end value that is 21.2 %: in this example, more than one in every five units of the potential end value never arrives.

Look at the growth row once more, because it is the fairest comparison. The fee does not touch the 200,000 you paid in; it eats into the growth. Fund B keeps 337,726 of growth where Fund A keeps 482,570, which means Fund B delivers about 30 % less growth on the same money. A cost that sounds like "about one percent" turns into "about a third of the gains" once time does its work. That is the single most important sentence of this lesson, and the chart below shows it visually.

Where the end value comes from0100k200k300k400k500k600k700kFund A200,000482,570Fund B200,000337,726lost tofeesPaid inGrowthGap to Fund A: 144,844
Both funds received exactly 200,000. Fund B keeps about 30 % less growth, which is the 144,844 gap, about 21.2 % of Fund A's end value.

You can also check the result in your head. If you ran the plan at the full gross return of 6.5 % with no fee at all, FV would give about 692,925. Fund A loses about 10,355 of that to its 0.07 % TER over 30 years, Fund B about 155,199 to its 1.20 %. The cost of the index fund in this example is about 1.5 % of the fee-free end value; the cost of the active fund is about 22 %. Those two numbers are worth comparing with the headline fees: 0.07 % and 1.20 % per year.

Watching the gap grow year by year

A single end value hides the path. To see how the gap develops, build a small year table next to the lab: years 0 to 30 in one column, and in the next two columns =FV($B$10/12,A2*12,-$B$5,-$B$4) for Fund A and =FV($C$10/12,A2*12,-$C$5,-$C$4) for Fund B. The dollar signs lock the assumptions while the year changes from row to row. A few rows of that table:

After yearFund AFund BGap A − BGap as % of A
127,50527,2342711.0 %
562,83360,3182,5154.0 %
10121,859112,8399,0197.4 %
15203,196181,25721,93910.8 %
20315,279270,38344,89714.2 %
25469,732386,48483,24817.7 %
30682,570537,726144,84421.2 %

After one year the funds are practically identical: the gap is about 271. After ten years it is about 9,019, still less than 10 % of Fund A. Then it accelerates: about 44,897 after twenty years and 144,844 after thirty. The percentage column tells the same story more calmly: the share of Fund A's value that is missing in Fund B rises steadily from below 1 % to above 21 %. This is why fee comparisons over one year are misleading and why the horizon belongs in every cost discussion.

Value of the plan by year (illustrative)0100k200k300k400k500k600k700k051015202530YearsA: 682.6kB: 537.7kPaid in200.0kFund A, TER 0.07 %Fund B, TER 1.20 %
Same contributions, same gross return of 6.5 % a year: the two lines only separate because of the fee, and the gap widens every year.

Fee gap (A − B) after each 5 years040k80k120k160k2,515Year 59,019Year 1021,939Year 1544,897Year 2083,248Year 25144,844Year 30
The gap is not linear: it grows by roughly 75 % to 100 % every five years in the second half of the plan, because the fee is charged on an ever larger balance.

How to build it in Excel, step by step

  1. Open the lab above or a blank workbook. Put the labels in column A and the two funds in columns B and C, exactly as in the table: TER in row 3, starting amount in row 4, monthly contribution in row 5, gross return in row 6 and years in row 7.
  2. Format the rate cells as percentages: select B3:C3 and B6:C6 (hold Ctrl to add the second range), then press Ctrl+Shift+% or use Home > Number > Percent Style. Use Increase Decimal twice so 0.07 % does not display as 0 %.
  3. In B10, type =B6-B3 for the net return. Select B10:C10 and press Ctrl+R to fill right. C10 should show 5.30 %.
  4. In B11, type =FV(B10/12,B7*12,-B5,-B4). If you prefer the dialog, use Formulas > Financial > FV or press Shift+F3 and search for FV; the dialog shows each argument with a short explanation. Fill right to C11.
  5. In B12, type =B4+B5*12*B7 for the total paid in, and in B13 =B11-B12 for the growth. Fill both right.
  6. In C14, type =B11-C11: Fund A minus Fund B, so the result is positive. In C15, type =C14/B11 and format it as a percentage.
  7. Press Ctrl+` (the grave accent, left of the 1 key on many keyboards) to see all formulas at once, check that every reference points to its own column, then press it again to return to the values.
  8. For the year table, type 0 in a free cell, for example E2, and =E2+1 below it, then fill down to year 30 with Ctrl+D. Next to it use the FV formulas with locked references from the previous section, and a third column with the difference.
  9. Select the year column and the two fund columns and choose Insert > Charts > Line (or press Alt+F1 for a default chart and change the type). Add a chart title and an axis title such as Value. Two lines that start together and drift apart are the clearest way to show fee drag to anyone.
  10. Finally, test the model: change C3 from 1.20 % to 0.07 %. C14 must become 0. Any formula that still shows a gap is wired to the wrong cell.
Turn the comparison into a what-if tool. Put a list of TERs in a column, for example 0.05 %, 0.10 %, 0.25 %, 0.50 %, 0.75 %, 1.00 % and 1.50 %, and next to each one calculate the end value with =FV(($B$6-E2)/12,$B$7*12,-$B$5,-$B$4). You get the cost of every fee level for your own assumptions in seconds, without changing the lab.

ETF and index fund investing math in Excel: comparing fund costs over decades
ETF and index fund math is mostly about costs, compounding and time, and every piece of it fits in a spreadsheet.

Common mistakes and how to spot them

  • Using the annual rate with monthly periods. =FV(B10,B7*12,-B5,-B4) compounds at 6.43 % per month and gives an absurdly large number. If the result looks like it has too many digits, check that the rate is divided by 12.
  • Compounding once a year with twelve payments in one. =FV(B10,B7,-B5*12,-B4) is not wrong in itself, but it assumes one contribution of 6,000 at the end of each year. The result is a little lower than the monthly version, because each month's money waits until year end. Match the periods to how the money actually moves.
  • Forgetting the signs. If the end value is negative, the payment and starting amount were entered as positive numbers. Use -B5 and -B4, or wrap the whole formula in a minus sign.
  • Using the gross return. If both funds show the same end value, the formula points to row 6 instead of row 10. The fee only matters if it enters the rate.
  • Treating the TER as a share of the return. =B6*(1-B3) reduces the return by 1.2 % of itself, from 6.5 % to about 6.42 %, which hugely understates the fee. The TER is a share of the assets, so it is subtracted from the return.
  • Dividing by the wrong base. The lost share should be measured against Fund A's end value (what you could have had), not against the money paid in. Dividing by 200,000 gives about 72 %, a number that sounds dramatic but answers a different question.
  • Reading the result as a forecast. The 6.5 % is an assumption held constant for 30 years. Real markets do not move in a straight line. The model is reliable for one thing: the relative effect of a cost difference under the same assumptions.

Quick reference: functions and shortcuts used

Function or shortcutWhat it does hereExample
FV(rate, nper, pmt, [pv], [type])Future value of a starting amount plus equal regular payments=FV(B10/12,B7*12,-B5,-B4)
PMT(rate, nper, pv, [fv])Payment needed to reach a target value=PMT(B10/12,360,-B4,600000)
RATE(nper, pmt, pv, fv)Return implied by a start value, payments and an end value=RATE(360,-500,-20000,B11)*12
FVSCHEDULE(principal, schedule)Grows a lump sum through a list of different yearly rates=FVSCHEDULE(20000,E2:E31)
$B$10 and F4Locks a reference so it does not move when you copy=FV($B$10/12,A2*12,-$B$5,-$B$4)
Ctrl+R / Ctrl+DFill right (B to C) / fill down a year tableSelect B10:C10, press Ctrl+R
Ctrl+Shift+%Percent format for TER and return cellsFormat B3:C3, B6:C6, B10:C10
Ctrl+`Shows formulas instead of results, for checkingToggle on, check, toggle off
Alt+F1Inserts a default chart of the selectionSelect the year table, press Alt+F1

Real-world uses of a fee-drag model

  • Comparing two share classes of the same fund. Many funds exist in several classes that hold the same portfolio but charge different fees. Because the gross return is the same by construction, this lab's model applies almost one to one.
  • Reviewing a workplace pension or savings plan. An HR or finance team can show employees what the plan's fee levels mean in money over a career, using their own contribution levels instead of the lab's 500 a month.
  • Explaining costs to clients. Advisers and analysts often have to translate "1.2 % versus 0.07 %" into something concrete. A two-line chart and one number, the share of end value lost, communicate it faster than a table of basis points.
  • Testing a break-even hurdle. If a more expensive fund is supposed to deliver something extra, the model tells you how much extra gross return it needs just to match the cheaper one. Change the gross return of Fund B until C14 reaches zero, or let Data > What-If Analysis > Goal Seek do it.
  • Teaching compounding. Fee drag is the most intuitive demonstration that small rates over long periods produce large differences, because everyone can relate to paying a fee.

What you will build in the rest of this course

This first lesson is free. The remaining 19 labs are part of the full course, available for a one-time price of $9.90, and each one adds another piece of the toolkit you need to read a fund factsheet like an analyst.

Tracking Difference & Tracking Error. An index fund promises to follow its index, but never perfectly. You measure by how much a fund lagged or led its index over twelve months, and you calculate tracking error as a standard deviation with STDEV.S, so you can tell the difference between a fund that costs a little and one that wobbles a lot.

Building an Index: Market-Cap Weights & Price Return. You build a six-stock market-cap index yourself: market caps, weights, the index return with SUMPRODUCT and the new index level, and you see why the largest companies move a cap-weighted index the most.

Total Return vs Price Return: Dividends Reinvested. Price indexes ignore dividends; total return indexes reinvest them. You turn a fictional ten-year price index into a total return index, annualise both and chart the widening gap, which matters whenever someone compares a fund with "the index".

Dollar-Cost Averaging vs Lump Sum. You invest a fictional $12,000 in Fund A either all in January or as $1,000 a month, count the units each method buys, compare the average cost per unit and see which way ends up ahead on that particular price path, and why that answer depends on the path.

Rebalancing a 60/40 Portfolio: Drift, Bands & Trades. After a strong stock year you measure how far a 60/40 portfolio has drifted, apply a ±5-point band rule with ABS and IF and calculate the exact trades that bring it back to target.

Diversification: Portfolio Volatility vs Weight. You calculate return and volatility for eleven stock/bond mixes, find the lowest-risk mix with MIN, INDEX and MATCH and chart risk against the weight, the curve that explains why combining assets can reduce risk.

Withholding Tax, Fund Domicile & Total Cost of Ownership. Two fictional funds track the same index: one has the cheaper TER, the other loses less dividend tax because of where it is domiciled. You add the tax leak to the TER and find which one really costs less per year.

Every lab uses a live spreadsheet that checks your formulas, explains typical mistakes and ends with a certificate exam, so you finish with models you can reuse with your own numbers.

Summary

A fund's TER is deducted from the balance every year, so its effect grows with the balance and compounds over time. In the lab's fictional example, a gap of 1.13 percentage points a year turns into a difference of about 144,844, or 21.2 % of the cheaper fund's end value, after 30 years of saving 500 a month on top of 20,000. In Excel, the whole comparison takes four formulas: net return =B6-B3, end value =FV(B10/12,B7*12,-B5,-B4), the difference =B11-C11 and the share =C14/B11.

Now scroll up and try it yourself in the lab: fill in rows 10 and 11, calculate the gap, and then change the TER, the contribution or the horizon to see how sensitive the result is. It takes about fifteen minutes, and afterwards you will never read a fund factsheet the same way again.

Frequently asked questions

What is fee drag in an ETF or index fund?

Fee drag is the reduction in growth caused by a fund's running costs. Because the TER is deducted from the fund's assets every year, it lowers the return on the whole balance and the missing amounts also stop compounding.

How do I calculate the effect of a TER in Excel?

Subtract the TER from the gross return to get an approximate net return, then use FV with the monthly rate and the number of months, for example =FV((6.5%-0.07%)/12,360,-500,-20000). Repeat with the other fund's TER and take the difference.

Why does FV return a negative number?

Excel treats money you pay in as negative and money you receive as positive. If you enter the payment and starting amount as positive values, the end value comes out negative, so write them with a minus sign.

Is net return exactly gross return minus TER?

It is a close approximation. A slightly more exact version is (1 + gross return) × (1 − TER) − 1, because the fee is taken from a balance that has already grown, but for small fees the difference is tiny.

Is the TER the only cost of owning an ETF?

No. Trading costs inside the fund, bid-ask spreads, platform or custody fees and taxes on dividends can add to it. The TER is the most visible part, which is why this first lesson isolates it.

Does a lower TER mean a better fund?

Not by itself. A fee comparison shows what a cost does under equal assumptions, but funds also differ in what they hold, how closely they track and how they are taxed. This course is educational and does not recommend any fund.

Keep going: ETF & Index Fund Investing Math

This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time $9.90.

  1. Tracking Difference & Tracking Error
  2. Building an Index: Market-Cap Weights & Price Return
  3. Total Return vs Price Return: Dividends Reinvested
  4. Dollar-Cost Averaging vs Lump Sum
  5. Rebalancing a 60/40 Portfolio: Drift, Bands & Trades
  6. Diversification: Portfolio Volatility vs Weight
  7. Withholding Tax, Fund Domicile & Total Cost of Ownership
  8. ETF Price vs NAV: Premiums, Discounts & a Fair-Price Band
  9. Savings Plan Costs: Flat Fees, Percentage Fees & the Spread
  10. Entry Costs vs Running Costs: The Break-Even Holding Period
  11. Explaining Tracking Difference: TER, Lending Income, Taxes, Cash Drag & Trading
  12. Index Concentration: HHI & the Effective Number of Stocks
  13. Capped Indices: Weight Caps & Redistributing the Excess
  14. Index Reconstitution: Adds, Deletes, Turnover & Trading Cost
  15. Look-Through Exposure: What a Three-ETF Portfolio Really Holds
  16. Rebalancing with New Money: Buying Only the Underweights
  17. Accumulating vs Distributing Share Classes: Tax Drag on Dividends
  18. Leveraged ETFs: Daily Reset & Volatility Decay
  19. Final Project: ETF Portfolio Review Dashboard

Buy course — $9.90 See the full course