---
title: "After-Tax Tracking Error: Formula"
description: "After-tax tracking error measures variability of a portfolio's after-tax active return relative to an after-tax benchmark. Learn the formula, worked example."
canonical: https://www.getswoopr.com/learn/taxes-and-rules/after-tax-tracking-error/
source: "Swoopr Investment: https://www.getswoopr.com"
---

## Direct Answer



> **Direct answer:** After-tax tracking error is a methodology for measuring how variable a portfolio's **after-tax active return** is relative to an after-tax benchmark or baseline. A practical realized formula is the standard deviation of periodic differences between the portfolio's after-tax return and the benchmark's after-tax return. Unlike ordinary tracking error, the calculation treats realized taxes and tax-management choices as part of the return path. There is no single mandatory industry convention, so the benchmark, tax assumptions, return frequency, liquidation assumptions, and tax-lot methodology must be disclosed.





      

# After-Tax Tracking Error: Measuring Tax-Aware Drift From a Benchmark



After-tax tracking error is the standard deviation of periodic differences between a portfolio's after-tax return and an after-tax benchmark's return. It measures how variable the portfolio's tax-adjusted active return was over time. There is no single mandatory industry convention, so the benchmark, tax assumptions, return frequency, liquidation methodology, and tax-lot approach must be disclosed for any after-tax tracking-error figure to be meaningful.





      







## Why Ordinary Tracking Error Is Not Enough



Traditional tracking error measures how much a portfolio's return deviates from a benchmark. That is useful for an index fund or active portfolio.



Tax-aware investing creates another layer. A manager might deliberately:



- sell a security at a loss;
- buy a substitute;
- avoid realizing a gain;
- transition gradually from a concentrated position;
- rebalance with cash rather than sales;
- hold a security longer for tax reasons.



Those decisions can change both the tax outcome and the pre-tax portfolio exposure. A direct-indexing strategy can therefore create tax value while also creating benchmark drift.



Measuring only tax savings ignores the investment side of the trade-off. Measuring only pre-tax tracking error ignores whether the deviation created after-tax value. After-tax tracking error is intended to put those effects into the same measurement frame.








## Formula



For periods *t* = 1, 2, …, *n*:



**Active after-tax returnt = Portfolio after-tax returnt − Benchmark after-tax returnt**



Then:



**After-tax tracking error = sample standard deviation of active after-tax returns**



If annualizing monthly data:



**Annualized after-tax tracking error ≈ monthly standard deviation × √12**



If annualizing daily data:



**Annualized after-tax tracking error ≈ daily standard deviation × √N**



where *N* should match the chosen trading-day convention and methodology. Annualization assumes the periodic active-return process is sufficiently comparable across time for square-root-of-time scaling to be meaningful. That assumption should not be hidden.








## Worked Example



Example scenario, for education only.



Assume a tax-aware portfolio and an after-tax benchmark produce these monthly returns:



| Month | Portfolio after-tax | Benchmark after-tax | Active after-tax |
| --- | --- | --- | --- |
| 1 | 1.20% | 1.10% | +0.10% |
| 2 | −2.00% | −1.80% | −0.20% |
| 3 | 0.80% | 0.75% | +0.05% |
| 4 | 1.40% | 1.25% | +0.15% |
| 5 | −0.30% | −0.20% | −0.10% |
| 6 | 0.90% | 0.85% | +0.05% |



Calculate the sample standard deviation of the six active-after-tax returns. If that monthly standard deviation were 0.13%, a simple annualized estimate would be:



**0.13% × √12 ≈ 0.45%**



That means the portfolio's after-tax active-return difference varied around its average at an annualized rate of roughly 0.45% under the methodology. It does **not** mean the portfolio lost 0.45%, earned 0.45%, or created 0.45% tax alpha. Tracking error measures variability, not direction.








## Tax Alpha and After-Tax Tracking Error



