Hi
A capital gain is calculated with the acquisition costs deducted from the disposal value. The methods used to acquire the property, such as BTL mortgage or releasing equity does not affect the capital gains calculation.
Please have a look at the guidance on calculating private residence relief at HS283 (
HS283 Private Residence Relief (2024)).
There is a capital gains tax calculator at
Tax when you sell property, to help you work out your gain.
You can also register, report and pay capital gains tax from
What you pay it on.
Thank you