Rent vs Buy Calculator
Compare the net cost of owning a home with renting over the years you plan to stay.
Loading your results…
Compare scenarios
About this calculator
Buying is not automatically better than renting. This calculator tallies the full cost of owning (payments, taxes, upkeep, closing and selling costs, minus the equity you would get back) against rent, and shows the year ownership starts to win, if it does.
Worked example
The calculator above starts with this example. These figures were produced by the same code that powers the tool, using the inputs below.
| Home price | $450,000.00 |
|---|---|
| Down payment (%) | 15% |
| Mortgage rate (%) | 6.5% |
| Loan term (years) | 30.00 |
| Property tax (% of value per year) | 1.1% |
| Homeowners insurance per year | $1,800.00 |
| Maintenance (% of value per year) | 1% |
| Buying closing costs (% of price) | 3% |
| Selling costs (% of sale price) | 6% |
| Home appreciation per year (%) | 3% |
| Monthly rent for a comparable home | $2,500.00 |
| Rent increase per year (%) | 3% |
| Renters insurance per year | $220.00 |
| Return on cash you would invest (%) | 5% |
| Years you expect to stay | 7.00 |
| Buying costs less over 7 years by | $3,739.48 |
|---|---|
| Year ownership overtakes renting | 7 |
| Net cost of buying | $227,674.39 |
| Net cost of renting | $231,413.87 |
| Upfront cash to buy (down + closing) | $81,000.00 |
| Monthly mortgage principal & interest | $2,417.66 |
How this calculator works
Buying, net cost after k years = down payment + closing costs + Σ (mortgage payments + property tax + insurance + maintenance + HOA) − (sale price × (1 − selling cost %) − remaining loan balance) + opportunity cost on the up-front cash (cash × ((1 + r)k − 1)).
Renting, net cost after k years = Σ (rent, growing each year) + renters insurance.
Both are computed for each year up to your expected stay; the break-even year is the first where buying costs no more than renting.
Assumptions and limitations
- Replace the default tax, insurance and fee figures with numbers for your area and your lender’s Loan Estimate. Defaults are placeholders, not averages for your market.
- Home appreciation and investment return are assumptions, not forecasts. Small changes in them can flip the result, so test a range.
- Mortgage interest and property tax deductions depend on itemizing and are not modeled. Rent and expenses are assumed to rise at constant rates.
Frequently asked questions
Why is the answer so sensitive to my assumptions?
Appreciation, mortgage rate, rent growth and how long you stay all swing the outcome. Rerun with optimistic and pessimistic values to see the range.
Does this count building equity as a benefit?
Yes, through the sale proceeds. Equity returned at sale is subtracted from the cost of owning.
What is the main factor for a short stay?
Transaction costs. Buying and selling costs are large relative to the small equity built in the first few years, which is why short stays often favor renting.
Guides that explain more
Sources
- CFPB: Your home loan toolkit (CFPB)
Not advice. Estimates only. Results depend on the inputs and assumptions listed on this page and are not tax, legal or financial advice. Read the full financial disclaimer.