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…

The number on the fact sheet is not the number you keep

Every fund fact sheet, savings account offer and bond brochure shows a return before tax. That is the honest way to show it, because the provider does not know your tax situation. But it means the figure you compare is not the figure that reaches your pocket. Two assets that look a few tenths of a percent apart before tax can look very different after tax, and sometimes the order flips.

This free first lesson is for anyone who wants to understand that gap with real arithmetic instead of rules of thumb: people organising their own savings, finance and accounting students, junior analysts and advisers in training, and anyone who builds personal finance spreadsheets. You will learn how to split a return into its parts, tax each part at its own rate, measure the tax drag, and turn the comparison around to find the pre-tax yield one asset would need to match another.

A clear note before we start. This course is educational only and is not tax or investment advice. It does not recommend buying, selling or holding anything. Every asset, yield and growth figure below is a fictional assumption chosen for the exercise, not a forecast and not a description of any real product. The tax rates are illustrative (30 % on interest, 20 % on dividends, 15 % on capital gains) and are not the rates of any particular country. Real tax rules differ widely, depend on your personal situation and change over time, so check your own country's rules or ask a qualified professional before relying on any number.

The core idea: a return has parts, and each part can be taxed differently

A total return usually has two components. Income is cash the investment pays you while you hold it: interest from a savings account or a bond, dividends from shares. Price growth is the change in the value of the investment itself, which becomes a capital gain when you sell for more than you paid.

Many tax systems treat these parts differently. Interest is often taxed like ordinary income. Dividends are sometimes taxed at a different rate. Capital gains may be taxed at yet another rate, and often only when they are realised by selling. The lab captures that with three illustrative rates in B2:B4 and one simple rule for each asset:

After-tax return = income yield × (1 − tax rate on that income) + price growth × (1 − capital gains rate).

Two more definitions complete the toolkit. Tax drag is the return lost to tax, measured in percentage points: pre-tax return minus after-tax return. And the tax-equivalent yield answers the reverse question: if an asset that pays fully taxed interest has to match an after-tax target, it needs a pre-tax yield of target ÷ (1 − interest tax rate). Dividing by (1 − rate) "grosses up" an after-tax number to a pre-tax one.

The lab makes one deliberately simple assumption: gains are treated as if they were realised every year. In reality, unrealised gains are usually not taxed until you sell, which makes growth even more tax-efficient over long periods. That effect, deferral, is the subject of lesson 2.

Worked example: four fictional assets, three illustrative rates

The lab compares four made-up assets. The savings account pays only interest. The bond fund pays mostly interest with a little price growth. The dividend fund pays a solid dividend plus some growth. The growth fund pays a small dividend and relies mainly on price growth. All yields and growth rates are assumptions for the exercise.

AssetIncome yieldIncome typePrice growthPre-tax returnRate on incomeAfter-tax returnTax drag
Savings account3.80 %Interest0.00 %3.80 %30 %2.66 %1.14 pts
Bond fund4.60 %Interest0.40 %5.00 %30 %3.56 %1.44 pts
Dividend fund3.60 %Dividend4.00 %7.60 %20 %6.28 %1.32 pts
Growth fund0.90 %Dividend7.20 %8.10 %20 %6.84 %1.26 pts

Take the bond fund line by line. Its 4.60 % interest is taxed at 30 %, so you keep 4.60 % × 0.70 = 3.22 %. Its 0.40 % growth is taxed at 15 %, so you keep 0.40 % × 0.85 = 0.34 %. Together that is 3.56 % after tax, and 5.00 % − 3.56 % = 1.44 percentage points of tax drag. The growth fund has a higher pre-tax return and a lower tax drag (1.26 points), because most of its return is growth taxed at the lowest illustrative rate.

The Excel formulas, exactly as the lab uses them, with the rate table in B2:B4 and the first asset in row 7:

