When selling your stocks, the difference between the selling price and the stock basis determines the amount of capital gain/loss.
Check the link below for information on how to get your stock basis:
How do I find a stock's cost basis?
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"