Rent or Buy?

While I was deciding on whether to rent or buy, I was confused about all the variables that go into the decision. The common advice is to buy because

I wasn't convinced as I knew my investments into index-based stocks and bonds also, in the long-run, always go up. I wanted some numbers to convince not just myself but others who kept nagging me about it.

Most of the calculators I've seen have been either

That's why I've created this calculator.