ColumnWhat it calculatesFormula in row 7 (copy down to row 10)
EPre-tax return=B7+D7
FTax rate on the income=IF(C7="Interest",$B$2,$B$3)
GAfter-tax return=B7*(1-F7)+D7*(1-$B$4)
HTax drag (percentage points)=E7-G7
B12Interest yield a bond needs to match the growth fund=G10/(1-B2) → 9.77 %

The last line is the eye-opener. Under these illustrative rates, the growth fund keeps 6.84 %. For an interest-paying asset to keep the same 6.84 % after a 30 % tax, it would need to yield 6.84 % ÷ 0.70 = 9.77 % before tax. That is not a statement about what any real bond or fund will do; it is a way to put two differently taxed returns on the same scale.

Pre-tax vs after-tax return (illustrative rates)Pre-tax returnAfter-tax return0%2%4%6%8%10%3.80%2.66%Savings account5.00%3.56%Bond fund7.60%6.28%Dividend fund8.10%6.84%Growth fund
Pre-tax and after-tax return for the four fictional assets at the lab's illustrative rates. The ranking stays the same here, but the gaps change: the savings account and bond fund lose the most in relative terms.

How to build it in Excel, step by step

The following steps reproduce the lab sheet from a blank workbook. They also work in Google Sheets with the same formulas.

  1. Create a new workbook with Ctrl+N. In A1 type Illustrative tax rates, and in A2:A4 the labels for interest, dividends and capital gains. Type 0.3, 0.2 and 0.15 in B2:B4.
  2. Select B2:B4 and press Ctrl+Shift+% to show percentages. Fill the cells with a light colour (Home > Font > Fill Color) so it is obvious they are assumptions you can change.
  3. In row 6 type the headers: Asset, Income yield, Income type, Price growth, Pre-tax return, Tax rate on income, After-tax return, Tax drag. Turn on Home > Alignment > Wrap Text for the header row.
  4. Enter the four assets in A7:A10, their income yields in B7:B10, the type "Interest" or "Dividend" in C7:C10 and the growth in D7:D10. For consistent spelling, add a drop-down: select C7:C10, then Data > Data Validation > Allow: List with the source Interest,Dividend.
  5. In E7 type =B7+D7.
  6. In F7 type =IF(C7="Interest",$B$2,$B$3). Press F4 while the cursor is on a reference to cycle it to $B$2; the dollar signs keep the rate cells fixed when you copy down.
  7. In G7 type =B7*(1-F7)+D7*(1-$B$4), and in H7 type =E7-G7.
  8. Select E7:H10 and press Ctrl+D to fill the formulas down to row 10. Format E7:H10 as percentages with two decimals.
  9. In B12 type =G10/(1-B2) to gross up the growth fund's after-tax return to the interest yield that would match it.
  10. Press Ctrl+` to show formulas and check that every row uses its own yield and the locked rate cells. Use Formulas > Formula Auditing > Trace Precedents on G10 if anything looks off.
  11. Chart it: select A6:A10, then hold Ctrl and select E6:E10 and G6:G10. Choose Insert > Charts > Clustered Column to compare pre-tax and after-tax returns side by side.
If you have more than two income types, swap the IF for a lookup table. Put the types and rates in a small table, for example K2:L5, and use =XLOOKUP(C7,$K$2:$K$5,$L$2:$L$5) or, in older Excel, =VLOOKUP(C7,$K$2:$L$5,2,FALSE). IFS also works: =IFS(C7="Interest",$B$2,C7="Dividend",$B$3).

Seeing where the return goes

A stacked view makes the mechanism visible. Each column below is one asset's pre-tax return, cut into three slices: income you keep, growth you keep and tax paid. Small slices, such as the bond fund's 0.34 % of growth kept, are present but too thin to label.

Where each asset's pre-tax return goes (illustrative)Income keptGrowth keptTax paid0%2%4%6%8%10%2.66%1.14%3.8% pre-taxSavings account3.22%1.44%5.0% pre-taxBond fund2.88%3.40%1.32%7.6% pre-taxDividend fund6.12%1.26%8.1% pre-taxGrowth fund
Each fictional asset's pre-tax return split into income kept, growth kept and tax paid at the illustrative rates. The more of the return comes from growth, the smaller the tax slice relative to the column.

Now compare the tax slice with the height of each column. The savings account loses 1.14 of its 3.80 points, which is 30 % of its return, simply because all of it is interest. The growth fund loses 1.26 of 8.10 points, about 15.6 %. In absolute points the drags look similar; as a share of what each asset earns before tax they are very different. To calculate the share in Excel, add a column with =H7/E7 and format it as a percentage.

Share of the pre-tax return lost to tax0%10%20%30%40%Savings account30.0%Bond fund28.8%Dividend fund17.4%Growth fund15.6%Tax drag ÷ pre-tax return. Illustrative rates: interest 30 %, dividends 20 %, gains 15 %.
The share of the pre-tax return that goes to tax depends on the mix of income and growth, not on the size of the return. At these illustrative rates, interest-heavy assets lose almost twice the share that growth-heavy assets lose.

This is the key idea the rest of the course builds on: the tax cost of an asset depends on how it produces its return. That is why the same fund can be costly in a taxable account and harmless in a tax-sheltered one, which is exactly the asset location question in lesson 4.

Changing the assumptions: a quick sensitivity check

Because the rates are illustrative, the most useful thing you can do with the finished sheet is change them and watch what happens. That is also the honest way to use any tax model: not to find "the" answer, but to see which assumptions the answer depends on. Here are four rate sets applied to the same four fictional assets. Only the rates in B2:B4 change; every formula stays the same.

Rate set (interest / dividends / gains)Savings accountBond fundDividend fundGrowth fund
Lab: 30 % / 20 % / 15 %2.66 %3.56 %6.28 %6.84 %
Dividends like interest: 30 % / 30 % / 15 %2.66 %3.56 %5.92 %6.75 %
No tax on gains: 30 % / 20 % / 0 %2.66 %3.62 %6.88 %7.92 %
One flat rate: 20 % / 20 % / 20 %3.04 %4.00 %6.08 %6.48 %

Three observations come straight out of the table. First, the savings account does not react to the dividend or gains rate at all, because all of its return is interest. Second, the growth fund reacts most to the gains rate: moving that single rate from 15 % to 0 % lifts it by more than a full point. Third, under one flat rate the differences between assets shrink to the differences in their pre-tax returns, because the split between income and growth no longer matters. In other words, the split you calculate in this lesson only matters to the extent that your own rules treat income and gains differently.

You can make this table automatically with Data > What-If Analysis > Scenario Manager: add one scenario per rate set with B2:B4 as the changing cells, then click Summary and choose G7:G10 as the result cells. Excel writes a new sheet with every scenario side by side. It is a good habit for any model built on assumptions you do not control.

Percentage points, percent and why the wording matters

Tax discussions mix two different units, and the lab keeps them apart on purpose. The tax drag in column H is in percentage points: the bond fund's return falls from 5.00 % to 3.56 %, a drag of 1.44 points. The share of the return lost is a percent of the return: 1.44 ÷ 5.00 = 28.8 %. Both are correct, they just answer different questions. The first tells you how much lower the yearly return is; the second tells you what fraction of the investment's earnings goes to tax. When you write up a comparison, say which one you mean, and when you read someone else's, check which one they used before you compare numbers.

Common mistakes and how to spot them

The lab's checker knows these mistakes and explains them. Here is how to catch them yourself in any spreadsheet.

  • Taxing the whole return at one rate. =E10*(1-B4) treats the dividend as a capital gain; =E10*(1-F10) treats the growth as income. Test: the after-tax return must lie between the pre-tax return × (1 − highest rate) and the pre-tax return × (1 − lowest rate).
  • Calculating the tax instead of what you keep. =B10*F10+D10*B4 is the tax paid, not the return. Test: after-tax return + tax paid must equal the pre-tax return.
  • Forgetting to lock the rate cells. =IF(C7="Interest",B2,B3) works in row 7 but points to B3 and B4 in row 8 after copying. Test: in formula view, every row should reference the same B2:B4.
  • Grossing up the wrong way. =G10*(1-B2) taxes an after-tax number a second time and gives a smaller number than G10. Test: a pre-tax equivalent must always be larger than the after-tax target.
  • Grossing up with the wrong rate. A bond pays interest, so divide by (1 − interest rate), not (1 − capital gains rate).
  • Mixing percentage points and percent. A drag of 1.44 points on a 5.00 % return is a 28.8 % loss of the return. Label which one you mean.
  • Treating illustrative rates as facts. The 30/20/15 rates are teaching assumptions. Before you use a model like this for real decisions, replace them with the rules that apply to you.

A picture of the topic

Behind every after-tax comparison sits the same small table of rates and the same split of each return into income and growth.

Tax forms, calculator and investment statements on a desk, illustrating after-tax investment returns
Splitting a return into income and growth is the first step of every after-tax comparison in this course.

Quick reference: functions and shortcuts used

The full lab needs only a handful of tools.

Function or shortcutWhat it does hereExample
IFPicks the rate that matches the income type=IF(C7="Interest",$B$2,$B$3)
IFSSame, for several conditions=IFS(C7="Interest",$B$2,C7="Dividend",$B$3)
XLOOKUP / VLOOKUPLooks up a rate in a rate table=XLOOKUP(C7,$K$2:$K$5,$L$2:$L$5)
(1-rate)The share you keep after tax=B7*(1-F7)+D7*(1-$B$4)
/(1-rate)Grosses up an after-tax number=G10/(1-B2)
F4Toggles absolute references ($)$B$2
Ctrl+DFills formulas downE7:H10
Ctrl+Shift+%Percentage formatB2:B4, E7:H10
Ctrl+`Shows formulas instead of valuesaudit the whole sheet
Data ValidationDrop-down list for the income typeData > Data Validation > List

