I would like to sell a rental property which was my primary residence from 1 September 2007 -30 June 2012. It has been rented out from 1 July 2012 till the date of sale? December 2015. This means it was my primary residence for 5 out of 8 years. Is the capital gains calculated for the 3/8 years ie: 37,5%?