I have a condo that has been rented out for 4 years. I originally lived in the condo for 3 years. I now want to move back in for 2 years to make it my primary residence and then sell under the capital gains exclusion. All transactions were post 2009 rule changes.
From what I can understand, 5/9 of my gain would still fall under the 500k capital gains exclusion. Is this correct?
If so, let's say my total gain (after depreciation is accounted for) is 1M. If I multiply my gain by the non-residence factor it appears that my exclusion would still be well above the 500k limit for married couples.
Obviously this example is much simpler than it actually is, but I just want to make sure that I have the basics correct and that I am not missing anything significant.
Thanks in advance for any insight.