Methodology

Every default, formula, and source the calculator uses. Enough to reproduce any number yourself. If something on the results page cannot be re-derived from what is on this page, it is a bug — please tell us.

Default inputs and their sources

Every value in the table below is the pre-filled default the calculator loads on first visit. Each is editable — override any of them in the form and the answer updates live. The "source" column is the same citation you see in the tooltip beside each field.

Input Default Source
Monthly rent$1,500/mo
US Census ACS — median gross rent — US median gross rent from the 2023 American Community Survey (5-year estimate). Rounded to the nearest $50. View source
Home price$420,000
NAR — median existing-home sale price — National Association of Realtors monthly existing-home sales report; national median for single-family homes. View source
Down payment20%
NAR Profile of Home Buyers and Sellers — Median down payment for repeat buyers; also the conventional threshold to avoid private mortgage insurance. View source
Mortgage rate (30-yr fixed)6.5%
Freddie Mac PMMS — 30-year fixed rate average — Weekly Primary Mortgage Market Survey; national average for the 30-year fixed conventional loan. View source
Mortgage term30 years
Freddie Mac PMMS — anchor product — 30-year fixed is the most common US mortgage term and Freddie Mac's headline PMMS series. View source
Decision horizon (years staying)7 years
NAR — median seller tenure — NAR Profile of Home Buyers and Sellers: recent sellers had lived in their home a median of 10 years; first-time buyers turn over sooner (~7 years). We anchor on the shorter figure because it is the more common decision horizon. View source
Home appreciation3.5%/yr
FHFA House Price Index — long-run US average — Compound annual growth rate of the FHFA seasonally-adjusted purchase-only HPI over the last 30 years. Long-run figure to avoid over-weighting recent volatility. View source
Rent inflation3%/yr
BLS CPI — rent of primary residence — Ten-year CAGR of the BLS Consumer Price Index for rent of primary residence, national. View source
Investment return (discount rate)7%/yr
S&P 500 — long-run nominal return — Approximate nominal long-run return of a diversified US equity portfolio. Editable — use 5% for a conservative bond-heavy mix, 8% for aggressive equity-only. View source
Property tax rate1.1%/yr
Tax Foundation — effective property-tax rates — US national average effective property-tax rate on owner-occupied housing (~1.1%). State overlays run from ~0.3% (Hawaii) to ~2.2% (New Jersey). View source
Home insurance$1,500/yr
Insurance Information Institute — homeowners insurance — US national average annual homeowner's insurance premium for a standard HO-3 policy. Editable — coastal, wildfire, or high-value locations run considerably higher. View source
Maintenance reserve1% of home value/yr
1% rule — long-run maintenance reserve — Rule-of-thumb reserve of ~1% of home value per year covers routine repairs, systems replacement, and periodic renovation. Harvard JCHS Improving America's Housing reports also cluster around this figure. View source
HOA / condo fees$0/mo (none by default)
US Census AHS — HOA / condo fees — American Housing Survey: most single-family homes have no HOA. Median HOA where present is around $200/mo; luxury / condo buildings can be materially higher. Zero by default. View source
Renter's insurance$180/yr
Insurance Information Institute — renters insurance — Approximately $15/mo national average renter's insurance premium, per Insurance Information Institute survey data. View source

Property tax on the metro pages

The calculator's default property-tax rate is a national average, shown in the table above and editable like everything else. Our per-metro pages replace it with a local figure, and there is one rule for how that figure is computed:

The effective property-tax rate is computed on a new buyer's assessed basis — published millage or levy rates applied to that page's purchase price, net of the homestead relief a new owner-occupier can claim — and never on an owner-average ratio such as median taxes paid divided by median home value.

The owner-average shortcut is tempting because the Census Bureau publishes both halves of it for every metro. It measures the wrong taxpayer wherever assessment is capped for incumbents and reset on sale: Florida's Save Our Homes cap and Texas's 10% homestead cap both make a long-tenured owner's bill a poor guide to a buyer's. It also drifts even where nothing is capped, because the survey window averages several years of levy rates and pairs them with a metro-wide, all-homes median value rather than the single-family price the page is actually pricing.

So every metro page derives its rate, names the levying bodies, shows the arithmetic and the resulting annual dollar figure, and prints the Census ratio beside it as a contrast — including where the two agree. "We checked and it reconciles" and "we never checked" must not look the same on a page.

Transaction-friction by jurisdiction

Buying and selling a home carries one-off cash costs that a rent-vs-buy model has to bake in — otherwise the owner-side answer is silently optimistic. The calculator ships with four jurisdictions today; each specifies the three levers below. Pick a different jurisdiction in the "Assumptions" panel to switch the whole set at once.

United States (national baseline) (USD)

Buyer closing costs
2.00% of purchase price + $1,500 fixed — Bankrate 2024 closing-costs survey (buyer-side typical range 2–5% of price, excluding transfer taxes).
Transfer tax / stamp duty
None at the modelled level. — Tax Foundation — no federal real-estate transfer tax; state and local rates vary from 0% to ~2%.
Selling-agent commission
6.00% of sale price — National Association of Realtors historical practice (pre-March-2024 settlement); commissions now negotiable but 6% remains the headline reference rate.

Canada — Ontario (CAD)

Buyer closing costs
1.50% of purchase price + CA$2,000 fixed — Ontario Real Estate Association buyer-cost guidance — typical 1.5–4% of purchase price (legal, title, inspection, adjustments).
Transfer tax / stamp duty
Marginal-rate schedule: 0.50% up to CA$55,000; 1.00% up to CA$250,000; 1.50% up to CA$400,000; 2.00% up to CA$2,000,000; 2.50% above the top tier. — Ontario Ministry of Finance — Land Transfer Tax Act, rates in force 2024–25 (0.5% / 1.0% / 1.5% / 2.0% / 2.5% marginal tiers).
Selling-agent commission
5.00% of sale price — Canadian Real Estate Association / Toronto Real Estate Board — standard 5% total commission (2.5% listing + 2.5% co-operating agent).

