Rent or Buy?

California Home Purchase Calculator — compare buying a home vs. renting and investing the difference in index funds.

How to use this calculator

California housing reality check

Scenario

Time horizon

years

Your Situation

$
%
$
$

Mortgage term

Filing status

Renting & investing appears better

by $171,018

After-tax estimated wealth difference over 10 years (including selling costs and CA state capital gains tax)

Buy: Net wealth (after tax & selling costs)

$454,847

Rent + Invest: Portfolio (after tax)

$625,865

Wealth over time

Before taxes on gains and selling costs

Break-even home appreciation

5.3%

The annual appreciation rate at which buying and renting break even

Break-even stock return

5.0%

The annual stock return at which renting and buying break even

Top sensitivity drivers

Which assumptions matter most? Each shows the dollar impact of a 1 percentage-point change.

  1. 1.Maintenance reserve±$114,118
  2. 2.Property tax rate±$95,485
  3. 3.Home appreciation rate±$90,257

Important caveats

  • Tax modeling is simplified — actual benefit depends on your full tax picture, AMT, other deductions, and state-specific rules.
  • State income tax may increase the SALT cap limitation, further reducing the value of itemized deductions.
  • Standard deduction amounts are based on 2024 values and not adjusted for inflation over the time horizon.
  • Past stock market performance is not indicative of future returns. Real returns vary year to year.
  • This model uses constant annual rates for appreciation, rent increases, and stock returns. Real-world values are volatile.
  • This is not financial, tax, or legal advice. Consult a qualified professional for your specific situation.

Assumptions & disclaimers

This is not financial, tax, or legal advice. This calculator is a simplified educational tool. It uses constant annual rates, simplified tax estimates, and cannot capture your complete financial picture.

Tax estimates are approximate. The actual benefit of itemized deductions depends on your full tax return, including AMT, other deductions, state taxes, and credits.

The rent scenario assumes the entire down payment and closing costs are invested upfront, plus any monthly savings. In practice, deployment timing and behavioral factors may differ.

Home values, rent, and stock returns are modeled as smooth annual growth. Real-world values are volatile and unpredictable.

Frequently asked questions

Is this calculator accurate enough to make a decision?
This calculator provides a simplified estimate to help you think through the tradeoffs. It uses reasonable defaults but cannot capture your full financial picture. Use it as a starting point for your research, not as a definitive answer. Consult a financial advisor for personalized advice.
How are taxes modeled?
The calculator estimates the mortgage interest deduction and property tax deduction (subject to the $10K SALT cap). If your itemized deductions exceed the standard deduction, the excess reduces your taxable income at your marginal federal rate. Capital gains on the home sale use the $250K/$500K exclusion, and selling costs reduce the taxable gain. Both stock gains and home gains above the exclusion are taxed at your combined federal LTCG rate (default 15%) plus California state capital gains rate (default 9.3%). The state CG tax is one of the biggest factors most people miss.
What about property tax deductions?
Property taxes are included in your itemized deductions, but subject to the $10,000 SALT (State and Local Tax) cap. In California, this cap often limits the benefit since property taxes alone can approach $10K on higher-value homes.
Does this account for inflation?
All values are in nominal dollars. The default stock return (10%) and home appreciation (3.5%) are nominal rates. If you prefer to think in real (inflation-adjusted) terms, reduce both the stock return and home appreciation by your expected inflation rate (roughly 2-3%).
What stock return should I use?
The S&P 500 has returned roughly 10% per year nominally over the long term. However, future returns are not guaranteed. Use 7-8% for a more conservative estimate, or use the Conservative preset which uses 8%.
What if I can get a lower mortgage rate?
Adjust the mortgage rate in Advanced Assumptions. A lower rate significantly reduces monthly payments and the total cost of ownership, often tipping the balance toward buying. You can also use the Optimistic preset which assumes a 6% rate.
What about maintenance and repairs?
The calculator includes a maintenance reserve (default 1% of purchase price per year), which grows annually at the cost growth rate (default 2.5%). This covers routine maintenance, repairs, and eventual replacements (roof, HVAC, appliances). Insurance and HOA costs also grow at this rate. Newer homes may need a lower base rate (0.5-0.75%), while older homes may need more (1.5-2%).
Can I save or share my calculation?
Yes! Click the 'Share link' button to copy a URL with your current inputs. Your inputs are also automatically saved in your browser's local storage and will be restored when you return.
What if rent goes up faster than expected?
Increase the 'Annual rent increase' in Advanced Assumptions. Faster rent increases make buying relatively more attractive because the renter's cost of living rises faster. In rent-controlled areas, you may want to use a lower rate (2-3%).
What about selling costs when I eventually sell?
The calculator includes selling costs (default 5.5% of home value) covering agent commissions, transfer taxes, staging, and other closing costs. These are deducted from the buy scenario's final wealth and also reduce the taxable capital gain on the home sale. You can adjust this in Advanced Assumptions.
Why doesn't this include [specific tax scenario]?
While this calculator models federal LTCG, California state capital gains tax, mortgage interest deductions, and the SALT cap, it doesn't account for AMT, state income tax deductions against SALT, depreciation (if renting out), 1031 exchanges, or other complex scenarios. For tax-specific decisions, consult a CPA or tax advisor.