When you sell your home (your primary residence), it’s a tax-free sale, so the profit’s all yours.