Current basic salary/(30 days or 21 days) X No of service year

Some company give 21 days or 3o days(check ur contract copy)

Approximate
Eg: 5000Qr basic
Serviced year : 3 Years

Day :30

5000*3 =15000QR

5000/21*3 =10500