 generated a capital gain it is going to be taxed at either 0 15 or 20 percent based on your household income where you fall there and if you are in that 20 percent group then you also are lucky enough to pay the net investment income tax of 3.8 percent so