<prompt> Human: Bought around 6,000 of apple stock, sold 2K this year. I make 57,000 dollars a year currently, i take 0 withholdings on my taxes usually.  <response>: Capital gains are based on the difference between buying price and selling price. So what you need to find out is how many shares you sold for 2,000 and then how much was each share when you bought it.Edit: Also, when did you buy the stock and when did you sell it. Long term capital gains get the more favorable capital gains tax rate. Short term capital gains are subject to regular income taxes. 