Ideally, the weekly offs are paid and companies are supposed to give 12-13 holidays (paid) in a year...
So apart from the working days (when the office is working) you get a pay for 52 Sundays (in a year) and 13 holidays in a year...
Ideally the salary is paid out for 28/29/30/31 days (calender days of the month).
We calculate salary per day as (Monthly gross / calender day for the month)
So for example if you have 30,000 pm gross, you per day salary for the month of april / june is 30,000 / 30 = 1,000
.................................................. .................................................. for the month of jan / march is 30,000 / 31 = 968
.................................................. .................................................. fir the month of feb is 30,000 / 28 = 1,072 or 30,000 / 29 = 1,035
Usually when the employee applies for the leave, and the leave is more than the allowable leave on pro-rata basis, we deduct salary on the basis of gross per day depending on the no. of extra leaves availed...
Hope this answered your query and was able to solve your doubt.