A person might get the entire refund under Section 87A under the old tax regime if the total income (including capital gains) amounted to approximately Rs 5 lakh.