A full lifetime comparison including appreciation, equity build, selling costs, and the opportunity cost of investing your down payment instead.
Assumes a 30-year fixed mortgage, 7% combined selling costs, and a 5% investment return on the down payment if renting. Tax benefits from mortgage interest deduction are not included — they reduce net buy cost further for itemizing buyers.