How the rent vs buy calculator works
Comparing a mortgage payment with rent misses most of the story. This tool simulates both paths month by month and compares net worth at the end of the period you plan to stay.
- Buyer pays principal and interest, property tax (on the home's current value), insurance, HOA dues, maintenance, and PMI if the down payment is under 20% (until the loan reaches 78% of the purchase price). At the end, the home is sold and selling costs are subtracted.
- Renter pays rent that rises each year and invests the cash a buyer would have spent on the down payment and closing costs.
- Each month, whichever path is cheaper invests the difference at your investment return.
The inputs that swing the answer most
- Years you'll stay. Closing and selling costs often add up to 8–10% of the price. They need years to recover.
- Home appreciation vs investment return. A leveraged home that appreciates 4% can beat a 6% portfolio; at 2% it usually doesn't over a 10-year stay (very long stays can still favor buying, since rent keeps rising).
- Price-to-rent ratio. Divide the price by a year of rent. Above roughly 20, renting tends to win; below roughly 15, buying tends to win. Our default is about 15.
- Mortgage rate. Each percentage point changes the payment on a $320,000 loan by around $200 a month.
What isn't modeled
Taxes on investment gains, the capital-gains exclusion on a primary home, mortgage interest deductions, renter's insurance, moving costs, and the non-financial value of stability or flexibility. Use the result as a starting point. To dig into the mortgage itself, open the amortization schedule or see how extra payments help with the mortgage payoff calculator.
Worked example: the same house, held 5 years vs 12 years
A $400,000 home with 20% down and a 6.5% 30-year mortgage, against renting a similar place for $2,200 a month. Other inputs are the defaults above: 1.1% property tax, $1,800 insurance, 1% maintenance, 3.5% yearly appreciation and rent growth, 3% closing costs to buy, 6% to sell, and 6% returns on invested savings.
- Year-one monthly cost: buying about $2,873 (mortgage $2,023 plus tax, insurance, and upkeep) vs renting $2,200.
- Sell after 5 years: buyer net worth $147,015 vs renter $164,276. Renting is ahead by $17,261.
- Stay 12 years: buyer $311,015 vs renter $274,882. Buying is ahead by $36,133.
- Break-even with these inputs: year 8.
The ~9% round-trip cost of buying and selling is the main reason short stays favor renting. The longer you stay, the more those one-time costs get spread out and the more principal you pay down.