Real-world uses

The split-and-tax method applies wherever returns come in different forms.

  • Comparing a savings account with a fund. An interest rate and a fund's total return are not directly comparable once tax is involved. Converting both to an after-tax figure under your own rules puts them on one scale.
  • Reading fund fact sheets. A fact sheet often shows the distribution yield and the total return. The difference is roughly the growth part, which tells you how much of the return is income and how it might be taxed.
  • Bond and deposit comparisons. The gross-up formula is the classic tax-equivalent yield used to compare taxed and untaxed interest, for example when some interest is tax-exempt under local rules.
  • Financial planning exercises. Students and trainees use exactly this table to show why advice always starts from a client's tax position rather than from headline returns.
  • Personal budgeting models. If a spreadsheet projects savings growth, putting after-tax rather than pre-tax returns into it keeps the projection from looking better than the arithmetic allows.

What you will build in the rest of this course

Lesson 1 is free. The lessons below form the paid course (USD 9.90, one-time). Each has its own lab with fictional numbers, step-by-step tasks and an automatic checker.

Tax Drag over Time: Taxed Every Year vs Tax Deferred. You grow the same 50,000 for 30 years twice, once with tax taken every year and once with the tax deferred to the end, chart both paths and turn the gap into an equivalent annual return. It shows how the simplification in this lesson understates the value of deferral.

