Thank you for your question..
Please advise when you bought the property and for how long it was a let property.
Thank you for your reply and for additional information..
Capital gain is the difference between the net proceeds from sale and the cost price when bought. You can offset the costs associated with buying and selling the property against the gain. Your gain will not be calculated from 6 Apr 2015.
You would get private residence relief for all period the property was your main residence (including some period between 2005 and 2008).
as it has been your main residence at some point during period of ownership, you would also be able to claim letting relief for period let (maximum relief is £40,000).
More information on what reliefs and allowances are available is covered in HS283 here
I hope this is helpful and answers your question.
If you have any other questions, please ask me before you rate my service – I’ll be happy to respond.