How much of a stock or RSU sale do you keep after capital gains tax?
Estimate net cash kept after selling non-registered stocks, ETFs, real estate, or vested RSUs above your adjusted cost basis (ACB) in Canada or the United States.
Tech FIRE Planner Model post-vest RSU diversification, taxable brokerage growth, and single-stock drawdown limits.
Get it · $19.00For education only — not financial, tax, or legal advice. Everything runs in your browser; nothing you type is sent anywhere. Results are simplified estimates, not predictions.
How this calculator works
Capital Gain equals MAX(0, Sale Proceeds − Adjusted Cost Basis). For employee RSUs, your cost basis is normally the fair market value already taxed as employment income on the vest date — meaning selling immediately at vest usually creates negligible capital gain.
Canada: Multiply the gain by your applicable inclusion rate (50% standard, or adjust if modeling higher tiers) and multiply by your combined federal + provincial marginal income tax rate.
United States: Shares held over 1 year generally qualify for federal Long-Term Capital Gains rates (0%, 15%, or 20%, plus 3.8% NIIT above thresholds and applicable state tax); shares held ≤1 year use ordinary income rates.
Minimize capital gains drag, wash sales & cross-border tax surprises
Chapters 16–17 walk through lot-level specific identification, 1,500-path tax-loss harvesting, US wash sales vs. Canadian superficial losses, and ESPP basis traps.
Instant PDF + Kindle EPUB delivery · Use code ENGINEER10 at checkout for 10% off.
Common questions.
Why doesn't selling RSUs right when they vest trigger a big capital gain?
RSUs are taxed as ordinary employment income when the shares settle/vest. That taxed vest-date value becomes your new cost basis (ACB), so selling immediately only triggers capital gain/loss on the small price movement between vest and sale.
How does Canadian ACB differ from US FIFO/specific-lot basis?
Canada requires calculating a weighted-average Adjusted Cost Base (ACB) across identical shares held in all non-registered accounts, and also enforces superficial loss rules within 30 days. US taxpayers can often select specific tax lots (FIFO/LIFO/Highest-Cost).
Are capital gains taxed inside a TFSA, RRSP, 401(k), or Roth IRA?
No — buying and selling inside registered/tax-advantaged retirement accounts does not trigger annual capital gains tax.
Kits that make the most of your numbers.
Instant PDF, Kindle EPUB, and Excel/Sheets downloads — enter code ENGINEER10 at checkout for 10% off.
View all
The Compounding Loop — Software Engineer Personal Finance Book (PDF + EPUB)
Most personal finance advice wasn't written for equity-heavy compensation, Mega Backdoor Roth pipelines, startup ISO AMT...
The Complete Loop Bundle (All 7 Kits)
Get every career, equity, and Canadian/US investing kit from PracticeLoop in one instant download — from...
Canadian & US Investor Spreadsheet Pack
Turn PracticeLoop's most popular Canadian and US investing calculators into a single editable 6-tab Excel &...