Taxable vs Tax-Deferred vs Tax-Free Accounts. You follow the same 10,000 of pre-tax earnings through three account types and find the conditions under which deferring tax beats paying it today, and when it does not.

Asset Location: Which Fund Goes in Which Account. You score three funds by how much a tax-free account adds to each dollar over 20 years, rank them and measure what putting them in the right place is worth on a fictional 150,000 portfolio.

Tax-Loss Harvesting: Offsets, Limits & Carry-Forward. You find the losses in a five-fund portfolio, offset them against the year's gains, apply part of the rest under an illustrative limit and carry the remainder forward, then price the tax effect.

Capital Gains & Lot Selection: FIFO vs Highest-Cost Lots. You sell 300 shares out of four purchase lots in two different orders and measure how the choice of lots changes the taxable gain.

Withdrawal Order in Retirement: Taxable First vs Deferred First. You fund ten years of spending from two account types in two orders and compare the after-tax wealth that remains under the course's fictional assumptions.

Dividend vs Buyback: The After-Tax Comparison. You compare a cash dividend with a buyback of the same size, where you sell shares to raise the same cash, and see why the tax treatment of the two can differ.

Summary

A pre-tax return is a starting point, not an answer. Split each return into income and growth, tax each part at its own rate with =income*(1-income rate)+growth*(1-gains rate), and measure the tax drag as pre-tax minus after-tax. To compare a fully taxed yield with a more tax-efficient return, gross the target up with =target/(1-rate). With the lab's illustrative rates, that is how a growth fund keeping 6.84 % translates into a 9.77 % interest yield.