[Tax alpha](https://www.getswoopr.com/learn/taxes-and-rules/tax-alpha/) asks: Did tax-aware implementation improve after-tax results relative to a baseline?



After-tax tracking error asks: How variable was the after-tax active-return path relative to that baseline?



A strategy could show:



- high modeled tax alpha and high tracking error;
- modest tax alpha and very low tracking error;
- negative tax alpha and low tracking error;
- positive pre-tax alpha but negative tax value.



Neither metric replaces the other. A useful tax-aware scorecard reports: pre-tax active return, after-tax active return, tax alpha methodology, pre-tax tracking error, after-tax tracking error, realized losses, embedded gains, fees, and trading costs.








## Benchmark Choice



The benchmark should represent the investment exposure the strategy is trying to preserve. For direct indexing, a broad-market index may be the economic target, but a proper **after-tax** benchmark also needs tax assumptions. Key questions:



- Does the benchmark realize gains?
- How are dividends taxed?
- Is the benchmark assumed to be an ETF?
- Is it fully liquidated at the end?
- Are external cash flows included?
- Are fees included?
- Is the same tax rate applied to both portfolio and benchmark?
- Is the benchmark rebalanced?



If the portfolio is compared with a tax-free theoretical index while the strategy is measured after tax, the result is not meaningful.








## Realized vs. Hypothetical After-Tax Return



A portfolio's tax outcome can be measured in several ways.



### Realized-tax method



Subtract taxes associated with realized taxable events during the period. This is closer to actual current-year cash tax, but ignores tax embedded in unrealized gains.



### Liquidation method



Assume the portfolio is liquidated at each measurement point and estimate taxes on unrealized gains and losses. This includes the embedded tax liability but can penalize valuable deferral.



### Present-value method



Model future tax liabilities and discount them. This captures the economic value of deferral more explicitly but is assumption-heavy. Any comparison should label which method was used.








## Tax-Lot Selection



Two accounts holding the same securities can have different after-tax outcomes because their tax lots differ. If one account sells high-basis shares and the other sells low-basis shares, realized tax can differ without changing the security-level holdings much. An after-tax benchmark therefore cannot be fully specified by ticker weights alone. Tax-lot history matters.



For educational measurement, tracking error can be calculated from periodic after-tax returns directly rather than reconstructing every investor's tax lots from market returns.








## Tracking Error vs. Tracking Difference



Tracking difference is the average or cumulative return gap. Tracking error is the variability of that gap.



Example: Portfolio A underperforms its benchmark by exactly 0.20% every year. Its tracking difference is −0.20% per year, but its tracking error is approximately zero because the gap is constant.



Portfolio B alternates +1.0%, −1.4%, +0.8%, −1.2%. Its average gap might also be negative, but tracking error is much larger. Tax-aware investors need both: how far the result ended up from benchmark, and how unstable the path was.








## Ex Ante vs. Ex Post Tracking Error



### Ex post



Calculated from realized historical returns. This is what the simple formula on this page describes.



### Ex ante



Estimated using a risk model, factor exposures, covariance assumptions, tax constraints, and proposed trades. A tax-aware optimizer may impose a maximum forecast tracking-error budget while searching for harvesting opportunities. Ex ante models can be useful, but their output depends on the model. A forecast value must not be labeled as if it were observed history.








## Why Tax-Loss Harvesting Creates Tracking Risk



When a manager sells Stock A to harvest a loss and buys Stock B as a substitute, even securities in the same industry are not identical. They may have different earnings, beta, factor exposures, company events, dividends, and idiosyncratic risk. The replacement can outperform or underperform.



At the portfolio level, hundreds of small substitutions can create measurable drift. The goal is not necessarily zero tracking error. The goal is to understand the trade-off between tax opportunity and exposure fidelity.








## Common Mistakes





Using a pre-tax benchmark return


If portfolio return is after tax, benchmark return should use a compatible after-tax methodology.



Calling average active return "tracking error"


Tracking error is a standard deviation, not the mean difference. That is tracking difference.



Ignoring return frequency


Daily, monthly, and quarterly data can produce different estimates. State the frequency.



Hiding annualization assumptions


State the scaling convention explicitly. Annualizing daily data using 250 vs. 252 trading days changes the result.



Ignoring terminal taxes


If one strategy holds much larger embedded gains, a current-year realized-tax method can overstate its advantage.



Combining investors


Tax assumptions are investor-specific. A pooled average can hide meaningful differences in rates, carryforwards, and timing.









## Frequently Asked Questions





Is after-tax tracking error an SEC-defined metric?


No universal SEC-defined formula governs this general educational use. There is no single mandatory industry convention, so the benchmark, tax assumptions, return frequency, liquidation assumptions, and tax-lot methodology must be disclosed.







Is lower after-tax tracking error always better?


Not necessarily. Lower tracking error means the portfolio's after-tax active-return path stayed close to the benchmark, but a tax-aware strategy may deliberately accept some drift to create tax value.







Can after-tax tracking error be negative?


No. Standard deviation is nonnegative. Tracking difference can be positive or negative; tracking error measures variability of that gap, not its direction.







Does after-tax tracking error measure tax savings?


No. It measures variability of after-tax active return. Tax alpha or tax-value attribution addresses the benefit side.







How does after-tax tracking error relate to tax alpha?


Tax alpha asks whether tax-aware implementation improved after-tax results. After-tax tracking error asks how variable the after-tax active-return path was. Both metrics belong in a complete tax-aware performance scorecard.







Why is tax-loss harvesting a source of tracking risk?


When a manager sells a security to harvest a loss and buys a substitute, the substitute may have different earnings, beta, factor exposures, and dividends. At a portfolio level, hundreds of small substitutions can create measurable drift from the benchmark.










## Try the After-Tax Tracking Error Calculator



The [After-Tax Tracking Error Calculator](https://www.getswoopr.com/tools/after-tax-tracking-error-calculator/) takes two equal-length series of periodic after-tax returns and shows the active returns, the tracking difference, and the periodic and annualized tracking error, with the square-root-of-time convention stated. To size the dollar effect of a tax-aware strategy against a baseline, use the [Tax Alpha Scenario Calculator](https://www.getswoopr.com/tools/tax-alpha-calculator/).








## References



- [IRS: Publication 550, Investment Income and Expenses](https://www.irs.gov/publications/p550)
- [IRS: Topic No. 409, Capital Gains and Losses](https://www.irs.gov/taxtopics/tc409)
- [Swoopr Investment: Tax Alpha: What It Measures, What It Misses](https://www.getswoopr.com/learn/taxes-and-rules/tax-alpha/)
- [Swoopr Investment: Tax-Loss Harvesting: Rules & Limits](https://www.getswoopr.com/learn/taxes-and-rules/stock-investment-taxes/tax-loss-harvesting-stocks/)






*This page presents a measurement framework, not a universal industry standard or personalized tax method. Document assumptions before comparing products or managers. A tax professional should evaluate material personal tax decisions.*











**[Swoopr Editorial Team](https://www.getswoopr.com/authors/swoopr-editorial-team/)**



The Swoopr Editorial Team produces independent investment education, research frameworks, and analytical tools for investors at every experience level. Our content is reviewed for accuracy, sourced to primary materials, and written to inform rather than advise. See our [editorial policy](https://www.getswoopr.com/legal/editorial-policy/) and [corrections policy](https://www.getswoopr.com/legal/corrections-policy/).
