Gratuity Rule
Gratuity Rule is part of the Payroll module of Frappe HR.
Gratuity Rules are rules made by the Central or State government that are used to figure out how much Gratuity to give. You can set different Gratuity Rules in Frappe HR for different regions.
To get to the Gratuity Rule, go to:
Search bar > Gratuity Rule
1. Requirements
It is a good idea to make the following things before making a Gratuity Rule:
2. How to make a Gratuity Rule
Go to Gratuity Rule > New
- Choose the parts that apply. These parts of the salary are used to figure up the gratuity.
- Choose “Calculate Gratuity Amount based on” and then “Define Gratuity Rule.”
- Save Gratuity Rule

3. More Properties
Some of the extra things that are used to figure out the gratuity amount are listed below.
3.1 Method for figuring out work experience: Frappe HR offers three ways to figure out work experience.
- Round off Work Experience: The work experience is rounded to the nearest year. For instance, an employee with three years and ten months of experience will be counted as having four years of experience.
- Take Exact Completed Years: Only fully completed years are counted.
- Manual: The work experience is entered manually in the Gratuity document.
3.2 Figure Out the Gratuity Amount Based On: To help us grasp the formula, let’s look at this example.
Example of the gratuity rule
- Current slab: If the Gratuity Amount is based on the Current Slab, the amount will equal the sum of the Applicable Earnings Components times the Work Experience (in years) times the Fraction of Applicable Earnings. If an employee has worked for four years, they are in the third slab (3 to 5 years) based on the Gratuity Rules/Slab above.

- Here’s how to figure out the Gratuity Amount:
- Amount of the gratuity = 4 × 0.47 × Basic (for example 4 × 0.47 × £3,200 = £6,016)
- Sum of all previous slabs: If the Gratuity Amount is based on the total of all previous slabs, then the amount will be the sum of the products of each slab up to the year of experience and the total of the Applicable Earnings Component. If an employee has been with the company for four years, the Gratuity Amount will be calculated as follows, based on the Gratuity Rules/slab above:
The amount of the gratuity is [(1 × 0) + (2 × 0.23) + (1 × 0.47)] × Basic.
