Payroll for a security agency is more layered than for most industries. A guard's actual take-home depends on how many days they worked, whether they did overtime, whether they worked night shifts, whether they have allowances on top of base pay, and whether an unauthorized absence or an outstanding salary advance needs to be netted out — before you even get to statutory PF and ESI deductions. Getting this right, every month, for every guard on the roster, is genuinely hard to do reliably on a spreadsheet.
Step 1: Base pay from days worked
The starting point is the guard's monthly base salary, converted into a per-day rate. Raksha Kavach uses a standard 26-day month for this conversion (base salary ÷ 26 = day rate), then multiplies that day rate by the number of days the guard actually has qualifying attendance for in the payroll period. This ties pay directly to verified attendance rather than a flat monthly figure regardless of days worked.
Step 2: Overtime at 1.5x
Any hours a guard works beyond their scheduled shift are overtime, and overtime in Raksha Kavach is paid at 1.5 times the guard's normal hourly rate. The hourly rate is derived from the day rate, and overtime hours come straight from attendance records — no separate manual overtime register to reconcile against.
Step 3: HRA and other allowances, prorated fairly
Many agencies pay a House Rent Allowance and other fixed monthly allowances on top of base pay. Raksha Kavach prorates these by the same attendance ratio used for base pay — so a guard who worked half the month gets half their HRA, consistent with how base pay itself is prorated, rather than paying a flat allowance regardless of attendance.
Step 4: Night-shift allowance
Guards working night shifts (typically 8pm-6am duty) often deserve extra compensation for the demands of night duty. Raksha Kavach adds a flat night allowance for each attendance day where the guard's shift falls in the night window — and unlike HRA, this isn't prorated by monthly attendance, because it's compensation for the specific nights actually worked, not a general monthly entitlement.
Step 5: PF and ESI deductions
Provident Fund is calculated as a percentage of the guard's basic pay (the standard employee contribution is 12% of basic), and Employees' State Insurance applies as a percentage of gross wages when gross is at or below the statutory ESI wage ceiling. Raksha Kavach computes both automatically from the payroll figures it has already calculated, and separately tracks the employer-side PF/ESI contribution the agency itself owes — not deducted from the guard's pay, but a real cost the agency needs to remit and track for compliance purposes.
Step 6: AWOL penalty and advance deduction
An unauthorized absence — a scheduled duty day with no attendance and no approved leave covering it — triggers both a Guard Score penalty and a flat payroll deduction in Raksha Kavach, discouraging no-shows without notice. Separately, if a guard has an approved, active salary advance, the system automatically deducts the agreed monthly instalment from that period's payroll, up to what's still outstanding — capped so a guard's net pay can never go negative purely from advance recovery.
Step 7: Net pay, and getting it into guards' hands
Once every component is calculated, Raksha Kavach produces a per-guard payslip, a full payroll register (PDF or Excel, for management review), and a bank-transfer CSV file formatted for bulk NEFT/RTGS upload — guards missing bank details are flagged separately rather than silently skipped, so nobody gets left out of a payroll run by accident.
Payroll accuracy isn't about a clever formula once — it's about applying the same correct formula, consistently, for every guard, every single month.
Conclusion
Manually calculating security guard payroll — with its mix of attendance-based pay, overtime, allowances, statutory deductions, penalties and advances — is exactly the kind of repetitive, error-prone work that software should handle. Raksha Kavach's payroll engine runs this calculation automatically from real attendance data every period, so agency owners get accurate payslips without a spreadsheet marathon each month.