Here the employer can choose two different calendar months.
First one is the default calendar month in which the employees get their pay on the basis of the number of days present and leaves applied
Option 1: Default calendar month
Calculating the salary for the month of January
A- Total Salary = 30,000
B- Working days (including week-off) = 31
C- Paid leaves applied = 1
D- Absent = 2
E- Number of days present (Including Week-off) = 28
Gross total salary = (A/B)*E
Gross total salary = (30,000/31)*29= 28,064
Second option is to select a 30-day month in which the employees get their pay on the basis of the number of days being absent and leaves applied.
Option 2: 30 Day month
Calculating the salary for the month of January
A- Total salary = 30,000
B- Working days (Including Week-off) = 31
C- Paid leaves applied = 1
D- Absent = 2
E- Number of days present (Including Week-off) = 28
Gross total salary = A-((A/30)*D)
Gross total salary = 30,000-((30,000/30)*2) = 28,000
Note:
Payable days<=10 then salary calculated on the basis of number of payable days.
Payable days> 10 then salary calculated on (30-absent) days.
Payable days monthly = (present+week off+2*double present+0.5*Half days+Holidays+paid leaves)