Rent vs Buy Calculator

Last Updated:

Should you rent or buy? Enter the home price, your rent and how long you plan to stay. The calculator counts the mortgage, property tax, insurance, maintenance, closing and selling costs and what the money you did not spend on the home would earn invested, then shows the breakeven year.

Quick answer: This rent vs buy calculator finds the year buying catches up with renting. In our worked example ($380,000 home, 7.28% mortgage, $2,200 rent) renting stays ahead for 30 years. Buying catches up in year 6 if homes gain 5% a year, and in year 11 at 4%. A price-to-rent ratio under 15 favors buying, over 20 renting.

Buying

$
Required. The price you would pay.
$
Required. Dollars or percent, set in the next box.
%
Required. Use a lender quote if you have one.
%
Required. Check your county. Our planning default is 1.1%.
$
Required. Our estimate is $1,500 to $3,000.
$
Optional. A blank counts as 0.
%
Required. Common practice is 1% to 2%.
%
Optional. A blank uses 3%.
%
Optional. A blank uses 6%.
%
Optional. A blank uses 3%. Negative is allowed.
%
Optional. Used only under 20% down. A blank counts as 0.

Tax (optional)

Optional. Sets the standard deduction, SALT cap, mortgage interest limit and home sale exclusion.
%
Optional. Your federal bracket, such as 22%. A blank counts any tax effect as 0.
$
Optional. Counts toward the SALT cap with property tax. A blank counts as 0.
$
Optional. Charity, medical and similar. Counts only when itemizing beats the standard deduction. A blank counts as 0.
%
Optional. Long-term gains rate, often 15%. A blank counts as 0.

Renting

$
Required. For a comparable home.
%
Optional. A blank uses 3%. Insurance and HOA dues rise at the same rate.
$
Optional. A blank counts as 0.
%
Optional. A blank uses 7%.

Better Financial Choice at Your Horizon

$0

Buyer Net Worth$0
Renter Net Worth$0
Breakeven Year$0

๐Ÿ“ Formula

Buyer net worth = home value โˆ’ loan balance โˆ’ selling costs + invested savings. Renter net worth = down payment and closing costs invested, plus the monthly difference invested, all at the investment return. Month by month, the cheaper path invests what it saves.

How to use the rent vs buy calculator

1

Enter the home price and your down payment

Type the price of the home you are weighing and your down payment, as dollars or as a percent of the price. Under 20% down, add a PMI rate in the optional box, because PMI is not charged at 20% down and the calculator only adds it below that line.

2

Enter the mortgage rate and loan term

Use the rate a lender quoted you. If you have no quote yet, the Freddie Mac 30-year average was 7.28% on November 19, 2026. Pick a 30, 20 or 15 year term.

3

Add the costs of owning

Enter the property tax rate, homeowners insurance per year, HOA dues if any, and maintenance as a percent of the home's value. Closing costs and selling costs are optional and fall back to 3% and 6% when blank. To count the tax effects, also enter your filing status, federal marginal tax rate and gains tax rate.

4

Enter the rent you would pay instead

Type the monthly rent for a comparable home and how much you expect it to rise each year. A blank rent increase uses 3%. Add renter's insurance if you carry it.

5

Set the growth assumptions and your time horizon

Enter home appreciation and the return on the money you would invest instead. Blank boxes use 3% and 7%. Choose how many years you plan to stay, from 1 to 30.

6

Read the verdict, the breakeven year and the sensitivity tables

The headline shows who is ahead at your horizon. The year-by-year table shows the whole path, and the sensitivity tables show how much the answer moves if appreciation or your investment return is different.

How the calculator compares renting and buying

This calculator follows both people month by month for up to 30 years and compares what each of them owns at the end. The buyer and the renter start with the same cash: the buyer spends it on the down payment and closing costs, and the renter invests it.

Every month the buyer pays the mortgage (principal and interest), property tax, insurance, maintenance, any HOA dues and any PMI, less any tax saving from itemizing. The renter pays rent and, if you add it, renter's insurance. Whoever spends less that month invests the difference at your investment return, compounded monthly. That last rule matters, because a renter who spends the savings on something else has no portfolio to compare.

