rentVsBuy
Takes rent, price, down payment, loan terms and growth assumptions and returns the year-by-year net worth of buying against renting, with the break-even year. Example input: {"rent":30000,"rentGrowth":5,"price":8000000,"downPayment":1600000,"annualRate":8.5,"months":240,"appreciation":5,"investReturn":10,"years":20}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rent | Yes | Current monthly rent in rupees | |
| price | Yes | Property price in rupees | |
| years | Yes | Years to compare over | |
| months | Yes | Loan tenure in months | |
| annualRate | Yes | Annual interest rate in percent, for example 8.5 | |
| rentGrowth | Yes | Yearly rent increase in percent | |
| downPayment | Yes | Down payment in rupees | |
| appreciation | Yes | Yearly property price growth in percent | |
| investReturn | Yes | Yearly return in percent if the down payment is invested instead |