Après-Tax

Work the numbers.

A calculator for the arithmetic of after-tax return.

10 worked lessons. Enter your own figures and watch the arithmetic.

  1. 01Time-weighted return
  2. 02After-tax time-weighted return
  3. 03Pre- vs post-liquidation
  4. 04aTax rate arbitrage: the long side
  5. 04bTax rate arbitrage: the short side
  6. 04cTax rate arbitrage: every case
  7. 05Tax alpha
  8. 06Tax alpha by taxpayer
  9. 07Wash sale basis adjustment
  10. 08Long/short: both sides of the book

Educational illustration of a mechanism. Hypothetical model output, not advice, and not a record of any actual result.

Lesson 01

Time-weighted return

Time-weighted
+20.0%
Money-weighted
+20.0%
Examples
$300k$0$100k365d+20.0%+20.0%

Time-weighted strips out deposit and withdrawal timing; money-weighted keeps it, grading the cash-flow decisions too.

Lesson 02

After-tax time-weighted return

Time-weighted
Pre-tax
+25.0%
After-tax
+25.0%
Money-weighted
Pre-tax
+25.0%
After-tax
+25.0%
Examples
$300k$0$100k1095dpre +25.0%after-tax +25.0%

Interest at the ordinary rate; qualified dividends and realized gains at the long-term rate. Simplified: gains and losses net across the window, not by tax year.

Lesson 03

Pre- vs post-liquidation

Pre-liquidation
+0.0%
Post-liquidation
+0.0%
Examples
$300k$0$100k10y+0.0%+0.0%

Nothing is realized during the hold, so pre-liquidation equals the gross return. The year-10 sale taxes the embedded gain at the 24% long-term rate, the correct character for a decade-long hold.

Lesson 04a

Tax rate arbitrage: the long side

1 · Harvest
Short-term
Saved now
$12,240
sheltered value now · 40.8%
2 · Offset
what absorbs the loss
Kept for good
$5,100
the rate gap, which never comes back
3 · Close
Long-term
Repaid later
-$7,140
basis reset tax at sale · 23.8%
40.8%
23.8%
Positive Arbitrage (+17.0%)
$100kcost basisHarvest $30k lossSell · $60k gainBuy6 monthsYear 2

Harvesting lowers cost basis, so assuming prices appreciate, the gain at sale is bigger by exactly the loss taken. What that loss is worth is set by the net gain it absorbs, not by its own character: a short-term loss meeting only long-term gains is used at the long-term rate. The gap is that rate less the rate paid at sale, so the long side runs from a wash up to the full spread, and never below one.

Lesson 04b

Tax rate arbitrage: the short side

1 · Harvest
Short-term
pinned by §1.1233-1
Saved now
$12,240
short-term loss offset · 40.8%
2 · Offset
what absorbs the loss
Kept for good
$0
the rate gap, which never comes back
3 · Close
Short-term
pinned by §1.1233-1
Repaid later
-$12,240
basis reset tax at cover · 40.8%
40.8%
40.8%
Tax Wash (Neutral)
cost to cover$0-$100kproceedsHarvest $30k lossCover · $60k gainShort6 monthsYear 2

Covering at a loss and re-shorting higher raises proceeds, so assuming prices fall, the gain at the final cover is bigger. A short’s gain is always short-term (26 CFR §1.1233-1(a)(3)). An investor pays at the short-term rate no matter what the loss offsets. At best there is no gap to keep, and offsetting long-term gains makes it negative.

Lesson 04c

Tax rate arbitrage: every case

Loss absorbed by
the net gain standing when the loss arrives, plus $3,000 of ordinary income
Basis-reset gain repaid as
how the position is finally disposed of
Positive ArbitrageShelter high, repay low
SHELTERED ATREPAID AThigher rate is higher uppositive arbitrageNet short-term+ $3,000 ordinaryNet long-termNo net gainsShort-termLong-termNever
Every combination
Loss absorbed byRepaid short-termRepaid long-termRepaid never
Net short-termwashpositivepositive
Net long-termnegativewashpositive
No net gainseventualeventualeventual

A loss is worth the rate of whatever absorbs it, not the rate its own character implies. Netting under 26 U.S.C. §1222 is mandatory and ordered: short-term meets short-term first, long-term meets long-term first, and only the two survivors are crossed, so a harvested loss never meets a gross gain. With no net gains left, §1211(b) allows only $3,000 a year against ordinary income and the remainder carries forward with its character intact. “Never” is a basis step-up at death (§1014) or a gift of the appreciated position to charity (§170).

Lesson 05

Tax alpha

Tax alpha
+0.0%
per year, after-tax
The sleeve +5.0%
Index shadow +5.0%
Examples
$175k$0

Measured pre-liquidation: the sleeve pays tax on its deferred gain only at sale (Lesson 03).

Lesson 06

Tax alpha by taxpayer

Same scenario, different tax alpha depending on persona
$175k$0gain +$18kharvest +$30kgain +$12k
PersonaTax alpha
Low bracket
Low bracket · No gains to offset · No-tax state
+0.0%
Mass-affluent
Moderate bracket · Long-term gains · No-tax state
+0.9%
Active trader
Top bracket · Short-term gains · No-tax state
+1.9%
Californian
Top bracket · Short-term gains · California
+2.7%

A harvested loss is worth the rate of the gain it offsets: nothing, long-term, or short-term, plus state. 2025 rates, single filer.

Lesson 07

Wash sale basis adjustment

Wash sale status
Repurchase Account
Disallowed Loss
Basis Adj. Up.
Saved now
$0
washed / disallowed
Net benefit
$0
zero arbitrage value
Repaid later
$0
basis kept high
$100kBasis stays $100ktacks (§1223)Washed $30k lossSell · $30k gainBuy6 monthsYear 2

Wash Sale: Repurchasing substantially identical securities within 30 days of sale disallows the loss today but adds it to the replacement cost basis, keeping the basis at $100,000 and avoiding extra tax at sale. The holding period tacks (IRC §1223).

Next · deep dive

Long/short: both sides of the book

Two kinds of tax lot, above and below the line.

Open