The easiest way to see if you should rent or buy is to use the New York Times’s excellent online calculator “Is It Better to Rent or Buy?” It will factor in maintenance, renovations, capital gains, the costs of buying and selling, inflation, and more.

