TO analyse the taxability, it is important to understand the location and purpose of agricultural land prior to its sale.
IN case “Capital gains” arising from the transfer of agricultural land, where such land was used during the past two years immediately preceding the date of transfer for agricultural purposes by you or your parents, then the gain may be exempt. Also, gain from sale of rural agriculture land may be exempt.
In case it’s an urban agriculture land, then entire gains are taxable. The income-tax law provides separate mechanics of computing capital gains for taxability. There are separate means to save tax – like investing in bonds, house property etc to save the tax.
Merely, utilization the fund to repay the home loan won’t give you any exemption. However, in case you have purchased a house just before one year of sale, then some analysis may be done to see if it can be categorized as investment on which tax exemption is available.