There are many factors that play into decisions on renting or buying. This is far and away the best tool I have found for this type of decision.

 http://www.nytimes.com/2007/04/10/business/2007_BUYRENT_GRAPHIC.html#