Tax on selling primary home in June 2023 when sold another primary home in April 2021
Situation - Had primary home for 7 years (Stayed and owned for 7 years) and then sold in April 2021. Got some gains and those gains were excluded because it was primary home.
Bought new home in May 2021. Owning and staying in new home since May 2021.
Now if we decide to sell this new home in June 2023, Do we have to pay capital gain tax? We stayed /owned in new home for 25 months already.
I am confused about 2 out of 5 years staying/owning in primary home.