Hi Fraser Scott,
HMRC does not provide a calculator for working out capital gains tax arising from shares or other assets that are not residential property. There may be commercial calculators on the internet, you could use at your own risk.
If you find you have a capital gains tax to pay from the disposal of shares, you can report and pay the tax using the raltime capital gains tax service at
Report and pay your Capital Gains Tax-to-report. You have until 31 December after the tax year ends to do this. After this, you must complete a self assessment tax return.
Thank you.