It's complicated, and there isn't enough information given to work out how much the capital gain you achieved during critical periods.
For example, the final 36 months prior to selling are always exempt from CGT because you can claim Private Residence Relief, even if you had the property rented out in that period. You can immediately see that the timings when you had tenants in and when you didn't is going to be important in the calculation.
I suggest you peruse these 2 pages from HMRC which will help you understand it better.
http://www.hmrc.gov.uk/cgt/property/reliefs.ht m
http://www.hmrc.gov.uk/cgt/property/sell-own-h ome.htm