(Basic /30 ) X 21 X years of service - If your leaving company before completing 5 years

(Basic X Years of service) -If your leaving company later 5 years

Your gratuity might be approx - 2000QR X 6 years = 12000 QR

Check carefully your contract agreement above calculation is just information purpose.