Earlier quoted context omitted.
The determination of whether to buy the house is based on the calculated rate of return. So even if you make a profit, if the time horizon is large you’d be better off investing that money in stocks. The UI doesn’t make that clear enough.
> The determination of whether to buy the house is based on the calculated rate of return. So even if you make a profit, if the time horizon is large you’d be better off investing that money in stocks. Can you give a more detailed example? What time horizon are you picturing? After you pay off the house you lose the leverage advantage of returns on selling a house you bought with a mortgage vs selling stocks, but you…
Also most people don't buy a house for life, and if you sell the house through a realtor they get 6% or so of the proceeds.
This isn't something you can just logic an answer for without running it through a rent vs buy calculator, but investment expert and author William Bernstein suggests a rule of thumb that you should not spend more than fifteen years of market rent on a house purchase. In other words you can look up what the house you are considering buying would cost to rent, and as a rule of thumb if the sale price is more than 15 years of rent it's a bad deal. This is obviously an imprecise rule of thumb since it doesn't account for variations in real estate tax per region, but it's a starting point if you don't have a good rent vs buy calculator.