As per Qatar Labour Law, if you completed one year of service your are entitled for 3 weeks gratuity or like a separation pay. And the fraction if you completed more than one year. Just to give you an idea of our computation:
Given:

- Gratuity(G); = 3 weeks = 21 days per year
- Service days(SR): 1 1/2 years = 365 + 183 days = 548 days
- Basic Salary Example(BS): 3000 QR = 100 per day

- Formula:(SR/365)x G x (BS/30)

- Solution:

= (548/365)x 21 x (3000/30)

= Service gratuity = 3,152.87 for 1 1/2 years

I hope it is clear to you and that our computation may some other company have different.