Compare what you could keep from selling with the cost of your next move. Every number is your assumption, not a valuation or a recommendation.
Capital gains may apply. The primary-residence exclusion may cover some or all of a gain depending on eligibility, ownership, use and other tax rules. Consult a tax professional. These estimates are not financial, tax or legal advice.