Hi,
There is a capital gains calculator at:
Tax when you sell property, which will put the capital allowances in the correct place to calculate the gain, as well as the private residence relief due. Capital allowances are deducted before working out the private residence relief on the gain.
Thank you.