Hello,
You can calculate your capital gains by the following:
Total proceeds - Adjusted Cost Base (ACB)
Generally you are taxed on 50% of the capital gains you receive. You can find more information here:
https://www.canada.ca/en/revenue-agency/services/tax/individuals/topics/about-your-tax-return/tax-return/completing-a-tax-return/personal-income/line-12700-capital-gains/you-calculate-your-capital-gain-loss.html
Hope this helps!