A CPA chiming in here…
If you use your current home as a “primary residence” for 2 of the previous 5 years, you get an exclusion on your capital gain of $250,000 for single filers and $500,000 for MFJ for selling your “primary residence”.
If you can pull out your crystal ball…you may pay less in taxes if you stay there for 2 years…and the housing market stays hot.
(For most taxpayers: your gain = selling price - what you paid for it - “selling expenses”. The biggest selling expense is commissions paid to real estate agents, but can also include most closing costs that happen because you sold the property. Also, inherited and gift properties have different basis CYA, consult your tax preparer!)