I have sold some stock that was given as a gift and need to determine the capital gains. How do I calculate the capital gain?