The buyer's net worth at the end of any year is the home's value, minus the loan balance, minus the selling costs you would pay if you sold that year, plus any savings the buyer invested. The renter's is the portfolio. The year the buyer first pulls ahead is the breakeven year, and the table lists every year up to your horizon so you can see the path, not just the end point.

Rent vs buy calculator with investment

The investment side is the part most people skip. The renter's starting cash (the down payment plus closing costs) and every monthly saving go into an investment that grows at the return you enter, 7% a year when the box is blank. Set it to your own realistic figure, and use the second sensitivity table to see how far the verdict depends on it.

Three modelling choices are worth knowing. Property tax and maintenance are a percent of the home's current value, so they rise as the home appreciates. Insurance and HOA dues rise at the same rate as rent, as a stand-in for general cost growth. PMI is charged on the original loan until the balance falls to 80% of the price, which is a simplification of the real cancellation rules.

Reading your result: net worth, breakeven and the sensitivity tables

What the headline means

The headline compares net worth at the horizon you chose, so a 5-year answer and a 15-year answer can point in opposite directions on the same inputs. That is normal. Buying carries large costs at the start and at the end, and a longer stay spreads them out.

Why the breakeven year is the number to watch

The breakeven year is the first year-end at which the buyer's net worth is level with or ahead of the renter's. If your plan is to move in four years and the breakeven is year seven, the financial case for buying is weak even if the 15-year result looks good. "None in 30 years" means the renter is ahead at every year-end the calculator checks.

What would have to be true

The calculator solves for the home appreciation at which buying exactly matches renting at your horizon. Compare that figure with what homes in your area have actually done, not with a national average. It is a more useful test than any single forecast, because nobody knows future prices and everybody knows what they believe is plausible for their street.

The two sensitivity tables

One table changes only home appreciation and one changes only your investment return, each with the rest of your inputs held. They show which assumption is carrying your answer. If a one-point change flips the winner, treat the verdict as a coin toss and look at the non-financial side: stability, flexibility and how sure you are about the horizon.

The rent vs buy decision: what the numbers show

The rent vs buy decision is one of the most analyzed questions in personal finance, and the answer depends on three things: how long you plan to stay, local price-to-rent ratios, and what you do with the money you do not spend on the home. The common assumption that buying always beats renting does not hold in high price-to-rent markets or over short horizons.

The price-to-rent ratio is a useful first filter: divide the home's purchase price by a year of rent for a comparable property. A ratio below 15 generally favors buying, 15 to 20 is neutral and above 20 favors renting (common guideline, not a rule). National estimates for 2026 vary by data source and methodology (roughly 16 to 23, per published price-to-rent analyses), but individual markets differ far more sharply than the national figure suggests (the city figures below are illustrative, our rounded estimates):

MarketPrice-to-rent ratioTypical verdict
San Francisco, CA~40Strongly favors renting
New York City, NY~30Favors renting
Austin, TX~22Favors renting
National average (2026)~16 to 23Neutral to favors renting
Memphis, TN~10 to 12Strongly favors buying
Detroit, MI~10 to 12Strongly favors buying

In a market like San Francisco, a ratio of ~40 means you pay $40 of purchase price for every $1 of annual rent, and renting while investing the difference outperforms buying in most scenarios at that ratio. In cities like Detroit or Memphis, with ratios of 10 to 12, buying is almost always ahead. Use the mortgage calculator to see the monthly payment behind a purchase price before you compare it to rent.

The five-year rule of thumb

