Rent vs Buy Calculator
Buying wins on equity and renting wins on flexibility, but the money question depends on how long you stay. Enter the rent you would pay and the home you would buy, and the calculator tallies what each path costs over your horizon: rent with yearly increases on one side; on the other, everything you pay as an owner minus what you get back when you sell, plus the return your down payment could have earned instead. It reports the difference and the break-even year.
Your numbers
Result
Enter your numbers to see the result.
Keep it in your pocket
Free tools from TapForge Studios that work with the numbers on this page.
Ledgerlord: Landlord Books
Utilities/Misc.Landlord bookkeeping that works offline: rent, expenses, deposits and year-end totals per unit.
GableForge: Home Inspection
Utilities/Misc.GableForge writes home inspection reports offline: rate every item, add photos and send a PDF from the driveway, for the inspection that should come before any offer.
Read the how-to guide
How it works
Year by year, for as long as you say you will stay:
- Renting = 12 × rent (rising by your percentage each year) + renter's insurance, added up.
- Cash paid to own = down payment + closing costs at the start, then each year the mortgage payments, property tax and maintenance on that year's home value, insurance and HOA dues.
- What you get back when you sell at the end of the period = home value after appreciation − selling costs − the remaining loan balance. Home equity is value minus balance, before selling costs.
- Opportunity cost = what the down payment and closing costs would have grown to at your investment return, minus the original amount. A renter keeps that cash working.
- Net cost of buying = cash paid − sale proceeds + opportunity cost. Written another way it is interest + tax + insurance + maintenance + HOA + closing and selling costs + opportunity cost − appreciation, because the principal you repay comes back to you at the sale.
The break-even year is the first year in which the cumulative net cost of buying is no more than the cumulative cost of renting. Transaction costs make the first years expensive for an owner, which is why a short stay usually favors renting and a long one favors buying.
Worked example
Rent of $1,800 rising 3% a year plus $200 of insurance costs $115,677 over five years. Buying a $350,000 home with 20% down at 6.5%: $80,500 goes in at closing, five years of payments, tax, insurance and maintenance add $156,068, and selling at $405,746 after 3% yearly appreciation returns $119,290 once the 6% selling costs and the $262,111 balance are paid. Add $22,241 of lost return on the $80,500 and the net cost of buying is $139,518, so renting comes out $23,841 ahead over five years, with equity of $143,635 at the end. Stay ten years on the same assumptions and buying pulls ahead by about $4,600; at 5% appreciation buying is ahead by year four.
Frequently asked questions
Why does buying look expensive in the first few years?
Closing costs going in, selling costs coming out and the lost return on the down payment all land up front, and early mortgage payments are mostly interest. Those fixed costs get spread over more years the longer you stay.
Is the opportunity cost fair?
A renter who keeps the down payment can invest it, so the calculator credits that money with the return you choose. Set it to 0% if you would have spent it, or to your actual savings rate.
What about tax deductions?
Mortgage interest and property tax are deductible only if you itemize, and with the 2026 standard deduction most households do not. The capital gains exclusion when you sell ($250,000 single, $500,000 married filing jointly) is also left out. Both favor buying somewhat.
What appreciation rate should I use?
Long-run national averages run a few percent a year, but any five-year stretch can be far above or below that, and your local market matters more. Try 0% and 5% to see how much the answer depends on it.
Does this count PMI or rent from a roommate?
No. Add PMI to the insurance figure if you are putting down less than 20%, and treat reliable rental income from a room as a reduction in your monthly owning cost.
Related calculators
Video walkthroughs on YouTube. The TapForge channel posts walkthroughs of these calculators and app demos. Subscribe to the channel.
Get the next tool first.
One short email when a new calculator, guide, practice exam or app goes live. No spam, unsubscribe any time.
You'll get a confirmation email first. We never share addresses.
This calculator gives an estimate for planning and is not tax, legal or engineering advice. Confirm code-related results against the code edition adopted in your jurisdiction and with your authority having jurisdiction, and follow the manufacturer's instructions.
