Compare renting and buying the same kind of home over the number of years you expect to stay. The calculator counts every cost of owning, including upkeep and the cost of selling, against rent that rises each year, and it credits the renter with what the down payment could have earned if invested. Every rate is your own assumption, shown and editable.
Your assumptions
Runs in your browser. Nothing you type is saved or sent.
How the comparison works
Comparing a mortgage payment with rent leaves out most of the picture. A buyer puts cash in at the start, pays tax, insurance and upkeep a renter does not, builds equity with each payment, and pays to sell at the end. A renter keeps the starting cash and can invest it. So the calculator compares net worth, not monthly payments:
- Buyer: the home’s value at the end, less selling costs and the remaining loan balance, plus any savings invested in months when owning cost less than renting.
- Renter: the down payment and closing costs invested from day one, plus the difference invested in every month that renting cost less.
Both sides spend the same amount on housing each month; whoever spends less invests the gap at the same return. The side with the higher net worth at the end came out ahead. The year buying pulls ahead is the break-even year: stay longer and buying wins, under your assumptions; leave sooner and renting does. The guide to buying your first home covers what else to weigh, such as how settled your job and plans are.
Where to find each figure
| Input | Where your number comes from |
|---|---|
| Closing costs to buy | Sections D and I on a Loan Estimate, which every lender lays out the same way under 12 CFR 1026.37. The closing cost estimator adds them up. |
| PMI rate | A lender quote. Under the Homeowners Protection Act, borrower-paid PMI ends automatically when the balance is scheduled to reach 78% of the original value, which is when the calculator stops it. |
| Property tax and insurance | The county’s tax bill for the home and an insurance quote for the address. |
| Home price growth | Past changes for your state or metro area are in the FHFA House Price Index. Past growth is history, not a forecast, so try several rates. |
| Rent increase | Your own rent history and the renewal terms in your lease. |
| Upkeep | A percentage of the home’s value each year is a common budgeting convention, not a rule. |
| Selling costs | Commission, any transfer tax and other seller costs, as a share of the sale price. |
| Return on savings | What you would realistically earn on the cash, after fees. A lower rate favors buying; a higher one favors renting. |
How much the assumptions matter
The worked example in the calculator, a $400,000 home with 10% down at 6.5% against $2,200 rent, shows how strongly the result depends on home price growth. Everything else is held the same and the stay is 7 years.
| Home price growth per year | After 7 years | Buying pulls ahead in |
|---|---|---|
| 0% | Renting ahead by $114,449 | Not within 30 years |
| 2% | Renting ahead by $60,473 | Year 23 |
| 3% | Renting ahead by $30,959 | Year 14 |
| 4% | Buying ahead by $353 | Year 7 |
| 5% | Buying ahead by $33,553 | Year 5 |
These figures are the calculator’s output for those inputs, not predictions. Buying costs most in the early years, when closing costs, selling costs and mostly-interest payments have not yet been offset by equity. That is why the length of your stay matters as much as the rates. See how much down payment you need for how the down payment changes the loan and PMI.
What the result leaves out
- Taxes. Investment gains may be taxed, while up to $250,000 of gain on selling a main home ($500,000 for a married couple filing jointly) can be excluded if you owned and lived in it for at least two of the five years before the sale (IRS Publication 523). Mortgage interest and property tax deductions are also left out.
- Refinancing and extra payments. The loan follows its original schedule.
- One-off costs. Moving, furnishing, a security deposit, or a major repair in a given year are not modeled beyond the yearly upkeep rate.
- Risk. A home is one large asset in one place. The calculator applies a steady growth rate, but real prices rise and fall.
Frequently asked questions
Why can renting come out ahead even when rent is close to the mortgage payment?
Owning has costs on top of the loan payment: property tax, insurance, upkeep, closing costs to buy and selling costs at the end. The renter can also invest the down payment. Over a short stay, those costs often outweigh the equity built and the price growth.
What does the break-even year mean?
It is the first year in which selling the home at the end of that year would leave the buyer with more net worth than the renter, under your assumptions. If you expect to move before then, renting comes out ahead in this comparison.
Why does the renter get credit for investing the down payment?
Because that money is a real cost of buying. Cash tied up in a home cannot earn a return elsewhere. The calculator assumes the renter invests it at the return you enter; set the return to 0 to leave that out.
What growth rates should I use?
There is no correct forecast. Look at past changes for your area in the FHFA House Price Index and at your own rent history, then try a lower and a higher rate. If the answer flips between them, the decision rests on how long you stay and how sure you are of your plans.
Are my numbers saved?
No. The calculator runs in your browser and does not save or send what you type.
How this calculator works: method and sources
The calculator works month by month for 30 years. Owner costs each month are principal and interest (standard fixed-rate amortization), PMI at your yearly rate times the loan divided by 12 until the scheduled balance reaches 78% of the price or the loan’s midpoint, property tax, insurance and HOA dues rising each year by the rate you enter, and upkeep at your yearly percentage of the home’s value at the start of that year. Renter costs are rent, rising each year at your rate, plus renter’s insurance. The down payment and closing costs are invested for the renter at the start; each month, the side with the lower cost invests the difference, compounding at your yearly return converted to a monthly rate. At the end of each year, the home’s value is the price grown at your yearly rate, less selling costs and the scheduled loan balance. Net worth is compared at the year you choose.
- Regulation Z, 12 CFR 1026.37 (eCFR): Loan Estimate closing cost sections D (loan costs) and I (other costs).
- Homeowners Protection Act of 1998, 12 U.S.C. 4901-4902 (govinfo): automatic termination of borrower-paid PMI at 78% of original value, and final termination at the midpoint.
- Federal Housing Finance Agency, FHFA House Price Index: repeat-sales measure of single-family home prices by state, metro area and smaller areas.
- Internal Revenue Service, Publication 523, Selling Your Home: the $250,000 and $500,000 exclusion and the two-out-of-five-year ownership and use tests.
Related calculators
Or browse every home buying and selling calculator.
Results come from the assumptions you enter and are not a prediction of home prices, rents or returns, or financial or tax advice. Your Loan Estimate shows the actual loan costs, and IRS Publication 523 explains how a home sale is taxed.