Buying a home is a major purchase, and for some it’s not always the best deal.

The New York Times has a calculator to help you with that decision.

The calculator has more options and includes average maintenance and fees along with opportunity costs.

Is It Better to Rent or Buy?| The New York Times viaMyMoneyBlog