As per the Indian income tax law, the HRA exemption should be calculated as the least of the following.
From the above “least of three” rule, it is clear that HRA exemption amount is determined by a number of factors — Basic pay, location of the residence, rent paid by the employee, and the HRA paid to the employee.