USD · Fixed-rate mortgage · Before tax

Rent vs Buy Calculator

Compare housing cash flows and projected wealth under your assumptions.

Your comparison

Defaults are illustrative. Use comparable homes, local costs and your loan quote.

Purchase price before closing costs.
Cash percentage of the purchase price; 100% means no loan.
Use the loan interest rate, not APR. Enter fees separately.
Fixed repayment term; no loan is modeled at 100% down.
Use rent for a comparable home; exclude separately entered costs.
Whole years to compare; each year-end assumes a home sale.
Assumed annual price change; not a forecast.
Assumed annual return after fees, before tax; not guaranteed.
Advanced assumptions
Rent changes annually after the first year.
Changes insurance, HOA and extra costs; mortgage payments stay fixed.
Applied to start-of-year modeled home value, not local assessed value.
Based on start-of-year modeled home value; treated as spent.
Annual premium; include any extra coverage you need.
Monthly premium, separate from the rent above.
Monthly association fees; exclude costs already entered elsewhere.
Extra recurring owner costs, such as differing utilities or parking.
Use the lender’s monthly amount; no automatic PMI cancellation.
Whole years to charge it; stops earlier if the loan ends.
Nonrefundable fees paid in cash; exclude down payment and refundable escrow.
Percentage of sale value; 6% is an editable example.
Extra recurring renter costs; avoid counting the same expense twice.

Inputs are processed in your browser. Method & assumptions.

Projected outcomes

Nominal USD, before tax. Prices and returns are assumptions.

Buying: projected wealth

—

After selling costs and the remaining loan, plus buyer investments.

Renting: projected wealth

—

Invested starting cash and subsequent monthly savings, including growth.

Enter valid inputs to calculate a comparison.

Comparison summary

Shared starting cash
—
Initial housing payments: buy / rent
— / — per month
Initial monthly invested difference
—
First year buying leads
—

Year-end comparisons do not predict a guaranteed break-even date.

Cash & mortgage details
Starting cash, mortgage payment and loan balance in USD
Down payment—
Buyer closing costs—
Monthly mortgage principal + interest—
Remaining loan at horizon—

Applied assumptions will appear after the comparison runs.

Assumes you can fund the higher housing payment and invest the difference. Affordability, tax effects and automatic PMI cancellation are not calculated. Educational-use disclaimer.

Method & assumptions

Buying wealth

Home value − selling costs − remaining loan + buyer investments

Renting wealth

Renter investment portfolio at the comparison date

Both options start with the same cash. The cheaper housing option invests the monthly difference at month end. Results are before tax and not inflation-adjusted.

Year-by-year comparison

Buying wealth assumes a sale at that date, after selling costs and the remaining mortgage, plus the buyer's investments. Renting wealth is the renter's investments. Positive difference favors buying; negative difference favors renting. Year 0 is the starting position after buying costs, including a hypothetical immediate sale.

Projected wealth at each year-end, in nominal USD before tax
YearHome valueLoan balanceBuyer investmentsBuying wealthRenting wealthBuying − renting

Enter valid inputs to view the year-by-year projection.

Detailed methodology & sources

How this Rent vs Buy calculator works

The comparison gives both options the same starting cash and monthly housing budget. It estimates the financial difference under your chosen inputs; it does not forecast prices, recommend a property or investment, or determine mortgage eligibility.

Same cash upfront

The buyer spends the down payment and nonrefundable closing costs. The renter invests that same total amount at the start. The buyer's starting investment portfolio is $0. Starting cash beyond this comparison is excluded equally.

Shared starting cash = price × down payment % + price × buyer closing costs %

Same monthly housing budget

Each month, both options have a housing budget equal to the higher of their modeled housing payments. The cheaper option invests the difference at the end of that month. This can favor the renter early and the buyer later, including after the mortgage is repaid. No extra return is applied to a new contribution until the next month.

Monthly savings invested = higher housing payment − lower housing payment

Ownership payments include mortgage principal and interest, estimated property tax, estimated maintenance costs treated as spent, insurance, HOA, applicable mortgage insurance and extra owner-only expenses. Rental payments include rent, renters insurance and extra renter-only expenses. Common living expenses and common savings are excluded from both options.

Mortgage and growth calculations

A fixed mortgage is amortized monthly at your annual interest rate divided by 12. Use the loan interest rate, not APR; enter nonrefundable loan fees separately in buyer closing costs. At 0% interest, its payment is simply loan amount divided by the number of payments. Payments and mortgage insurance stop when the modeled loan is repaid.

Payment = loan × monthly rate ÷ [1 − (1 + monthly rate)−number of payments]

Investment growth uses the monthly factor (1 + annual return)1/12, where the return is a decimal. Home value, rent and other recurring costs change once a year at their respective assumptions. Property tax and maintenance apply to the home value at the start of each year. The mortgage-insurance amount is fixed for the duration you entered while a loan remains.

