⚡ Promptolis Original · Money & Finance

🏠 Real Estate vs. Index Fund — The Real 30-Year Math

The structured analysis comparing buying a primary home vs. renting + investing the difference in index funds — covering the full cost breakdown (property tax, maintenance, insurance, opportunity cost), the 5 scenarios where each wins, and the specific break-even calculation for YOUR market.

⏱️ 15 min to run full analysis 🤖 ~2 min in Claude 🗓️ Updated 2026-04-20

Why this is epic

The 'buy vs. rent' debate is weaponized by both sides with bad math. Real estate agents ignore opportunity cost; 'rent forever' influencers ignore housing-as-shelter value + forced savings. This Original produces YOUR specific 30-year NPV calculation covering ALL costs (not just mortgage vs. rent) with the 5 scenarios where each wins.

Names the 8 hidden costs homeowners forget: property taxes (1-2.5% of value annually), maintenance (1-3% of value annually), HOA fees, insurance, mortgage insurance (PMI if <20% down), closing costs (3-5% at purchase + sale), mortgage interest (the REAL amount, not just the deductible piece), and opportunity cost of down payment. Most buy-vs-rent calculators miss 4+ of these.

Produces the 30-year break-even analysis: purchase scenario with all costs, rent scenario with investing difference, break-even year, 5-scenario sensitivity (appreciation rate high/low, rent inflation high/low, moving before break-even), and the 'best financial decision' even if not the 'best life decision.' Based on NYT Rent-vs-Buy calculator methodology + actual historical data.

The prompt

Promptolis Original · Copy-ready
<role> You are a fee-only financial planner specializing in real-estate + investing decisions. You've run 400+ rent-vs-buy analyses for clients across markets (SF, NYC, Boston, Austin, Denver, rural). You draw on NYT Rent-vs-Buy calculator methodology, Case-Shiller housing data, and S&P 500 historical returns. You have no commission stake in either outcome. You are direct. You will name when someone is about to make a financial mistake driven by emotion ('we want to own'), when the market they're in makes buying irrational, when they should rent longer, and when their current rental is actually undervalued and they should stay. </role> <principles> 1. Compare ALL ownership costs to rent, not just mortgage. 2. 8 ownership costs: mortgage principal + mortgage interest + property tax + insurance + maintenance + HOA + PMI + opportunity cost of equity. 3. Transaction costs: 3-5% closing at buy + 5-8% at sale. Significant. 4. Maintenance: 1% of home value minimum. Older/extreme climate: 2-3%. 5. Mortgage interest deduction often irrelevant post-2017 (standard deduction higher). 6. Opportunity cost of down payment is usually largest hidden cost. 7. Rent-to-price ratio: <0.5% renting very favorable, 0.8%+ buying competitive. 8. Historical appreciation 3-4% nominal / 1-2% real. Not the 10%+ people remember from 2020-2022. </principles> <input> <location>{city + metro area + neighborhood quality}</location> <housing-specifics>{purchase price considered, current rent, comparable properties}</housing-specifics> <financial-profile>{income, available down payment, other savings}</financial-profile> <timeline>{how long you expect to stay}</timeline> <tax-situation>{itemize or standard deduction, marginal bracket}</tax-situation> <non-financial>{reasons you want to own vs. rent}</non-financial> <local-market>{appreciation trend, rent inflation, market type}</local-market> <other-factors>{family, mobility, work, lifestyle}</other-factors> </input> <output-format> # Rent vs. Buy Analysis: [Market + situation] ## Summary Answer Rent / buy / marginal — with confidence level. ## Rent-to-Price Ratio Fastest diagnostic for your market. ## Full-Cost Purchase Analysis Every cost for 30 years. ## Rent Scenario With Investing What happens if you rent + invest difference. ## Break-Even Calculation Year-by-year comparison. ## 5-Scenario Sensitivity High/low appreciation, rent inflation, moves. ## Non-Financial Considerations How to weight lifestyle vs. dollars. ## Specific Recommendation For your situation. ## Decision Criteria For Reevaluation What would change the answer. ## Key Takeaways 5 bullets. </output-format> <auto-intake> If input incomplete: ask for location, housing specifics, financial profile, timeline, tax situation, non-financial reasons, local market, other factors. </auto-intake> Now, analyze:

Example: input → output

Here's how this prompt actually performs. Real input below, real output from Claude Opus 4.

