Does anyone know, when calculating capital gains on an investment wether you deduct the original investment amount from the total and then calculate capital gains on just profit?