Scroll up and try the lab now: pick the right rate with IF, calculate the after-tax return and the drag for all four assets, and gross up the growth fund in B12. Then change the illustrative rates in B2:B4 and watch the drags move. Remember that the numbers are fictional and the method is the lesson; it is not tax or investment advice.

Frequently asked questions

What is the difference between pre-tax and after-tax return?

The pre-tax return is what an investment earns before any tax. The after-tax return is what you keep once interest, dividends and capital gains are taxed under the rules that apply to you.

How do I calculate after-tax return in Excel?

Split the return into income and growth and tax each at its own rate: =income*(1-income_rate)+growth*(1-gains_rate). In the lab that is =B7*(1-F7)+D7*(1-$B$4).

What is tax drag?

Tax drag is the part of a return lost to tax, usually shown in percentage points as pre-tax return minus after-tax return. Dividing it by the pre-tax return shows the share of the return lost.

What is a tax-equivalent yield?

It is the pre-tax yield a taxed investment needs to match an after-tax target. Calculate it as target ÷ (1 − tax rate), for example =G10/(1-B2).

Why can interest be less tax-efficient than capital gains?

In many tax systems interest is taxed at a higher rate than gains, and gains may only be taxed when you sell. Check your own country's rules, because they vary and change over time.

Are the tax rates in this lesson real?

No. The 30 %, 20 % and 15 % rates are illustrative teaching assumptions, not the rates of any country. The lesson is educational only and is not tax or investment advice.

Keep going: Tax-Efficient Investing Math: After-Tax Returns, Asset Location & Loss Harvesting

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. Tax Drag over Time: Taxed Every Year vs Tax Deferred
  2. Taxable vs Tax-Deferred vs Tax-Free Accounts
  3. Asset Location: Which Fund Goes in Which Account
  4. Tax-Loss Harvesting: Offsets, Limits & Carry-Forward
  5. Capital Gains & Lot Selection: FIFO vs Highest-Cost Lots
  6. Withdrawal Order in Retirement: Taxable First vs Deferred First
  7. Dividend vs Buyback: The After-Tax Comparison
  8. Holding Periods: Short-Term vs Long-Term Gain Rates
  9. Cost Basis with Reinvested Dividends & Average Cost
  10. Buying Before a Fund Payout: Tax on Your Own Money
  11. Fund Turnover & the Tax-Cost Ratio
  12. Foreign Withholding Tax: Credits & Which Account
  13. Loss Carry-Forward over Six Years
  14. Is Harvesting Worth It? Basis Reset & Deferral Value
  15. Tax Brackets: Marginal vs Average Rate
  16. Gain Harvesting: Filling a 0 % Band
  17. Filling Low Brackets: Converting Deferred to Tax-Free
  18. Tax-Aware Rebalancing across Accounts
  19. Final Project: Household After-Tax Dashboard

Buy course — $9.90 See the full course