The UAE labor law has explicitly defined the method of gratuity calculation. There are different calculation methods depending on your contract.
If you are employed under a limited contract, the gratuity pay rate is higher than the unlimited contract unless the employer terminates the contract with you.
In this app, you can calculate your end service benefits when you complete your contract, or, when you resign, and when the employer terminates the contract with you.
Furthermore, the program has an overtime calculator that might help you in calculating your overtime.
UAE Gratuity and OT Calculator