Salary from attendance comes down to one formula: pay the employee for every payable day, and deduct only the days of loss of pay (LOP). The work is in deciding which days are payable and which per-day rate to use. This guide walks through both, with a full example.
The formula
The divisor is the number your company uses to turn a monthly salary into a daily one. There are three common choices, covered below. Whichever you pick, write it in your salary policy or appointment letter and use it every month.
Step 1: Sort every day of the month
Go through the attendance record and put each day in one bucket.
| Day type | Paid? | Counts as LOP? |
|---|---|---|
| Present (full day) | Yes | No |
| Half day | Half | 0.5 day, unless covered by half-day leave |
| Weekly off (e.g. Sunday) | Yes | No |
| Paid holiday | Yes | No |
| Approved paid leave (casual, sick, earned) | Yes | No |
| Approved unpaid leave | No | Yes, 1 day |
| Absent without leave | No | Yes, 1 day |
| Late mark | Per your policy | Only if your policy converts late marks to half days |
Weekly offs and holidays are paid for monthly-salaried staff. The question is only whether an absence is covered by leave.
Step 2: Choose your per-day method
| Method | Per-day salary | Good for | Watch out for |
|---|---|---|---|
| Calendar days | Gross ÷ days in that month (28–31) | Monthly-salaried office staff | Per-day value changes every month |
| Fixed 30 days | Gross ÷ 30 | Simple, same rate every month | In 31-day months, one extra day of value is unaccounted for |
| Fixed 26 days | Gross ÷ 26 | Six-day-week workforces | Higher per-day value, so each LOP day costs more |
The 26-day method has a legal basis: the Code on Wages (Central) Rules, 2026 convert a daily minimum wage to a monthly rate by multiplying by 26, and to an hourly rate by dividing by 8.
The legal limit on deductions. Section 20 of the Code on Wages says a deduction for absence can't be a larger share of the month's wages than the period of absence is of the period the employee was required to work. In plain terms: 2 days absent out of 26 required working days means you can deduct at most 2/26 of the month's wages. Total deductions in a wage period also cannot exceed 50% of wages.
Step 3: Worked example
Employee: monthly gross ₹24,000. Month: November 2026, 30 days, 6-day week with Sundays off.
November 2026 has 5 Sundays, so there are 25 working days. The attendance record shows:
| Day type | Days |
|---|---|
| Present, full day | 21 |
| Half days (no leave applied) | 2 |
| Casual leave, approved | 1 |
| Absent without leave | 1 |
| Total working days | 25 |
| Sundays (weekly off) | 5 |
LOP days = 1 absent + (2 half days × 0.5) = 2 days.
Now the salary under each method:
| Method | Per-day salary | LOP deduction | Salary earned |
|---|---|---|---|
| Calendar days (÷ 30) | ₹800.00 | ₹1,600.00 | ₹22,400.00 |
| Fixed 30 days (÷ 30) | ₹800.00 | ₹1,600.00 | ₹22,400.00 |
| Fixed 26 days (÷ 26) | ₹923.08 | ₹1,846.15 | ₹22,153.85 |
The same two LOP days cost the employee ₹246 more under the 26-day method. That's why the divisor must be written down and applied the same way to everyone.
Check against section 20: the employee was required to work 25 days and missed 2, so the deduction may not exceed 2/25 of ₹24,000, which is ₹1,920. All three methods stay within it.
Step 4: Apply statutory deductions and pay on time
After salary earned, deduct statutory contributions in this order and issue a payslip:
- Provident fund (PF): calculated on PF wages (basic + DA, plus any allowances above the 50% limit under the new definition of wages).
- ESI: for covered employees, the employee share is 0.75% of wages, with 3.25% paid by the employer.
- Professional tax, where your state levies it.
- TDS on salary, if taxable income crosses the limit.
Monthly wages must be paid before the end of the seventh day of the following month, and employers must give wage slips, electronic or printed, on or before payment.
Let attendance turn into payroll by itself
Hajiri counts present days, half days, leave and loss of pay from WhatsApp check-ins, then calculates salary and payslips. No spreadsheet in between.
Book a free demo See pricingFive mistakes that make salaries wrong
- Deducting weekly offs for absent employees. Unless your policy says otherwise, a Sunday between two working days stays paid.
- Counting half days as full LOP. Two half days are one LOP day, not two.
- Switching divisors month to month. Pick one method and stick with it.
- Using a register filled in at month end. Back-filled attendance is where proxy marks and disputes start. Daily, time-stamped records hold up better.
- Forgetting leave balances. If an employee had casual leave left, an absence may be leave, not LOP. Check balances before deducting.
How Hajiri calculates it
In Hajiri, employees check in and out on WhatsApp with a selfie and location. At month end, Hajiri already knows each person's present days, half days, approved leave and LOP. It applies your chosen divisor, calculates salary and generates payslips. When an employee disputes a deduction, the record shows exactly when they checked in and from where.




