Rent vs. Buy Calculator
Net worth after renting or buying for the same years, the year buying pulls ahead and every assumption in view.
Results
Buying comes out ahead by
$52,531.28
after 10 years, if you sell then: net worth $185,829.42 buying, $133,298.15 renting. Buying first comes out ahead in year 6.
- Net worth if you buy
- $185,829.42$184,542.61 home equity after selling costs + $1,286.81 invested
- Net worth if you rent
- $133,298.15$40,625 starting cash grown to $72,753.19, + $60,544.96 from monthly savings
- Buying first comes out ahead
- Year 6The first year-end at which selling leaves the buyer at least level.
- Owning cost, first month
- $2,736.81Renting: $2,115.00. The renter invests the $621.81 difference.
- Starting rent for a tie
- $1,819.81A month, rising 3.5% a year. Above it, buying ends ahead after 10 years; below it, renting does.
- Mortgage payment
- $1,800.97A month: principal and interest on $292,500, plus $146.25 PMI through payment 106.
How this was calculated
- Starting cash: $32,500 down payment (10% of the price) + $8,125 closing costs (2.5% of $325,000) = $40,625. The buyer spends it; the renter invests it.
- Loan: $325,000 − $32,500 = $292,500. Monthly rate i = 6.25% ÷ 12 = 0.520833%. Principal and interest = L × i ÷ (1 − (1 + i)^−360) = $1,800.97 a month (in a spreadsheet, =PMT(6.25%/12, 360, -292500)).
- PMI: 0.6% × $292,500 ÷ 12 = $146.25 a month, charged through payment 106, while the balance before each payment is above 78% of $325,000.
- First month. Owning: $1,800.97 principal and interest + $243.75 property tax (0.9% × $325,000 ÷ 12) + $270.83 maintenance (1%) + $125.00 insurance + $150.00 HOA dues + $146.25 PMI = $2,736.81. Renting: $2,100.00 rent + $15.00 renters insurance = $2,115.00. The renter invests the $621.81 difference.
- Every month both portfolios grow by (1 + 0.06)^(1/12) − 1 = 0.486755%, then the cheaper path invests the difference. Rent, property tax and maintenance step up once a year. From month 107 (year 9), owning costs less than renting, so the buyer invests the difference instead.
- Renter after 10 years: the $40,625 grows to $72,753.19, and $40,880.37 of monthly differences grow to $60,544.96, for $133,298.15.
- Buyer after 10 years: the home is worth $325,000 × (1 + 0.035)^10 = $458,444.60. Then $458,444.60 − $27,506.68 selling costs (6%) − $246,395.31 loan balance + $1,286.81 invested ($1,250.88 of monthly differences, grown) = $185,829.42.
- Difference: $185,829.42 − $133,298.15 = +$52,531.28, buying ahead.
- Buying first comes out ahead at the end of year 6: $107,207.11 buying against $99,458.69 renting. Year 5: $89,826.74 against $90,058.37.
- Buying
- Renting
Chart data: Net worth if you sell at each year-end
| Year | Buying | Renting |
|---|---|---|
| 0 | $13,000 | $40,625 |
| 1 | $27,120 | $50,727 |
| 2 | $41,835 | $60,752 |
| 3 | $57,171 | $70,669 |
| 4 | $73,159 | $80,450 |
| 5 | $89,827 | $90,058 |
| 6 | $107,207 | $99,459 |
| 7 | $125,333 | $108,611 |
| 8 | $144,240 | $117,471 |
| 9 | $164,017 | $125,753 |
| 10 | $185,829 | $133,298 |
| Year | Net worth, buying | Net worth, renting | Buying minus renting | Home value | Loan balance | Equity after selling costs | Buyer's investments | Cost to own that year | Cost to rent that year |
|---|---|---|---|---|---|---|---|---|---|
| 1 | $27,120.00 | $50,727.21 | -$23,607.21 | $336,375.00 | $289,072.50 | $27,120.00 | $0.00 | $32,841.67 | $25,380.00 |
| 2 | $41,834.71 | $60,751.56 | -$18,916.86 | $348,148.13 | $285,424.53 | $41,834.71 | $0.00 | $33,057.80 | $26,262.00 |
| 3 | $57,171.39 | $70,669.44 | -$13,498.05 | $360,333.31 | $281,541.92 | $57,171.39 | $0.00 | $33,281.49 | $27,174.87 |
| 4 | $73,158.70 | $80,449.68 | -$7,290.98 | $372,944.98 | $277,409.58 | $73,158.70 | $0.00 | $33,513.01 | $28,119.69 |
| 5 | $89,826.74 | $90,058.37 | -$231.64 | $385,998.05 | $273,011.43 | $89,826.74 | $0.00 | $33,752.63 | $29,097.58 |
| 6 | $107,207.11 | $99,458.69 | +$7,748.42 | $399,507.98 | $268,330.39 | $107,207.11 | $0.00 | $34,000.64 | $30,109.69 |
| 7 | $125,333.06 | $108,610.66 | +$16,722.40 | $413,490.76 | $263,348.25 | $125,333.06 | $0.00 | $34,257.33 | $31,157.23 |
| 8 | $144,239.50 | $117,470.94 | +$26,768.56 | $427,962.94 | $258,045.66 | $144,239.50 | $0.00 | $34,523.00 | $32,241.44 |
| 9 | $164,016.72 | $125,752.97 | +$38,263.75 | $442,941.64 | $252,401.99 | $163,963.15 | $53.57 | $34,505.47 | $33,363.59 |
| 10 | $185,829.42 | $133,298.15 | +$52,531.28 | $458,444.60 | $246,395.31 | $184,542.61 | $1,286.81 | $33,327.56 | $34,525.01 |
| Item | Buying | Renting |
|---|---|---|
| Mortgage interest | $170,012.05 | — |
| Property tax | $34,314.32 | — |
| Homeowners insurance | $15,000.00 | — |
| Maintenance | $38,127.03 | — |
| HOA dues | $18,000.00 | — |
| PMI | $15,502.50 | — |
| Closing costs | $8,125.00 | — |
| Selling costs | $27,506.68 | — |
| Rent | — | $295,631.11 |
| Renters insurance | — | $1,800.00 |
| Total | $326,587.58 | $297,431.11 |
| Item | Buying | Renting |
|---|---|---|
| Money set aside | $378,936.47 | $378,936.47 |
| Costs you don't get back | -$326,587.58 | -$297,431.11 |
| Change in home value | +$133,444.60 | — |
| Investment earnings | +$35.93 | +$51,792.78 |
| Net worth | $185,829.42 | $133,298.15 |
| Appreciation / Return | Return 4% | Return 6% (yours) | Return 8% |
|---|---|---|---|
| Appreciation 1.5% | +$3,315 | -$16,230 | -$39,057 |
| Appreciation 2.5% | +$36,341 | +$16,571 | -$6,497 |
| Appreciation 3.5% (yours) | +$72,534 | +$52,531 (your inputs) | +$29,212 |
| Appreciation 4.5% | +$112,156 | +$91,911 | +$68,333 |
| Appreciation 5.5% | +$155,485 | +$134,991 | +$111,144 |
Positive: buying ends ahead; negative: renting does. Every other input stays as you entered it ($325,000 home, $2,100 rent, 10 years).
Assumptions
- Both paths start with the same $40,625 and set aside the same amount each month. Whichever costs less that month invests the difference at 6% a year, taken as an Effective annual rate (EAR): The rate actually earned or paid over a year once compounding within the year is counted. A 6% nominal rate compounded monthly is an effective annual rate of about 6.17%. Source: OpenStax, Principles of Finance (0.486755% a month). Nothing is withdrawn from either portfolio.
- You sell at the end of year 10 and pay 6% of the sale price in selling costs. The home's value changes by 3.5% a year from the $325,000 price.
- A fixed-rate loan of $292,500 at 6.25% for 30 years, paid monthly. Property tax (0.9%) and maintenance (1%) are charged on the home's value at the start of each year.
- Private mortgage insurance: Insurance that protects the lender, not you, if a conventional mortgage isn’t repaid. Lenders usually require it when the down payment is less than 20% of the price, and you pay for it. Source: Consumer Financial Protection Bureau of $146.25 a month (0.6% of the loan a year) through payment 106, while the balance before a payment is above 78% of the price, and never after the loan's midpoint.
- Rent rises 3.5% once a year. Homeowners insurance ($1,500 a year), HOA dues ($150 a month) and renters insurance ($180 a year) stay the same.
- Income taxes are left out on both sides: the mortgage interest deduction (which helps only if you itemize; see IRS Publication 936), tax on the renter's investment gains and tax on a gain from selling the home (often partly or fully excluded for a main home; see IRS Publication 523). Which way this tilts the answer depends on your tax situation.
- Amounts are in future dollars, not adjusted for inflation, so the growth rates should all include the same inflation.
- Not included: moving costs, differences in utilities, security deposits, broker fees, refinancing or repairs that arrive as one large bill.
- Amounts are rounded to the cent for display; the calculation keeps full precision. This is an educational estimate, not financial advice.
Calculated in your browser. This site doesn't send the numbers you enter anywhere. “Continue in” links pass them to the next calculator within this browser tab only.
Is it better to rent or buy?
It depends mostly on how long you stay, and after that on a handful of rates you have to guess. This calculator puts both choices on the same footing: the same cash at the start, the same monthly budget and the same number of years. It then compares what you would own at the end, as if you sold the home and moved out.
The headline says which path ends ahead and by how much. Underneath, it gives the first year at which buying would be ahead if you sold then, and the starting rent at which the two finish level. When buying never catches up within 30 years (or within your stay, if longer), it says so instead of showing a year.
How to use it
Start with the basics:
- Home price and Monthly rent for comparable homes: the rent you would pay now, from listings or your lease.
- Down payment, in dollars or as a percentage of the price. Press $ or % to switch.
- Mortgage rate: the fixed rate, not the APR. A Loan Estimate shows it along with the monthly payment, closing costs and estimated taxes and insurance.
- Years you plan to stay, in whole years. Both paths are valued at the end of that year.
The other groups hold example values until you replace them, and the page lists any still in use above the result:
- Buying costs: property tax and maintenance as a percentage of the home’s value per year, homeowners insurance and HOA dues in the period you are quoted (monthly, quarterly or yearly), closing costs as a percentage of the price, selling costs as a percentage of the sale price, the loan term and any PMI rate. With PMI entered, a further box asks at which loan-to-value it ends.
- Renting costs: the yearly rent increase and renters insurance.
- Growth rates: home appreciation (negative if you expect prices to fall) and the yearly return on money not spent on housing.
The Try buttons change the worked example below: a 3-year or a 20-year stay, 20% down with no PMI, flat home prices and paying cash. Press Save for comparison to keep up to three scenarios side by side, for two homes or two rents. Continue in the Loan Payment Calculator carries the mortgage over for its full amortization schedule.
How this comparison works, step by step
- Same starting cash. The buyer spends the down payment plus closing costs; the renter invests that same amount on day one.
- Same monthly budget. Each month, the owner pays principal and interest, property tax, insurance, maintenance, HOA dues and any PMI; the renter pays rent and renters insurance. Whichever path costs less invests the difference at the end of the month.
- Yearly steps. Rent rises once a year. Property tax and maintenance are charged on the home’s value at the start of each year. Insurance, HOA dues and renters insurance stay flat.
- Net worth at the end. The buyer sells at the end of the last year, pays selling costs and the remaining loan, and keeps any investments. The renter keeps the portfolio.
The yearly return is treated as an effective annual rate, so each month both portfolios grow by . At the end of year :
- is the price and the yearly appreciation, so is the sale price after years.
- is the selling cost as a share of the sale price.
- is the loan balance after monthly payments.
- is each path’s portfolio: every month it grows by and then takes that month’s saving, if that path was the cheaper one.
The monthly principal and interest on a loan at the monthly rate (the yearly rate ÷ 12) over payments is .
The down payment is not treated as spent. It becomes home equity, which the sale turns back into cash. What each side loses for good is interest, tax, insurance, maintenance, dues, PMI and transaction costs for the buyer, and rent and renters insurance for the renter.
Worked example: a $325,000 townhouse or $2,100 rent for 10 years
These are the calculator’s example values, not current market figures.
| Input | Example |
|---|---|
| Home price, down payment | $325,000, 10% ($32,500) |
| Mortgage | 6.25% fixed for 30 years |
| PMI | 0.6% of the loan a year, until the balance is 78% of the price |
| Property tax, maintenance | 0.9% and 1% of the home’s value a year |
| Homeowners insurance, HOA dues | $1,500 a year, $150 a month |
| Closing costs, selling costs | 2.5% of the price, 6% of the sale price |
| Rent, renters insurance | $2,100 a month rising 3.5% a year, $180 a year |
| Home appreciation, investment return | 3.5% and 6% a year |
| Years you plan to stay | 10 |
- Starting cash: $32,500 + 2.5% × $325,000 ($8,125) = $40,625. The renter invests it.
- Loan: $325,000 − $32,500 = $292,500 at 6.25% ÷ 12 = 0.520833% a month for 360 months, so principal and interest are $1,800.97 a month. PMI is 0.6% × $292,500 ÷ 12 = $146.25 a month, charged through payment 106, when the balance falls to 78% of $325,000 ($253,500).
- First month: owning costs $1,800.97 + $243.75 property tax + $270.83 maintenance + $125.00 insurance + $150.00 HOA dues + $146.25 PMI = $2,736.81. Renting costs $2,100.00 + $15.00 = $2,115.00. The renter invests the $621.81 difference.
- Growth: 6% a year is (1.06)^(1/12) − 1 = 0.486755% a month. Over 10 years the renter adds $40,880.37 of monthly differences. Once PMI stops, rent has risen enough that owning is the cheaper path, so from month 107 the buyer invests the difference: $1,250.88 in all.
- Renter after 10 years: the $40,625 grows to $72,753.19 and the monthly additions to $60,544.96, for $133,298.15.
- Buyer after 10 years: the home is worth $325,000 × 1.035¹⁰ = $458,444.60. Selling costs take $27,506.68 and the loan balance is $246,395.31, leaving $184,542.61 of equity, plus $1,286.81 of investments: $185,829.42.
- Result: $185,829.42 − $133,298.15 = $52,531.28 in favor of buying. Buying first comes out ahead in year 6.
Amounts are rounded to the cent from unrounded values, so a sum of rounded parts can be a cent off.
Net worth at each year-end, if the home were sold then:
| Year | Buying | Renting |
|---|---|---|
| 1 | $27,120.00 | $50,727.21 |
| 2 | $41,834.71 | $60,751.56 |
| 3 | $57,171.39 | $70,669.44 |
| 4 | $73,158.70 | $80,449.68 |
| 5 | $89,826.74 | $90,058.37 |
| 6 | $107,207.11 | $99,458.69 |
| 7 | $125,333.06 | $108,610.66 |
| 8 | $144,239.50 | $117,470.94 |
| 9 | $164,016.72 | $125,752.97 |
| 10 | $185,829.42 | $133,298.15 |
The starting rent at which both paths would finish level after 10 years is $1,819.81. At the example’s $2,100, buying wins; at $1,800, renting would.
How long do you need to stay for buying to pay off?
In the example, 6 years; at 5 years the two are only $231.64 apart. Early on, the buyer is behind mainly because of transaction costs: $8,125 to buy and 6% of the price to sell. That cost is paid once, whenever you leave, so each extra year gives appreciation and loan repayment longer to cover it.
The Stay 3 years button shows the short end: renting is ahead by $13,498.05. Stay 20 years shows the long end: buying is ahead by $295,506.10, because rent keeps rising while principal and interest stay fixed.
The year in the result is found by checking every year-end, not only yours, up to 30 years or your stay if longer. The chart continues past your stay when buying pulls ahead later, so you can see the lines cross.
What buying really costs (beyond the mortgage payment)
Principal and interest are only part of it. Owning adds property tax, homeowners insurance, maintenance, any HOA dues and PMI every month, and closing and selling costs at either end. In the example, the first month’s $1,800.97 of principal and interest is $2,736.81 once everything is counted, $621.81 more than renting.
The table Costs you don’t get back totals each item over your stay: $326,587.58 for the owner and $297,431.11 for the renter in the example. How each net worth adds up then starts both paths from the same money set aside ($378,936.47 in the example: the starting cash plus the larger of the two monthly costs each month), takes away those costs and adds each path’s gains, so each column ends at that path’s net worth.
PMI protects the lender, and you may have to pay it on a conventional loan with less than 20% down. Servicers generally must end it when the balance is scheduled to reach 78% of the home’s original value, you can ask for it to be canceled at 80%, and it ends after the loan’s midpoint regardless. The calculator uses the percentage you enter, measured against the purchase price, and stops at the midpoint. With 20% down, no PMI, the example’s buyer comes out ahead by $75,866.42 after 10 years, and from year 4.
Why the down payment’s investment return matters
The renter’s result rests on investing the starting cash and every monthly saving, and on the return you enter. Use the return you would expect after fund fees, before tax, from what you would actually hold for that many years. A suitable mix depends on your time horizon and how much risk you can accept, and a higher expected return comes with a bigger chance of losing money.
The return works on the renter’s portfolio, while appreciation works on the whole house. That is why paying cash can still come out ahead: with Pay cash (no loan) the renter starts with $333,125 invested, yet buying ends $89,362.07 ahead after 10 years, from year 4. If some of the monthly difference would be spent instead of invested, the renter’s result here is too high.
Which assumptions change the answer most?
Home appreciation and the investment return are the two you can know least, so the table Buying minus renting … at other growth rates reruns the calculation with appreciation 1 and 2 points either side of yours and the return 2 points either side. Part of it for the example, in whole dollars:
| Appreciation | 4% return | 6% return | 8% return |
|---|---|---|---|
| 1.5% | +$3,315 | −$16,230 | −$39,057 |
| 3.5% | +$72,534 | +$52,531 | +$29,212 |
| 5.5% | +$155,485 | +$134,991 | +$111,144 |
A positive amount means buying ends ahead. At a 6% return, two points less appreciation cost the buyer $68,761.16 and two points more add $82,459.61. At 3.5% appreciation, two points of return move the result by $20,002.63 one way and $23,319.06 the other. Appreciation applies to the whole $325,000 house, the return only to the smaller portfolio. With Home prices flat, renting is ahead by $60,035.61 after 10 years, and buying doesn’t catch up until year 17.
The mortgage rate, property tax and maintenance rate also matter a lot, because they are charged every month from the start. The rate and closing costs come from lender quotes and the property tax from the local tax office; base the tax on the price you would pay, as it usually rises with the home’s value.
Reading the result
- The headline is the difference in net worth at the end of your stay, and which side it favors.
- Net worth if you buy is the sale price minus selling costs and the remaining loan, plus anything the buyer invested. Net worth if you rent is the renter’s portfolio, split into the grown starting cash and the grown monthly savings.
- Buying first comes out ahead is the first year-end at which selling would leave the buyer at least level.
- Owning cost, first month is the total monthly cost of owning, next to renting, and who invests the gap.
- Starting rent for a tie is the rent, rising at your rate, at which both paths finish level after your stay. It is exact, because the difference between the paths changes in step with the rent.
- How this was calculated walks through the same steps as the worked example with your numbers, including the spreadsheet formula for the payment.
- The chart and the year-by-year table show both net worths at every year-end, with the home value, loan balance, the buyer’s investments and each year’s costs. Download CSV saves the table.
- Costs you don’t get back and How each net worth adds up split the result into what each path paid for good and what it gained.
- At other growth rates repeats the headline difference for nearby appreciation and return rates, with every other input unchanged.
What this calculator leaves out (income taxes, moving costs)
- Income taxes. Mortgage interest is deductible only if you itemize. The renter’s investment gains are taxable when sold. A gain on selling your main home can be excluded up to a limit if you have owned and lived in it long enough, generally 2 of the last 5 years. Which way leaving taxes out tilts the answer depends on your own tax situation.
- Uneven prices and repairs. Appreciation and maintenance are smooth here; real prices can fall for years, and a roof arrives as one bill.
- Flat costs. Insurance, HOA dues and renters insurance never rise, and rent grows at one steady rate.
- Inflation. Everything is in future dollars. Enter appreciation, rent growth and the return with the same inflation built in.
- Everything else: moving costs, differences in utilities, security deposits, broker fees and refinancing, as well as what the flexibility of renting or the control of owning is worth to you.
This is an educational estimate, not financial, tax or lending advice.
Common mistakes
- Comparing rent with principal and interest alone. The owner’s total monthly cost also includes tax, insurance, maintenance, dues and PMI. In the example that turns $1,800.97 into $2,736.81.
- Counting the down payment as money spent. It becomes equity. What matters is what it would have earned invested, which is why the renter invests it here.
- Ignoring selling costs on a short stay. They are a share of the whole sale price, not of your equity. In the example, selling after 3 years costs $21,620.00, about twice the $10,958.08 of loan repaid by then.
- A return the renter wouldn’t really get. An 8% return assumes the money is invested, left alone and not spent on something else.
- Mixing real and nominal rates. A return with inflation taken out, next to appreciation and rent growth with inflation in, tilts the result toward buying.
- Entering a monthly premium as a yearly one. Choose the period next to insurance, HOA dues and renters insurance to match how each is quoted.
- Assuming a seller or lender credit makes closing free. Such credits are usually paid back through a higher price, loan amount or interest rate, so keep closing costs in.
Questions
Is renting throwing money away?
No more than owning is. Rent buys a place to live, and owning has its own costs that never come back. In the worked example, 10 years of renting costs $297,431.11, while the owner pays $326,587.58 in interest, property tax, insurance, maintenance, HOA dues, PMI and closing and selling costs. The buyer comes out ahead there because the home gains $133,444.60 in value, more than the $29,156.47 of extra owning costs plus the renter’s $51,792.78 of investment earnings.
What about an adjustable rate, refinancing or extra payments?
The calculator assumes one fixed rate for the whole loan and the scheduled payment every month. To see how a rate reset would change the answer, enter the higher rate you think it could reach. Extra payments move money from the buyer’s investments into the home, so they help only if the mortgage rate is higher than the return you expect.
Why does the buyer have investments in some results?
Because the comparison keeps the monthly budget equal. Once rent climbs above the cost of owning, or PMI ends, the buyer is the one spending less, and the difference is invested at the same return the renter gets. In the worked example that starts in month 107, with $1,250.88 of monthly differences worth $1,286.81 by year 10.
Sources
- How do mortgage lenders calculate monthly payments? Consumer Financial Protection Bureau Principal and interest come from a standard formula, and a fixed-rate loan is paid off exactly at the end of its term if every payment is made.
- How does paying down a mortgage work? Consumer Financial Protection Bureau Only the principal part of a payment reduces the balance and builds equity; the interest part does neither.
- On a mortgage, what’s the difference between my principal and interest payment and my total monthly payment? Consumer Financial Protection Bureau Property taxes typically rise with the home’s value, and buyers who look only at principal and interest are surprised by the total payment (page 1 of the Loan Estimate).
- What is a Loan Estimate? Consumer Financial Protection Bureau The Loan Estimate shows the estimated interest rate, monthly payment, total closing costs and estimated taxes and insurance.
- What fees or charges are paid when closing on a mortgage and who pays them? Consumer Financial Protection Bureau Seller and lender credits toward closing costs are usually paid back through a higher price, loan amount or interest rate.
- What is private mortgage insurance? Consumer Financial Protection Bureau PMI may be required on a conventional loan with less than 20% down, and it protects the lender, not the borrower.
- When can I remove private mortgage insurance (PMI) from my loan? Consumer Financial Protection Bureau PMI ends automatically when the balance is scheduled to reach 78% of the home’s original value, can be canceled on request at 80%, and ends after the loan’s midpoint in any case.
- 8.4 Stated versus effective rates OpenStax, Principles of Finance How a monthly rate compounds to an effective annual rate, the relation used here in reverse to turn a yearly return into a monthly one.
- Asset Allocation and Diversification U.S. Securities and Exchange Commission, Investor.gov The right investment mix depends on your time horizon and risk tolerance.
- Publication 936, Home Mortgage Interest Deduction Internal Revenue Service Mortgage interest is deductible only if you itemize deductions on Schedule A.
- Publication 523, Selling Your Home Internal Revenue Service Up to $250,000 of gain ($500,000 for a married couple filing jointly) on a main home can be excluded if you meet the tests, including owning it for at least 24 months of the 5 years before the sale.
- Topic no. 409, Capital gains and losses Internal Revenue Service Stocks and bonds held as investments are capital assets, and selling them for more than their basis is a taxable capital gain.
Smart Financial Calc: https://smartfinancialcalc.com/finance/rent-vs-buy-calculator/