No. HRA is not a part of gratuity calculation. Gratuity calculation includes only the basic pay and dearness allowance.