Editorial & Calculation Methodology
How SalaryMitra verifies statutory rules, architects financial formulas, and ensures transparent payroll computations.
1. Decoupled Calculation Engine
Unlike ordinary websites where mathematical formulas are mingled directly with presentation UI code, SalaryMitra implements a strictly decoupled calculation engine. All financial, statutory, and tax equations are pure functions maintained in isolated modules with 100% automated test coverage.
This architecture ensures that calculation updates (e.g. Union Budget tax slab modifications or EPFO notification changes) are verified systematically across boundary tests, minimum/maximum thresholds, rounding rules, and negative input protections before being reflected on the interface.
2. Official Statutory Sources
We never assume or invent contribution percentages, eligibility thresholds, or deductions. Every tool is grounded in published government regulations:
| Statutory Element | Governing Authority / Act | Calculation Basis | Official Reference |
|---|---|---|---|
| Employee Provident Fund (EPF) | Employees' Provident Funds and Miscellaneous Provisions Act, 1952 | 12% Employee + 12% Employer (3.67% EPF + 8.33% EPS capped at ₹15,000 wage ceiling) | epfindia.gov.in |
| Employee State Insurance (ESIC) | Employees' State Insurance Act, 1948 | 0.75% Employee, 3.25% Employer on gross monthly wages up to ₹21,000 | esic.gov.in |
| Gratuity | Payment of Gratuity Act, 1972 | (15 × Last Basic Pay × Years of Service) / 26; Max statutory cap ₹20 Lakhs | labour.gov.in |
| Income Tax (FY 2025-26) | Income-tax Act, 1961 (Section 115BAC, Finance Act 2024) | Revised New Regime slabs; standard deduction of ₹75,000; Section 87A rebate | incometax.gov.in |
| Professional Tax (PT) | Respective State Government PT Schedules (Article 276) | State-specific monthly brackets capped at ₹2,500 annually | State Commercial Tax Portals |
3. Testing & Verification Standard
Our test suite includes automated unit tests checking:
- Baseline checks: Verification against sample payslips from Indian companies across IT, manufacturing, and services.
- Threshold triggers: ESIC cutoff at ₹21,000 gross; EPS capping at ₹15,000 basic; Gratuity statutory maximum ceiling at ₹20,00,000.
- Boundary robustness: Zero salary, negative inputs, fractional numbers, extreme numbers up to ₹10 Crore CTC.
- Rounding fidelity: Rounding to the nearest whole rupee (Math.round) per standard Indian payroll accounting norms.
4. Model Assumptions & Exclusions
While our calculators simulate standard Indian compensation structures accurately, each employer maintains distinct policies regarding flexi-benefit baskets, voluntary provident fund (VPF), company vehicle allowances, meal cards, medical reimbursements, and group insurance premiums.
SalaryMitra calculations are educational estimates designed to help employees understand statutory frameworks, not formal payroll disbursements.