Introduction: Gratuity is a significant financial benefit that employers provide to their employees as a token of appreciation for their long-term service. It serves as a crucial component of retirement planning and financial security. However, calculating gratuity can be a complex process involving various factors like years of service, last drawn salary, and the gratuity…