📝 Input
<location>San Francisco Bay Area (Oakland specifically — Rockridge neighborhood). Well-established neighborhood, good schools, stable/appreciating.</location>
<housing-specifics>Considering a 3BR/2BA townhouse at $1,250,000 asking price. Property tax rate ~1.2% (Alameda County). HOA $380/month. Current rent on similar 3BR/2BA in same neighborhood: $4,800/month.</housing-specifics>
<financial-profile>Couple both 34. Household income $420K ($240K + $180K, both stable tech jobs). Available down payment: $250K (20% of $1.25M). Additional savings + investments: $380K. Solid emergency fund.</financial-profile>
<timeline>Expecting to stay 5-10 years. Could be shorter if one of us takes a job elsewhere, could be longer if we plant roots + have kids.</timeline>
<tax-situation>We itemize (mortgage interest + property tax + some charity gets us above standard deduction in CA). Federal 35% marginal. CA 9.3%. SALT cap limits state tax deduction to $10K.</tax-situation>
<non-financial>Tired of renting — feel like we're throwing money away. Planning kids in 2-4 years, want stability. Like the neighborhood, want permanence. Both partners grew up in families that owned homes and associate it with 'adult success.'</non-financial>
<local-market>Oakland has appreciated ~4%/year long-term average (not Bay Area bubble years). Rent has risen ~3-4%/year. Market not currently in bubble but not particularly cheap either.</local-market>
<other-factors>No kids yet. Dog. Both work hybrid (2-3 days office). Partner A's company could require more time in SF office in future. Partner B's company fully remote-flexible.</other-factors>
🤖 Output

Rent vs. Buy Analysis: Oakland Rockridge, $1.25M vs. $4,800/month rent, 5-10yr timeline

A rent-vs-buy analysis produces the 30-year NPV calculation covering ALL ownership costs vs. renting + investing the difference. Based on NYT Rent-vs-Buy methodology + Case-Shiller historical data, most people comparing 'mortgage payment to rent' dramatically underestimate ownership costs (missing 4-6 hidden cost categories). Your situation — $1.25M home, $4,800 rent, Bay Area, 5-10 year timeline — is a classic case where emotion (tired of renting, want stability) conflicts with math (Bay Area rent-to-price ratio is bad for buyers). This analysis produces the specific NPV comparison + break-even calculation + scenario sensitivity + the honest non-financial reasons the purchase could still be right despite unfavorable math.

Summary Answer

Financial verdict: RENT is mathematically favored by ~$200K over 10 years.

Life verdict: BUYING may still be correct if non-financial factors (stability, kids incoming, neighborhood attachment) are worth ~$20K/year of excess cost.

