
This rent vs buy calculator compares renting and buying over a chosen horizon, including closing costs, equity, maintenance and opportunity cost, with every assumption shown. Use the calculator above first, then read on: the worked example isolates the method with a deliberately simple case, the sensitivity cases show how maintenance, closing costs and price growth change the answer, and the troubleshooting section covers the comparisons that most often mislead.
Contents:
- How this rent vs buy calculator works
- Worked example: a one-year cash purchase
- Worked example: a financed purchase over 5 and 10 years
- What to enter, and what each input does
- What moves the result most
- When the result looks wrong
- Your next-steps checklist
- Limitations
- Frequently asked questions
- Sources
How this rent vs buy calculator works
The calculator discounts every cash flow to today, so a mortgage payment in year 10 is not treated as equal to a dollar today. It then compares two present-value totals.
Buy cost (present value) = down payment + closing costs + present value of monthly payments, ownership costs and maintenance − present value of net sale proceeds. Net sale proceeds are the sale price minus any remaining loan balance minus selling costs.
Rent cost (present value) = present value of monthly rent, grown annually at the rent growth rate you enter.
A crossover year is reported only if cumulative discounted owning cost falls to or below cumulative renting cost within the horizon you choose. If no crossover appears in that horizon, the tool says so rather than extrapolating one. That restraint matters: a comparison that invents a crossover beyond the horizon you set would be guessing, not calculating.
Crucially, the tool never declares a winner from mortgage versus rent alone. Part of each mortgage payment builds equity that comes back at sale, while rent does not. The tool separates that equity from true cost, so a higher monthly mortgage payment can still produce a lower true cost than rent — and a lower monthly payment can still be the more expensive choice once selling costs and opportunity cost are counted.
Worked example: a one-year cash purchase
This is an illustrative example using the calculator’s own worked case, deliberately simplified so the method is visible. It is not a realistic purchase. Inputs: 1-year horizon, $100,000 purchase price, $100,000 down payment (a cash purchase), $1,000 monthly rent, and every fee, tax, growth and discount input at zero, selling for $100,000.
Buy cost = $100,000 down + $0 closing + $0 payments, ownership costs and maintenance − $100,000 sale proceeds = $0. You paid $100,000 and got $100,000 back, so the net ownership cost in this stripped-down case is zero. Rent cost = $1,000 × 12 = $12,000. On those inputs alone, owning costs $0 and renting costs $12,000 over the year.
That case isolates the method, and it also shows why it must not be read as advice: real cases differ the moment taxes, upkeep, growth and discounting are entered. The sensitivity cases below put those inputs back in, one at a time.
Use the Load worked example button above to reproduce this case in the form, then change one input at a time to see what drives the result.
Worked example: a financed purchase over 5 and 10 years
The one-year cash case above isolates the method. This second example is a financed, multi-year case, run through the calculator’s own method with the discount rate at 0%, so the present values below are plain sums and can be checked by hand. Inputs: $300,000 purchase price, $60,000 down payment (20%), $240,000 loan at 6% over 30 years, $6,000 closing costs, $400 a month ownership costs, $1,200 a year maintenance, $1,800 a month rent, 0% appreciation, 0% rent growth, 0% discount rate, 5% selling costs.
The monthly mortgage payment (principal and interest) is $1,438.92. With ownership costs and maintenance, the monthly owning outlay before sale proceeds is $1,438.92 + $400 + $100 = $1,938.92.
| Horizon | Present-value cost of owning | Present-value cost of renting | Owning minus renting | Remaining balance | Net sale proceeds |
|---|---|---|---|---|---|
| 1 year | $41,319.83 | $21,600 | $19,719.83 | $237,052.77 | $47,947.23 |
| 5 years | $120,665.74 | $108,000 | $12,665.74 | $223,330.46 | $61,669.54 |
| 10 years | $214,516.29 | $216,000 | −$1,483.71 | $200,845.74 | $84,154.26 |
Reading the table: over 1 year, owning costs $19,719.83 more than renting, because the $60,000 down payment and $6,000 closing costs are spread over only 12 months and only $47,947.23 comes back at sale. Over 5 years the gap narrows to $12,665.74. Over 10 years owning is $1,483.71 cheaper than renting on these inputs, and the calculator reports a crossover in year 10. That crossover depends entirely on these inputs — add appreciation, rent growth or a discount rate above 0%, and both sides move, so test your own figures rather than treating year 10 as a general rule.
At 5 years the owning figure checks, to within cents rounding, as: $60,000 down + $6,000 closing + 60 months × $1,938.92, minus $61,669.54 net sale proceeds — $120,665.66 on the rounded monthly figure, against the calculator’s $120,665.74, which carries the payment at full precision. The sale price is $300,000 at 0% appreciation, less the $223,330.46 remaining balance and 5% selling costs ($15,000), giving $61,669.54.
What to enter, and what each input does
Rent and purchase price. Enter the monthly rent you would actually pay for a comparable home, and the purchase price you are comparing. Comparing a small rental with a large purchase, or vice versa, answers a different question from rent versus buy for the same standard of housing.
Down payment, rate, term and closing costs. Enter the down payment, mortgage rate and term, and buyer closing costs. Setting the down payment equal to the price models a cash purchase, as in the worked example. Closing costs count as an owning cost in full, even though they are paid once.
Monthly ownership costs and annual maintenance. Enter tax, insurance and HOA dues as monthly ownership costs, and maintenance as an annual figure. Leaving maintenance at 0 is the most common way to make buying look artificially cheap, because owners, unlike renters, pay for repairs and upkeep.
Appreciation, rent growth, discount rate and horizon. Appreciation grows the eventual sale price. Rent growth grows future rent. The discount rate represents opportunity cost: money tied up in a home could otherwise earn a return, so a higher discount rate makes future sale proceeds worth less today. The horizon is how many years you compare; a crossover that appears only after 20 years is a very different answer from one that appears in year 3, even if both are technically crossovers.
Selling costs. Enter selling costs as a percentage of the sale price. They reduce net sale proceeds, and therefore raise the true cost of owning, especially over a short horizon where they are spread over few years.
What moves the result most
Starting from the worked example above (1 year, $100,000 cash purchase, $1,000 monthly rent, all other inputs at zero), changing one input at a time gives:
| Change (one at a time) | Buy cost | Rent cost | Reading |
|---|---|---|---|
| Original: no fees, no growth, no discount | $0 | $12,000 | Owning is cheaper by $12,000 in this stripped-down case. |
| Add $3,000 closing costs and $1,200 annual maintenance | $4,200 | $12,000 | Owning is still cheaper, but the gap narrows to $7,800. |
| Add 5% price growth, so the home sells for $105,000 | −$5,000 | $12,000 | Owning shows a net gain of $5,000 before any other costs — which is exactly why growth assumptions must be handled with care. |
Over a longer horizon the same logic compounds. With all growth and discount inputs still at zero, five years of rent at $1,000 a month is $60,000, while the stripped-down cash purchase still costs $0 net if the home sells for what it cost. That does not mean buying always wins over five years: once maintenance, taxes, insurance, selling costs and the opportunity cost of tying up $100,000 are entered, the gap can narrow, vanish or reverse. The honest use of this calculator is to enter your own figures for those items, not to rely on the zero-input case.
When the result looks wrong
Buying looks impossibly cheap. Check whether maintenance, monthly ownership costs, closing costs and selling costs were all left at 0, and whether the discount rate was left at 0 while a large down payment is tied up for years. Add realistic figures for each and re-run the comparison.
Buying looks impossibly expensive. Check whether the sale proceeds were forgotten, or whether selling costs were entered as a dollar amount in a percentage field. Net sale proceeds are sale price minus remaining loan balance minus selling costs; omitting them turns equity into a pure cost, which is the single biggest error in a rent-versus-buy comparison.
No crossover appears. That is a valid result, not a failure. It means that within the horizon you set, cumulative discounted owning cost never falls to or below cumulative renting cost. Lengthening the horizon to force a crossover, without a reason to stay that long, would be manufacturing an answer.
The result changes sharply when you change the discount rate. That is expected and informative. The discount rate is your opportunity cost, and different households have different alternatives for the same cash. Try a range of discount rates and see whether the conclusion survives them, rather than trusting a single rate.
Sale proceeds are less than the loan balance. Negative equity is shown as-is. The shortfall still counts as an owning cost; it is not silently floored at zero. If you are comparing a purchase where this is likely, that shortfall is part of the risk you are weighing, not a rounding error to hide.
Your next-steps checklist
- Run this rent vs buy calculator with comparable rent and purchase prices, realistic maintenance, monthly ownership costs, closing costs, selling costs and a discount rate, over a horizon you actually intend to stay.
- Turn the candidate purchase price into a monthly payment with the mortgage calculator, including tax, insurance, HOA and PMI.
- Check what price that payment implies on your income with the home affordability calculator, using the same rate and monthly tax and insurance.
- Work out the cash you will need at closing, separately from the down payment, with the closing cost calculator.
- Read the guide to what costs to compare when renting versus buying for the background on equity, opportunity cost and selling costs.
- Weigh the non-financial factors separately — stability versus flexibility, maintenance responsibility, and how certain your horizon is — because this calculator compares costs only, and a cheaper option you cannot live with is not the better choice.
Limitations
This is a cost comparison, not a wealth forecast. It does not model tax deductions, rent-control rules, transaction friction beyond the selling-cost input, or the non-financial value of stability versus flexibility. Appreciation, rent growth and discount rates are assumptions you enter, not predictions; changing them can change the conclusion, so test a range rather than trusting a single set. If no crossover appears in the horizon, the tool says so rather than extrapolating one. Results are estimates only and are not a loan offer, investment advice or a guarantee about future prices or rents.
Frequently asked questions
What does the discount rate do?
It represents opportunity cost: money tied up in a home could otherwise earn a return. A higher discount rate makes future sale proceeds worth less today.
Why can buying look cheaper even with a higher monthly payment?
Because part of each mortgage payment builds equity that comes back at sale, while rent does not. The tool separates that equity from true cost.
What if sale proceeds are less than the loan balance?
Negative equity is shown as-is. The shortfall still counts as an owning cost; it is not silently floored at zero.
Is rent always wasted money?
No. Rent buys housing without tying up a down payment, without maintenance responsibility and without selling costs. Whether it is wasted depends on the full comparison — price, rent, horizon, costs and opportunity cost — not on the monthly payment alone.
How long should the horizon be?
As long as you realistically expect to stay. A horizon you invent to make buying win is not a plan. If you may move in two years, compare over two years, including selling costs in full.
How this page was put together: see the methodology behind the calculators, our editorial policy, and the glossary for terms used here.
Sources
- Fannie Mae — Mortgage affordability calculator (scope reference preserved from the original page; the rent-versus-buy method above is this site’s own present-value calculation, not Fannie Mae’s).
Confirm tax treatment, rent rules and transaction costs for your own situation with your tax adviser, landlord or closing documents; this calculator does not model them.
Estimates only. Results from this calculator are not a loan offer, appraisal, engineering design, equipment selection or contractor quote.