Wealth at the comparison date

Buying wealth = home value − selling costs − remaining mortgage + buyer investments
Renting wealth = renter investments

Closing costs and recurring housing payments affect the cash available to invest; they are not subtracted again from final wealth. Selling costs are deducted once when comparing a hypothetical sale. If sale proceeds do not cover the mortgage, the shortfall stays negative instead of being hidden.

A worked cash-flow example

With the illustrative $450,000 price, 20% down payment and 3% buyer closing costs, both options start with $103,500: the buyer uses $90,000 as the down payment and $13,500 for closing costs; the renter invests $103,500. A 30-year mortgage at 6.5% costs about $2,275.44/month for principal and interest. With the default taxes, maintenance and home insurance, initial ownership costs are about $3,187.94/month. Rent plus renters insurance is $2,220/month, so the renter initially invests about $967.94/month. The monthly difference changes as the modeled costs change.

Why the 5% Rule is only a rough shortcut

The popular 5% Rule combines rough estimates for property tax, maintenance and the cost of capital. Those figures are not fixed local rates and may not fit your interest rate, property or investment assumptions. This calculator uses the costs you enter instead of applying a universal 5% rule. There is no guaranteed 5–7 year holding period that makes buying win.

Limitations to understand

  • All results are nominal USD before tax, not inflation-adjusted purchasing power. Investment return is assumed after fees; the calculator does not subtract separate fund fees.
  • Tax deductions, capital-gains tax, investment taxes, state rules, loan-program charges, refinancing, adjustable rates, mortgage qualification and automatic PMI cancellation are not calculated.
  • Refundable deposits, escrow balances, one-time moving or renovation costs, and investment liquidation fees are excluded. Include recurring differences in the extra cost inputs where appropriate.
  • Constant modeled growth does not represent market volatility, sudden repairs, special assessments, changes in insurance availability or a property's liquidity.
  • The model assumes you can fund the higher monthly housing payment and consistently invest the difference. It does not calculate an affordable purchase price or include a personal emergency fund.
  • The first year buying leads is the first favorable year-end within your selected horizon. That lead can disappear later; use the full table and try several return and cost assumptions.
  • Calculations use unrounded modeled values; displayed and exported amounts are rounded independently.

Sources and further reading

CFPB: budgeting for ownership and upfront costs explains the expenses to review. SEC Investor.gov: stock investment risks explains why investment outcomes are uncertain. IRS Publication 936 covers mortgage-interest deduction rules, which this model excludes.

PennyRatio was created by Kamal Singh, an independent web developer and calculator creator. Read about the project’s purpose, methods and limitations. Check local costs and your own loan documents. Contact us to report a calculation or content issue.

Frequently asked questions

Does the calculator store or send my financial inputs?
The calculator’s code does not save or send your financial inputs. Calculations and CSV export run in your browser. Optional Google Analytics loads after permission. Saved choices are respected where storage is available; closing settings keeps an existing choice. Custom calculator-link events contain tool ID and placement, not price or rent values. See the Privacy Policy.
Is renting throwing money away?
Rent pays for housing and flexibility. Homeownership builds equity but also involves interest, taxes, insurance, maintenance and transaction costs. The comparison depends on local prices, comparable rent, your holding period and whether you invest the available savings. Neither choice is always financially better.
What does the renter invest, and can the buyer invest too?
The renter starts by investing the cash the buyer uses for the down payment and buyer closing costs. Each month, whichever option has lower modeled housing payments invests the difference. If owning becomes cheaper, the buyer invests those savings. The same assumed investment return applies to both portfolios.
Are taxes, insurance and closing costs included?
The editable estimates in Advanced assumptions include property tax, maintenance, home and renters insurance, HOA, mortgage insurance, buyer closing fees and selling costs. They are illustrative values, not local quotes. Tax deductions and taxes on investment gains or a home sale are excluded. You can enter recurring costs that differ between the two options.
Does buying always break even after 5–7 years?
No. There is no universal break-even period. The result can change with rent, borrowing costs, maintenance, transaction fees, price changes and investment returns. The first year buying leads is only a modeled year-end within your selected horizon, and it does not guarantee that buying stays ahead afterward.
Can I use 0% interest or a 100% down payment?
Yes. At 0% interest, mortgage principal is repaid evenly over the chosen term. At 100% down, there is no mortgage payment. Zero growth and negative home-value or investment-growth assumptions are also supported. Negative purchase prices and invalid percentages are rejected instead of silently replaced with defaults.
Is this an after-tax or mortgage-approval calculation?
No. It is a nominal USD, before-tax comparison using a fixed mortgage and user-entered costs. It does not apply state or federal tax rules, determine loan eligibility, or predict future prices and returns. Consider affordability, taxes, personal circumstances and nonfinancial factors separately.