As per the latest Gratuity Act which is already amended and enhance the amount of Gratuity up to Rs. 10,00,000/-( Maximum Admissible ). It seems that the Calculation of Gratuity have differ from any Non Govt Employees. The Govt Employees can get the Retirement Gratuity as per the Govt ( Central and State ) Rules. But the Private as well as Non Govt Employees get the Gratuity Amount in other method. The Govt employee get the Retirement Gratuity in the Formula :-
Formula for Govt Concerned (Basic Pay + Grade Pay) X Length of Service X 2/4.
If you are a Govt employee you will be fit for this Formula as mentioned above.
The Govt concerned have there own Software which is called for Salary Generate Software and in the various name of the software, like as COSA and others name. But this Salary Generate Software can prepare only the Salary, except the any Retirement Benefits of an Govt employee. Below given very simple handy Excel Based Gratuity Calculator, which can calculate easily your Retirement Gratuity. Also given below the link of Online Gratuity Calculation for Govt Employees. This Excel Based Software can also calculate automatically your total length of Sertvice after giving your Date of Join and Date of Retirement.