Buying and then selling a home costs roughly 7 to 12% of the purchase price in round-trip transaction costs. Buying runs about 2 to 5% (lender fees, title insurance, prepaid items and other closing costs; the buyer's agent commission is now negotiated separately since the National Association of Realtors (NAR) settlement) and selling runs about 5 to 7% (agent commissions, closing fees and transfer taxes). On a $400,000 home that is $28,000 to $48,000 (the closing costs calculator breaks out buyer and seller fees). Equity and appreciation have to recover that before the home beats renting. In most markets that takes 4 to 7 years, hence the five-year rule: if you are not confident you will stay five years, renting is usually the lower-risk financial choice.

The calculator above tests the rule instead of assuming it. In the worked example below the five-year rule does not hold at all, because a 7.28% mortgage makes the monthly cost of owning high enough that renting stays ahead for 30 years. At a lower rate or a higher rent, the breakeven moves toward the five-year mark.

The equity build vs opportunity cost trade-off

Homeownership builds equity two ways: principal paydown (slow at first, since early payments are mostly interest) and appreciation. The down payment and the monthly principal are capital you could invest instead. With a mortgage at 7%, paying it down is the same as earning 7% guaranteed on that money, which is competitive with most investments. At the roughly 3% rates of 2020 and 2021, investing the down payment in stocks at 7 to 10% could have outperformed the paydown, so a smaller down payment made sense. The calculator's investment-return box is where you test that for your own rate.

Weighing renting versus buying in South Africa? The SA property market has its own cost structure: transfer duty, conveyancing attorney fees and bond registration costs are all paid upfront by the buyer, which changes the breakeven horizon. Price-to-rent ratios in Cape Town, Johannesburg and Durban also differ from US norms. SA Property Tools has South African rent vs buy analysis alongside transfer duty, bond repayment and rental yield calculators.

Worked example: $380,000 home against $2,200 rent

Type these figures into the calculator to reproduce every number below. Home price $380,000, down payment $76,000 (20%), mortgage rate 7.28% (the Freddie Mac 30-year average on November 19, 2026), 30-year term, property tax 1.1%, insurance $1,500 a year, no HOA dues, maintenance 1%, closing costs 3%, selling costs 6%, appreciation 3%, rent $2,200 a month rising 3% a year, no renter's insurance, investment return 7%, monthly difference invested. All figures in this section are our arithmetic from the calculator's own model.

Month one. Principal and interest on the $304,000 loan is $2,080. Property tax is $348, insurance $125 and maintenance $317, so owning costs $2,870 a month against $2,200 of rent, a gap of $670. Both sides start with $87,400: the buyer's $76,000 down payment plus $11,400 of closing costs, which the renter invests instead.

After five years. The home is worth about $440,524 and the loan balance is about $287,000. Selling costs of 6% come to about $26,400, so the buyer's net worth is about $127,100. The renter, who invested the $87,400 and the monthly gap, holds about $166,700. Renting is ahead by about $39,700.

Why it does not catch up. Owning costs $670 a month more than rent at the start, the home appreciates only 3% a year and the renter's invested money earns 7%. The renter's lead peaks near year 22 at about $51,900 and narrows after that, but the renter is still ahead by about $44,200 at year 30. Raising any of the favorable assumptions changes the picture. The table below reports the net worth gap and the breakeven year at a 10-year horizon, changing one input at a time.

One input changed at a time from the worked example, ahead at 10 years.
ScenarioAhead at 10 yearsBreakeven
Worked example as enteredRenter by $44,855None in 30 years
Home appreciation 4% a yearRenter by $2,219Year 11
Home appreciation 5% a yearBuyer by $44,491Year 6
Home appreciation 0% a yearRenter by $151,317None in 30 years
Investment return 5% a yearRenter by $3,067Year 11
Investment return 3% a yearBuyer by $31,685Year 7
Rent $2,600 a monthBuyer by $33,181Year 7
Rent $3,000 a monthBuyer by $111,216Year 4
Mortgage rate 6.5%Renter by $12,574Year 14
Mortgage rate 5.5%Buyer by $28,043Year 7
10% down ($38,000), PMI 0.8% a yearRenter by $81,961None in 30 years

Two of those rows say more than the rest. Appreciation of 5% a year makes buying win at 10 years and pulls the breakeven to year 6. A rent of $3,000 makes buying win by year 4. The same house, in the same year, can be a good purchase in one market and a poor one in another, which is exactly what the price-to-rent ratio is trying to summarize.

The 10% down row is a reminder that a smaller down payment is not automatically cheaper. A larger loan at 7.28%, plus PMI at an illustrative 0.8% a year, costs more than the 7% the freed-up cash earns.

What owning really costs, line by line

Property tax

Property tax is set locally, so the rate in your county decides it. The national effective rate is about 0.89% of home value (our arithmetic from the Census Bureau's American Community Survey), and the calculator suggests 1.1% as our planning default. States and even counties differ a lot, so check the real rate for the home you are pricing. The Property Tax Calculator has the state-level rates.

Insurance

Homeowners insurance ranges from about $1,500 to $3,000 a year on our estimate, and it can be well above that where storm, wildfire or flood risk is high. Renters pay far less for their own cover, which is why the calculator has a renter's insurance box.

Maintenance

Budget 1 to 2% of the home's value each year as common practice. A $380,000 home at 1% is $3,800 a year, about $317 a month. Maintenance does not arrive evenly: a roof or a water heater can cost thousands in one year and nothing the next, so the calculator spreads the average.

HOA dues

If the home has an HOA, add the dues. They are paid monthly, rise over time and do not build any equity. They are usually the biggest line that condo buyers forget.

PMI

Private mortgage insurance may be required on a conventional loan when you put down less than 20% (Consumer Financial Protection Bureau). The cost varies with your credit and loan size, so the calculator has an optional rate box and charges PMI until the balance falls to 80% of the price.

Closing and selling costs

The calculator uses 3% to buy and 6% to sell when you leave the boxes blank, inside the 2 to 5% and 5 to 7% ranges used across this site. They are our planning defaults, not quotes. Since selling costs are deducted from the buyer at every horizon, the year-by-year table shows buying at its weakest in the early years, which is accurate: a home you sell after one year rarely pays for itself.

How the tax boxes work

Enter your federal marginal tax rate and the calculator tests, year by year, whether itemizing beats the standard deduction. The 2026 standard deduction is $16,100 for single or married filing separately, $32,200 for married filing jointly and $24,150 for head of household (IRS Publication 505, read November 23, 2026). The buyer's itemized deductions are mortgage interest, property tax and your state and local income tax, plus any other itemized deductions you enter.

Two limits apply. Mortgage interest counts on up to $750,000 of acquisition debt, or $375,000 if you are married filing separately (IRS Publication 936; older loans have a higher limit that the calculator ignores). The calculator compares that limit with the average loan balance each year, so the share of interest it counts rises as the balance falls.

State and local taxes (SALT), meaning property tax plus state income tax, are capped at $40,400 for 2026 ($20,200 if married filing separately). The cap shrinks once your modified adjusted gross income passes $505,000 ($252,500 if married filing separately), down to a floor of $10,000 ($5,000 if married filing separately), according to IRS Publication 505. The calculator applies the full cap for your filing status and does not model that reduction, so treat the result with care above that income.

A renter can also itemize state tax and other deductions, so the calculator counts only the extra saving that owning creates, at your one marginal rate. On the worked example, a single filer at a 24% rate who pays $8,000 of state income tax has about $34,300 of itemized deductions in year 1 against a $16,100 standard deduction, so owning saves about $4,360 that year (our arithmetic). That turns the 10-year result into buying ahead by about $16,300, with breakeven in year 8.

A married couple filing jointly with the same numbers has $32,200 to beat, so owning saves only about $500 a year and renting stays ahead. Entering a 15% gains tax rate on the untaxed worked example narrows the renter's 5-year lead from about $39,700 to about $33,100.

The gains tax box covers three things: growth on the renter's portfolio, growth on any savings the buyer invests, and any profit on the home above the sale exclusion. The IRS lets many people exclude up to $250,000 of gain on the sale of a main home, or $500,000 on a joint return, if they owned and lived in it for at least 2 of the last 5 years (IRS Topic 701, read November 23, 2026). The calculator applies the exclusion from a 2-year horizon and takes the home gain as the sale price less selling costs less the purchase price, ignoring closing costs in the basis and improvements.

Rent vs buy by location, and in the UK, Canada and Australia

Rent vs buy calculator for California, NYC and other high-price markets

The California and New York City versions of this search land in the high price-to-rent markets of the table above: San Francisco about 40 and New York City about 30 (illustrative, our rounded estimates). At those ratios the buyer starts far behind, so test appreciation hard using the sensitivity table and the "what would have to be true" line, and use your own county's property tax rate and insurance quote.

Why location changes the answer

Searches for a rent vs buy calculator often add a city or a state, and the reason is that four inputs move with location: the price-to-rent ratio, the property tax rate, home appreciation and insurance. Replace each of them with figures for your own area and the verdict can reverse. The table above shows how wide the price-to-rent spread is between cities. Use rents and prices for the same neighborhood, and for the same kind of home, or the ratio means nothing.

Using the calculator outside the US

The method does not depend on the country, because it compares two paths in one currency. Ignore the dollar sign, type your own figures, and put your purchase taxes in the closing cost box: stamp duty in the UK, land transfer tax in many Canadian provinces and state stamp duty in Australia. Our Closing Costs Calculator covers US closing costs and the Land Transfer Tax Calculator (Canada) covers the Canadian tax. For Australian loans see the Australia Mortgage Repayment Calculator, and for UK loans the UK Remortgage Calculator. If the Australian property is an investment, the Australia Rental Yield Calculator shows its yield and cash flow.

Leave the tax boxes empty. The US mortgage interest deduction and gains rules do not carry over to other countries, and the calculator does not model any other country's tax rules. A dedicated UK, Canada and Australia version would need those rules read from the primary sources first.

Mistakes that skew a rent vs buy comparison

Comparing the mortgage payment to rent. Principal and interest are a little under three-quarters of the monthly cost of owning in the worked example. Tax, insurance and maintenance are the rest.

Forgetting the renter's investments. If the renter saves $670 a month by not owning and then spends it instead of investing it, the renter's side of the comparison is wrong. Leave the invest-the-difference setting on yes unless you know you will spend it.

Picking a horizon you will not keep. Staying three years when the breakeven is six is a bad purchase on the numbers, whatever you hoped. Treat the horizon as a firm plan, not a guess, and look at the year-by-year table either side of it.

Using the national average for a local decision. Appreciation and the price-to-rent ratio vary more between cities than between years. A national figure is a placeholder.

Ignoring the lock-in. A rent can be renegotiated or exited at the end of a lease, and a home cannot. That flexibility has a value the net worth figures do not price.

What the calculator leaves out

It compares money, and it leaves several things to you.

  • The detail of your tax return. The tax boxes apply one flat marginal rate to the extra deduction. They use the base standard deduction, so there are no age or blindness add-ons, and they count no PMI deduction. The calculator estimates; it does not file your return.
  • Moving costs and furniture. Both are yours to add to the closing and selling costs.
  • Special assessments and big repairs. The maintenance percent averages them out.
  • Rent control, lease length and landlord risk. The rent increase box is a flat yearly rate.
  • Interest rate changes. The loan is a fixed rate for the whole term and ignores refinancing.

Is there a reliable breakeven point between renting and buying?

What is the five-year rule of thumb, and why five years?

The five-year guideline is the transaction costs above, spread over time. Selling after 1 or 2 years frequently loses money even in a rising market, and the year-by-year table shows it directly: the buyer is at their weakest in year 1 and recovers from there.

How much does the local price-to-rent ratio matter?

It is the quickest local filter, though not the verdict. The worked example's ratio is 14.4 ($380,000 divided by $26,400 of annual rent), just under the 15 line, yet renting stays ahead for 30 years because the mortgage rate and appreciation do the damage. A ratio near the line means the result depends on the assumptions, so test them with the sensitivity tables. The rent-to-price ratio is the inverse (monthly rent divided by price). In the example it is about 0.58%, below the 1% that landlords use as a quick screen for a strong rental.

โš ๏ธ Disclaimer This comparison depends heavily on your appreciation, investment-return and time-horizon assumptions: small changes to any of them can flip the result. Figures are estimates for planning purposes only, not a guarantee of financial outcome. Consult a financial advisor for a decision this significant.

Frequently Asked Questions

It depends on your horizon more than on the date. With the 30-year rate at 7.28% (Freddie Mac, November 19, 2026, up from 7.11% the week before and 6.26% a year earlier), the monthly cost of owning sits well above the same home's rent in many markets, so the breakeven year moves later. In expensive coastal metros renting is often ahead for horizons under 5 to 7 years (common guideline, not a forecast). Run your own price and rent: if the breakeven falls before the year you expect to move, buying holds up. If it falls after, renting and investing the difference is the safer path.
No. Buying makes financial sense when you stay past the breakeven year, the price-to-rent ratio is reasonable and your income is stable. Renting wins when you might move soon, when the home costs a lot relative to the rent, or when you would invest the difference and earn a return above the home's appreciation.
Use the breakeven year in the result box. In our worked example (our arithmetic, tool inputs listed in the article) buying does not catch up within 30 years at 3% appreciation. At 4% appreciation it catches up in year 11, and at 5% in year 6. With a rent of $3,000 instead of $2,200 it catches up in year 4.
In the worked example the loan payment is $2,080 against $2,200 of rent, yet owning costs $2,870 a month, because the mortgage payment is only part of owning. Property tax, insurance, maintenance, HOA dues and PMI sit on top of it, and the closing and selling costs are paid once. The calculator adds every one of them to the buyer's monthly outflow, then compares it to rent plus the return on the cash you keep.
Divide the home price by a year of rent for a comparable property. Below 15 favors buying, 15 to 20 is neutral and above 20 favors renting (common guideline, not a rule). National estimates vary by data source and methodology, roughly 16 to 23 in 2026, and there is no single official government figure. Illustrative city examples, our rounded estimates: San Francisco about 40, New York City about 30, Austin about 22.
Only if you will really do it. The default setting invests whatever the cheaper option saves each month, which is the fair comparison. Switch the box to no and the saving is simply spent. On the worked example that change alone moves the result from renting ahead by about $39,700 to buying ahead by about $3,200 at five years, which shows how much of renting's lead comes from investing.
Yes, once you enter your federal marginal tax rate. Each year the calculator tests whether itemizing beats the 2026 standard deduction, using mortgage interest, property tax and your state income tax, and it counts only the extra saving that owning creates over what a renter would deduct. With the rate box empty no tax effect is counted. The 2017 tax law's larger standard deduction means fewer homeowners itemize than before, so for many buyers the saving is small or zero.
The same math applies, with two changes. HOA dues are usually higher on a condo and rise over time, so enter them in the HOA box. A special assessment is a one-off bill the calculator does not model, so keep a reserve for one.
On the $380,000 example, the blank-box defaults are $11,400 to buy (3%) and about $26,400 to sell at year 5 (6% of the $440,524 sale price). Both are our planning defaults, so replace them with your lender's closing estimate and your agent's commission quote as soon as you have them.
Yes, with your own figures, because the method compares two paths in one currency. Localize three boxes first: the purchase tax inside closing costs, the property tax or local rates box, and the investment return. Leave the tax boxes empty, since the US deduction and gains rules do not carry over.
Use a quote from a lender for your own credit profile. Freddie Mac's weekly average (7.28% for a 30-year fixed on November 19, 2026) is a national benchmark, not an offer, and the rate you get can sit above or below it. Test your rate and a point either side: the breakeven year shifts a lot when the rate moves.
Closing costs of 2 to 5% of the price are the first surprise. The others are PMI under 20% down and HOA dues that rise every year, and the cost of the cash itself: on the worked example the $87,400 you put in at closing could earn about $6,100 a year at 7%. The calculator covers all of them except moving costs and furniture, which are yours to add on top.
Plan for the down payment (3 to 20% of the price), closing costs (2 to 5%), an emergency fund of 3 to 6 months of expenses after closing and a maintenance reserve of 1% of the home's value a year. On a $350,000 home with 10% down that is $35,000 plus $10,500 of closing costs, so $45,500 at minimum before the emergency fund and maintenance reserve.

Sources & Methodology

Figures were read from these sources, and the labels in the text say which are our estimates or our arithmetic:

Closing costs, selling costs, maintenance, insurance, appreciation, investment return and the price-to-rent thresholds are our estimates or common practice, with their method recorded in our rates register. The calculation is our own month-by-month model.