How this rent-vs-buy comparison works
The slogan “the mortgage is less than rent” ignores the down payment that could have stayed invested, maintenance, property tax, insurance, HOA, and selling costs that often run about 6–10% of price. Renting has annual increases and no equity. This model nets those cash flows over the years you say you will stay, then assumes you sell the house at the end.
Short stays often favor renting because closing costs and commissions do not have time to be earned back. Long stays can favor buying if the home actually appreciates and you would have paid rising rent anyway. Appreciation is an assumption you type, not a forecast. A flat or falling market can flip the result even if you “love the house.”
Use mortgage PITI to sanity-check the owner payment, then read the rent-or-buy guide for the stay-length argument in more depth. This page is a planning sketch, not a reason to skip a home inspection or a lease you can afford.