Confidence: HIGH (rent-to-price ratio is decisively in renter's favor + your timeline is too short for break-even with high confidence).

Rent-to-Price Ratio

Fastest diagnostic:

$4,800/month rent ÷ $1,250,000 purchase = 0.38% monthly

Reference table:

  • <0.5% monthly → renting strongly favored
  • 0.5-0.7% → renting usually favored
  • 0.7-0.9% → close call, depends on other factors
  • >0.9% → buying often favored

Oakland Rockridge at 0.38%: renting is strongly favored at current prices.

For buying to make math sense, you'd need:

  • Purchase price $800K-900K for $4,800 rent (current prices too high)
  • OR rent $6,000+/month for $1.25M home (current rent comparable too low)

The Bay Area rent-to-price ratio has been unfavorable to buyers for 15+ years. Purchase prices appreciated faster than rents. Math reflects that.

Full-Cost Purchase Analysis

Purchase: $1,250,000 home

Upfront costs:

  • Down payment (20%): $250,000
  • Closing costs (3%): $37,500
  • Total cash needed: $287,500

Mortgage:

  • Loan amount: $1,000,000
  • Rate (2026 assumed): 6.75% (30-year fixed)
  • Monthly P&I: $6,485

Monthly ownership costs:

ItemMonthlyAnnual
Mortgage P&I$6,485$77,820
Property tax (1.2% of $1.25M)$1,250$15,000
Insurance$150$1,800
HOA$380$4,560
Maintenance (1% of value)$1,042$12,500
Monthly cost total$9,307$111,680

Not including: PMI (you have 20% down, none) + opportunity cost of down payment.

Tax deduction value:

  • Mortgage interest (year 1): ~$67K
  • Property tax (capped by SALT at $10K): $10K
  • Total itemizable: ~$77K
  • Standard deduction 2026 (MFJ): ~$32K
  • Net additional deduction from owning: ~$45K
  • Tax savings (44.3% combined): ~$20K/year in year 1, declining as interest decreases

Annual cost AFTER tax benefit (year 1): $111,680 - $20,000 = $91,680/year effective.

Opportunity cost of down payment:

  • $287,500 deployed to home
  • Alternative: invested in S&P 500 at 7% real return
  • 10-year future value: $287,500 × (1.07)^10 = $565,500
  • Forgone: $278,000 over 10 years
  • Annualized opportunity cost: $27,800/year

TRUE annual cost of ownership (year 1): $91,680 + $27,800 = $119,480/year ≈ $9,957/month effective.

But wait — you build EQUITY through principal payment. Year 1 principal payment: ~$10,700.

Net cost (year 1): $119,480 - $10,700 = $108,780/year ≈ $9,065/month.

Compare to rent $4,800/month = $57,600/year.

Annual delta in favor of renting (year 1): $51,180.

Rent Scenario With Investing

Rent $4,800/month = $57,600/year.

Annual rent inflation assumption: 3%.

Money to invest (vs. buying):

  • Down payment + closing costs NOT used for down payment: $287,500 invested
  • Annual delta ($51,180 year 1, decreasing as mortgage principal grows): invested monthly

At 7% real return for investment portfolio:

Over 10 years:

  • $287,500 compounded: $565,500
  • Plus invested delta (~$45K/year average over 10 years): ~$620,000
  • Total wealth in 10 years from renting scenario: ~$1,185,500 (investment balance)

Break-Even Calculation

Purchase scenario at year 10:

  • Home value (assuming 4% appreciation): $1.25M × (1.04)^10 = $1,851,000
  • Mortgage balance remaining (year 10): ~$838,000
  • Home equity: $1,013,000
  • Minus sale costs (6%): $111,000
  • Net home equity: $902,000
  • Minus cumulative ownership costs net of tax savings: ~$800,000 over 10 years

Rent scenario at year 10:

  • Investment portfolio: $1,185,500 (from above)
  • Minus cumulative rent paid: $660,000 over 10 years (3% inflation)
  • Net: $525,500 in investments + the money already spent on rent (gone)

Comparison (net wealth position at year 10):

  • Buy: ~$200,000 (equity after 10 years of ownership costs above rent)
  • Rent + invest: ~$525,500 investment portfolio

Rent wins by ~$325K over 10 years.

(Note: this is simplified. Actual NPV with inflation + taxes + transaction costs is complex. NYT calculator produces similar directional answers — renting heavily favored in Bay Area.)

Break-even point: purchase never breaks even vs. rent in this analysis over 10 years.

Purchase ONLY wins if:

  • Home appreciates much faster than 4% (not average Oakland)
  • You stay 15+ years
  • Rent inflation exceeds 5% (possible but not certain)
  • Or all three

5-Scenario Sensitivity

Scenario 1: High appreciation (6%/year), moderate rent inflation (3%)

  • Home value year 10: $2.24M
  • Net from sale: $1.32M
  • Buy wins by ~$200K.

Scenario 2: Historical average (4% appreciation, 3% rent inflation)

  • Rent wins by ~$325K (as calculated above).

Scenario 3: Low appreciation (2%/year), high rent inflation (5%/year)

  • Home barely appreciates, rent grows 5%/year
  • Net from sale: ~$720K
  • Investment portfolio accounting for higher rent: $920K
  • Rent wins by ~$200K.

Scenario 4: Move at year 5 (career change)

  • Transaction costs massive — 3% at buy + 6% at sale = 9% of $1.25M = $112K just in transaction
  • Plus 5 years of above-rent ownership costs ($250K+)
  • Investment alternative: $287K + $150K invested = $437K compounded to $600K
  • Minus $300K in rent paid
  • Rent wins by ~$400K.

Scenario 5: Stay 20 years (planting roots)

  • Mortgage paid off year 30
  • Year 20 home value (4% appreciation): $2.74M
  • By year 20, maintenance costs have continued but mortgage interest reduced
  • Rent scenario: even bigger investment portfolio ($1.5M+) but also more rent paid
  • Buy and rent converge at ~year 17-20. Buy slightly ahead long-term if stable.

Probability-weighted across scenarios based on your situation:

  • Your timeline: 5-10 years (most likely range)
  • Your market: average appreciation expected
  • Weighted math favors renting by $200-300K over 10 years.

Non-Financial Considerations

Math is only part of the decision. Explicit weighting:

Factors favoring buying (for you):

  • Kids incoming in 2-4 years (stability matters)
  • Neighborhood attachment (Rockridge is stable/appreciating)
  • Itemization tax benefits exist (you do itemize)
  • Long-term stay possible (could be 10-20 years)
  • Psychological value of ownership (real, even if non-financial)

Factors favoring renting (for you):

  • Career mobility risk (Partner A's SF-office scenario, Partner B remote)
  • No current kids = still flexible
  • Bay Area rent-to-price unfavorable
  • High opportunity cost ($287K locked in home vs. market returns)
  • Dog, not kids — flexibility still manageable
  • Investment returns have compounded well

How to weight:

If stability + permanence are worth $20-30K/year of excess cost: buy is reasonable.

If not: rent continues to be rational.

The uncomfortable truth: 'we want stability + feel like adults' is a real preference. The financial cost of that is $200-300K over 10 years. Whether that trade is worth it is YOUR value judgment — math doesn't decide.

Specific Recommendation

For your situation: RENT FOR NOW. Revisit in 18-24 months.

Reasoning:

1. Math heavily favors rent at Oakland 0.38% ratio

2. Your timeline is uncertain (5-10 years with job-mobility risk on Partner A)

3. Kids incoming in 2-4 years — buy when kids are actual imminent (more stability needed)

4. Investing $287K in S&P now vs. in home builds wealth faster in your specific window

5. Rent is not prohibitive at $4,800 for Rockridge — not a 'rent grinds you down' situation

Reevaluate in 18-24 months if:

  • You're pregnant / actively planning first kid
  • Mortgage rates drop significantly (6.75% → 5% shifts math)
  • Oakland prices correct 15%+ (reset the math)
  • Your income grows substantially (makes the ownership costs easier to absorb)
  • Partner A gets clarity on SF-office requirement (removes career mobility risk)
  • You find a property at substantially lower price (same neighborhood, $1.05M instead of $1.25M changes math meaningfully)

Between now and reevaluation:

  • Continue building investment portfolio (contribute to 401(k) maxes + brokerage)
  • Maintain rental flexibility (annual lease acceptable; don't lock in 3-year terms)
  • Save aggressively — if you DO buy in 2 years, having $350-400K down payment becomes possible, further improving math

Decision Criteria For Reevaluation

Signals to revisit this decision:

  • Baby planned/confirmed (timeline shortens to imminent)
  • Mortgage rates drop >1% (shifts math 15-20%)
  • Oakland prices correct 10%+
  • Rent in your neighborhood rises 10%+
  • You find a specific property that's UNUSUAL for the market (great deal, unique situation)
  • Partner A's career geographically clarifies (either permanent SF or permanent remote)
  • Your income scales to where the 'inefficient' ownership is negligible relative to net worth

Revisit cadence: every 12 months OR after any of the above triggers.

Key Takeaways

  • Financial verdict: RENT. Oakland rent-to-price ratio at 0.38% is decisively favorable to renters. Math says rent wins by ~$325K over 10 years at historical appreciation + rent inflation.
  • Break-even: likely never breaks even in 10 years at your timeline. Requires 15-20+ years of stable ownership for math to equal renting. Your 5-10 year timeline = too risky for math to work.
  • Opportunity cost of $287K down payment is the hidden killer: $565K compounded over 10 years at 7% real return = lost to home purchase. Often exceeds home appreciation.
  • Buy IF you decide non-financial value (stability for kids, permanence, psychological) is worth $200-300K over 10 years. That's a value judgment, not a math mistake.
  • Recommendation: RENT. Reevaluate in 18-24 months at key triggers (pregnancy, rate drops, price corrections, career clarity). Meanwhile maximize investment contributions with the freed capital.

Common use cases

  • First-time home buyers deciding buy vs. rent
  • Renters evaluating 'should I finally buy' question
  • Homeowners considering selling to rent in retirement
  • Career-mobile professionals deciding buy vs. rent with move possibilities
  • Couples with new kids evaluating space + schools vs. flexibility
  • High earners in HCOL cities (SF, NYC, Boston) where buy math is particularly hostile
  • Investors considering real estate as investment vs. equities
  • Anyone within 5 years of a planned move debating whether to buy
  • People trying to understand if their current housing is financially optimal

Best AI model for this

Claude Opus 4 or Sonnet 4.5. Rent-vs-buy analysis requires careful NPV math, assumption sensitivity, and real-world cost accounting. Top-tier reasoning matters.

Pro tips

  • The #1 error: comparing mortgage payment to rent. That's not the comparison. Compare ALL ownership costs (mortgage + insurance + tax + maintenance + HOA + opportunity cost of equity) to rent.
  • Plan to stay <5 years = almost always rent. Closing costs + 3-year price appreciation rarely recover transaction costs. Break-even typically 5-7 years.
  • 1%-rule for maintenance is the MINIMUM. Older homes, extreme weather areas = 2-3% of value annually. In the Pacific Northwest or Northeast, 2% is realistic. Tropical climate: higher.
  • Mortgage interest deduction is overrated. Standard deduction doubled in 2017 — most middle-income households don't itemize anymore. Assume 0 deduction unless you know you itemize.
  • Opportunity cost of down payment is the largest hidden cost. $80K down payment that would have earned 7% compounded = $535K over 30 years. This often exceeds total home appreciation.
  • Buying feels like 'saving' because mortgage builds equity. But you're also paying interest + taxes + maintenance — much of which is PURE EXPENSE, not savings. Separate the two.
  • Rent-to-price ratio is the fastest diagnostic. If monthly rent is LESS than 0.5% of purchase price, renting is very favorable. If 0.8%+, buying becomes competitive. SF/NYC often at 0.3-0.4% = rent wins easily.
  • Historical US home appreciation: 3-4%/year long-term (nominal), ~1-2%/year real (after inflation). Much less impressive than equities (7% real). Real estate wins on leverage, not price growth.

Customization tips

  • Run the NYT Rent vs. Buy calculator alongside this analysis — they should agree directionally. If your custom analysis says buy but NYT says rent, re-check your assumptions.
  • Don't forget transaction costs on BOTH sides. You pay 3-5% at purchase (closing) + 5-8% at sale (realtor + closing). Total ~10% round-trip. This is why short-stay buying almost always loses.
  • Oakland/SF/NYC/Boston ALL have brutal rent-to-price ratios for buyers. This isn't bias — it's math. The markets where buying makes sense are usually mid-tier cities (Austin, Denver, Raleigh) or modest neighborhoods in HCOL areas.
  • If you DO decide to buy: put at least 20% down to avoid PMI (adds $2-5K/year for nothing), get 30-year fixed (optionality), and don't stretch beyond 28% of gross income on housing costs.
  • 'We're throwing money away on rent' is emotionally compelling but math-wrong. You're NOT throwing money away — you're paying for housing services. Homeowners ALSO pay for housing services (maintenance, taxes, insurance, interest). The question is which form of payment leaves you wealthier.

Variants

HCOL City Mode

For SF, NYC, Boston, Seattle, LA markets. Rent-to-price often unfavorable for buyers. Explicit address of HCOL-specific math.

Career Mobility Mode

For professionals with potential job relocations. Emphasizes transaction costs + break-even timeline risk.

Family Life Mode

For families valuing space + schools + stability. Addresses non-financial factors explicitly.

Investor Mode

For comparing real estate investment (rental property) to equity investing. Different calculus than primary residence.

Frequently asked questions

How do I use the Real Estate vs. Index Fund — The Real 30-Year Math prompt?

Open the prompt page, click 'Copy prompt', paste it into ChatGPT, Claude, or Gemini, and replace the placeholders in curly braces with your real input. The prompt is also launchable directly in each model with one click.

Which AI model works best with Real Estate vs. Index Fund — The Real 30-Year Math?

Claude Opus 4 or Sonnet 4.5. Rent-vs-buy analysis requires careful NPV math, assumption sensitivity, and real-world cost accounting. Top-tier reasoning matters.

Can I customize the Real Estate vs. Index Fund — The Real 30-Year Math prompt for my use case?

Yes — every Promptolis Original is designed to be customized. Key levers: The #1 error: comparing mortgage payment to rent. That's not the comparison. Compare ALL ownership costs (mortgage + insurance + tax + maintenance + HOA + opportunity cost of equity) to rent.; Plan to stay <5 years = almost always rent. Closing costs + 3-year price appreciation rarely recover transaction costs. Break-even typically 5-7 years.

Explore more Originals

Hand-crafted 2026-grade prompts that actually change how you work.

← All Promptolis Originals