So how do you value a house in which you plan to stay? A method that I have found useful is to consider the alternative cost of renting an accommodation. Suppose an equivalent house has an annual rental cost of R and you expect the rent to increase every year at the rate of i due to inflation. So k years from now, you can expect the rent to be:
R × (1 + i)k
This future sum however is worth less today because you can obtain the same amount of money in the future by putting a lesser amount today into risk-free investments. The present value of that inflated rent is therefore:
Rk = R × (1 + i)k / (1 + d)k
where d is the applicable discount rate. Over the course of n years, the total cost of the house in today's money can be obtained by summing up the terms Rk for values of k from 1 to n. This sum is equal to:
R × t × (1 - tn) / (1 - t)
where t, the common ratio for the corresponding geometric series, is equal to "(1 + i) / (1 + d)". (This ratio would be less than 1 if we assume that i < d.)
As an example, suppose you are wondering whether to buy a house when an equivalent house would cost Rs 15,000 per month in rent (so R = 12 × 15,000 = 180,000). Suppose further that you are looking forward to staying in the house for 20 years (n = 20), the average rate of inflation during this period is 5% (i = 0.05) and the discount rate is 8% (d = 0.08) based on interest rates available on risk-free investments like fixed-deposits. Then t is roughly equal to 0.9722 and the total cost of the rented house comes out to about Rs 2,713,660.32 or about Rs 27 lakhs. So the house under consideration is worth at least Rs 27 lakhs today plus the present value of the amount you can get by selling it off at the end of the 20-year period.
Of course, our calculation is rather simplistic. It doesn't take into account the property taxes that you have to pay on your house, the security-deposit that you have to typically provide before taking a house on rent, etc. Rents do not necessarily keep increasing over such long periods. We cannot put a definite price on things like freedom from the whims of a landlord who might ask you to vacate your rented house at a short notice or potential lack of mobility to pursue better career prospects due to owning a house. Despite these flaws, our calculation is still a useful approximation of the net worth of a house.
The point is that negative equity does not apply in a straightforward manner to a house in which you plan to stay for a while. It might not always be prudent to walk away from such a house.