It's just the gains but you could, in worst case scenarios, actually get taxed to past zero.
You invest in a security, $100k. It skyrockets 300% one year. You think it's going to continue to go up, so you only sell what you have to in order to cover your unrealized gains tax. It craters the...