{"ok":true,"result":{"slug":"rent-vs-buy-calculator","name":"Rent vs Buy Calculator","summary":"Compare buying a home with renting and investing the difference, year by year: net worth of each, the break-even year and who is ahead at the end. Ignores taxes on gains, tax relief and PMI.","description":"Compare renting and buying a home over time: mortgage, tax, maintenance, appreciation and investing the difference, with net worth by year and the break-even year.","method":"POST","endpoint":"/api/v1/tools/rent-vs-buy-calculator","plan":"free","mcpName":"rent_vs_buy_calculator","input":{"type":"object","additionalProperties":false,"properties":{"price":{"type":"number","description":"Home price.","minimum":0},"downPayment":{"type":"number","description":"Down payment (at most the price).","default":0,"minimum":0},"rate":{"type":"number","description":"Mortgage interest rate in percent (0 to 30).","minimum":0,"maximum":30},"termYears":{"type":"integer","description":"Mortgage term in whole years (1 to 50).","default":30,"minimum":1,"maximum":50},"taxPercent":{"type":"number","description":"Annual property tax as a % of the home's value (0 to 10).","default":0,"minimum":0,"maximum":10},"maintenancePercent":{"type":"number","description":"Annual maintenance as a % of the home's value (0 to 20).","default":1,"minimum":0,"maximum":20},"insurance":{"type":"number","description":"Annual home insurance amount.","default":0,"minimum":0},"appreciation":{"type":"number","description":"Annual home price growth in percent (−50 to 50).","default":3,"minimum":-50,"maximum":50},"closingPercent":{"type":"number","description":"Buying costs paid up front, as a % of the price (0 to 50).","default":3,"minimum":0,"maximum":50},"sellingPercent":{"type":"number","description":"Selling costs, as a % of the sale price, deducted from the buyer's equity (0 to 50).","default":6,"minimum":0,"maximum":50},"rent":{"type":"number","description":"Monthly rent for an equivalent home.","minimum":0},"rentIncrease":{"type":"number","description":"Annual rent increase in percent (−50 to 50).","default":3,"minimum":-50,"maximum":50},"investReturn":{"type":"number","description":"Annual return on invested savings in percent (−50 to 50).","default":5,"minimum":-50,"maximum":50},"years":{"type":"integer","description":"Years to compare (1 to 50).","default":10,"minimum":1,"maximum":50},"breakdown":{"type":"boolean","description":"Include the year-by-year rows (costs, home value, loan balance, both net worths).","default":false}},"required":["price","rate","rent"]},"example":{"price":400000,"downPayment":80000,"rate":6,"termYears":30,"taxPercent":1,"insurance":1200,"rent":1800,"years":10},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/rent-vs-buy-calculator","page":"https://pithlab.com/tools/rent-vs-buy-calculator"}}