Back to Calculator

Created by Garrett Edel

About

If you've ever gotten into a conversation about when it makes sense to buy a home, you'll often run across a few 'common sense' maxims -- 'when you have a mortage you're paying yourself instead of your landlord,' 'buying is cheaper than renting,' and 'a home is a great investment.' Certainly, there are conditions where all of these are true. But, just as certainly, there are conditions where none of these are true!

The goal then is to help everyone from the prospective home buyer in making an informed purchase to the friends at a bar re-hasing the endless rent v. buy debate.

If you have any suggestions, comments, or questions, feel free to shoot me a note at edelgm6@gmail.com

Also feel free to check out the Github repo.

Cheers,

Garrett
LinkedIn

Methodology

Introduction

Anyone who has bought and sold a house has two numbers ingrained in their mind: what they bought it for and what they sold it for. Those are important! But what about everything in between? The property taxes you pay, the tax breaks you get, the rent you don't have to pay, the interest you pay, the down payment, etc. all play an important role in understanding the returns. We'll walk through three components:

  • Calculating Returns
  • Buying and Selling
  • Owning

Calculating Returns

In calculating the return on investment from buying a house, you can't just consider what you bought and sold it for, you can to consider the cash flows in between as well. The Mortgage ROI Calculator uses the Internal Rate of Return method to help us do that(if you really want to understand the nuts and bolts of it, check out the Wikipedia page).

Buying and Selling

Buying: The cash outlay in buying is made up of two components: the down payment and the closing costs.

    Down payment: The down payment represents the portion of the purchase that is funded with the buyer's cash, typically 20% of the home price. If lower than 20%, many banks require private mortgage insurance which we assume is 1% of the balance of the loan until the loan balance is less than 80% of the purchase price.

    Closing costs: There are a host of fees that are charged when buying a house -- mortgage origination fees, underwriting fees, title insurance, etc. Zillow estimates that this can be 2-5% of the cost of the home. The mortgage calculator takes the % entered in the 'Closing Costs' field and multiplies it by the price of the home to create an all-in cash outlay in year 0 (i.e., the down payment plus closing costs.

Selling: Upon sale of the house, the homeowner gets the value of the house less the outstanding debt on the house and realtors' fees. Typically, realtors charge 6% of the value of the listing to the seller.

Owning

Just as important as the purchase price and costs, down payment, and sale price and costs are the cash flows that take place during home ownership. This model takes into account the following costs:

    Mortgage payment: Principal and interest paid to the bank

    Property taxes: Calculated on a yearly basis for simplicity

    Homeowner's insurance: Assumed to be a percent of the average value of the home (i.e., last year's ending value + this year's ending value divided by 2)

    Maintenance: Assumed to be a percent of the average value of the home (i.e., last year's ending value + this year's ending value divided by 2)

    Private mortgage insurance: Assessed as 1% of the outstanding debt while the outstanding debt is greater than 80% of the original purchase price.

    Mortgage interest tax deduction: Assumes you deduct the full amount of interest paid on both federal and state tax returns. With the latest tax laws, this is capped for mortgages that have greater than a $750,000 oustanding balance (i.e., if you have a $1M loan balance, you only deduct the interest paid on the first $750,000)

    State and local tax deduction: Assumes you can deduct the lesser of the full amount of the property taxes you pay or $10,000 on your federal tax returns.

    Rent avoidance: The rent you avoid paying by owning is assumed to grow at the same rate as the appreciation on your home.