Australia — New South Wales (AUD)

Buyer closing costs
0.50% of purchase price + A$2,000 fixed — NSW Fair Trading conveyancing guidance and industry conveyancer surveys — legal work $1,000–$2,000 + building & pest $400–$700 + lender application fees.
Transfer tax / stamp duty
Marginal-rate schedule: 1.25% up to A$16,000; 1.50% up to A$35,000; 1.75% up to A$93,000; 3.50% up to A$351,000; 4.50% up to A$1,168,000; 5.50% up to A$3,505,000; 7.00% above the top tier. — Revenue NSW — Duties Act 1997 §32 transfer-duty schedule, rates effective 1 July 2024 (1.25% / 1.5% / 1.75% / 3.5% / 4.5% / 5.5% / 7.0% marginal tiers).
Selling-agent commission
2.20% of sale price — Ratemyagent 2024 NSW agent-commission survey — median ~2.2% (typical 2.0–2.5% range, GST-inclusive).

Australia — Victoria (AUD)

Buyer closing costs
0.50% of purchase price + A$2,000 fixed — Consumer Affairs Victoria conveyancing guidance and industry conveyancer surveys — legal work $1,000–$2,000 + building & pest $400–$700 + lender application fees.
Transfer tax / stamp duty
Marginal-rate schedule: 1.40% up to A$25,000; 2.40% up to A$130,000; 6.00% up to A$960,000; 5.50% up to A$2,000,000; 6.50% above the top tier. — State Revenue Office Victoria — Duties Act 2000 general (non-PPR) land-transfer-duty schedule (1.4% / 2.4% / 6.0% / 5.5% / 6.5% marginal tiers; the $960K–$2M band is modelled as marginal 5.5%, matching the SRO flat-slab rule exactly at $2M).
Selling-agent commission
2.20% of sale price — Ratemyagent / OpenAgent 2025 Victoria agent-commission surveys — statewide median ~2.0% ex-GST, ~2.2% GST-inclusive; Melbourne metro typical 1.6–2.5%.

Formulas

Mortgage payment

Standard fixed-rate amortization:

M = P × i(1+i)^n / ((1+i)^n − 1)
  • M — fixed monthly principal-and-interest payment.
  • P — loan principal = home price − down payment.
  • i — monthly interest rate = annual rate / 12.
  • n — total monthly payments = term (years) × 12.

Interest is computed on the remaining balance each month and rounded to the cent; principal is the remainder; the final month absorbs any rounding drift so the balance closes to exactly $0.00.

Opportunity-cost portfolio

Both renter and buyer start with identical wealth — the down payment plus buy-side transaction costs. The buyer spends it acquiring the home; the renter invests it at the discount rate. Each month, whoever has the cheaper housing bill deposits the difference into their own investment portfolio; both portfolios compound at the same discount rate. This keeps the comparison symmetric and prevents the model from silently discarding the buyer's late-horizon cash advantage.

portfolio(t) = portfolio(t-1) × (1 + r/12) + deposit(t)

Home value and equity

home_value(t) = home_price × (1 + g/12)^t
loan_balance(t) = from amortization schedule
equity(t) = home_value(t) − loan_balance(t)

Transaction friction

buy_cost = closing_costs(price) + transfer_tax(price)
sell_cost(t) = commission × home_value(t)

sell_cost is applied hypothetically at every month, not only at the horizon — the "what if I sold today" framing is the honest one because it shows how long buying takes to overcome its own upfront friction. Toggle "I plan to hold indefinitely" in the assumptions panel to remove sell_cost entirely (forever-home framing).

Net worth

rent_nw(t) = renter_portfolio(t)
own_nw(t)  = equity(t) − sell_cost(t) + owner_portfolio(t)

Break-even year

The smallest year boundary Y at which own_nw(Y) ≥ rent_nw(Y). Returns nothing when owning never overtakes renting inside the chosen horizon — the results view says so explicitly and does not invent a fake break-even year.

Worked example — the default US scenario

Plug the defaults from the table above into the mortgage formula and you get the same monthly payment the calculator shows. Reproducing this on the back of an envelope should take under a minute; if it doesn't match what you see in the results view, either the calculator has a bug or this page is out of date. Either way, tell us.

  • Home price Phome = $420,000
  • Down payment = 20% = $84,000
  • Loan principal P = $336,000
  • Nominal annual rate = 6.5% → monthly i = 0.541667%
  • Term = 30 years → n = 360 months
  • M = $336,000 × 0.005417(1+0.005417)360 / ((1+0.005417)360 − 1) ≈ $2,124/mo

The break-even engine wraps this into the full month-by-month cashflow comparison described above. The complete source lives at src/math/breakEven.ts, src/math/mortgage.ts, src/math/portfolio.ts, and src/math/transactions.ts — each function is pure, deterministic, and covered by unit tests including a golden-number regression on this default scenario.

Versioning

Any change to a default value or a formula is a code change with a user-visible commit message — never silent. This page is generated from the same constants the calculator loads at runtime, so if the calculator updates, this page updates with it. There is no separate "content source" to drift out of sync.

Suggested change to a default or a source? Open an issue or a pull request against the repository. We ship the calculator, but we do not own the truth — the citations do.

Each entry below argues one line of this page in full — where the number comes from, how wrong it can plausibly be, and what happens to the break-even year when you move it.

The full library is at Learn. When you are ready to put your own numbers in, go back to the rent-vs-buy calculator — every default listed on this page is editable there, and the answer updates as you type.