Any gain or loss from selling of capital assets. The gain or loss is the difference between the net selling price and cost basis. The two types of capital gains or losses for tax purposes are long term and short term. Capital gains are net after all costs have been deducted. Capital gains and losses are reported on schedule D of IRS form 1040. They include sales of real estate.