by UltraSane · 12mo ago · 0 comments
The capital gain is simply the sale price minus the cost basis, which might be a loss.
So if you've paid unrealized capital gains taxes along the way, you either get credit for those taxes already paid (and possibly get a refund if you've overpaid) or they're simply added to the cost basis.