Understanding how PF and ESI are calculated on CTC — not on your full salary — is essential for HR professionals, payroll managers, and employees alike. Both statutory contributions are frequently miscalculated because they're applied to specific salary components, not the total Cost to Company figure many people assume they're based on.
This guide walks through the exact calculation methodology for both PF and ESI, with worked examples, so you can verify your own payroll calculations or understand why your payslip shows what it does.
Related reading: For the broader compliance context — how the 50% basic pay rule changes these calculations under the new Labour Codes — see our India Labour Codes 2026 Compliance Guide. For a deeper look at how salary restructuring affects PF, gratuity, and take-home pay across different salary levels, see our Salary, PF & Gratuity Impact guide.
Quick Answer: What Are PF and ESI Calculated On?
PF (Provident Fund) is calculated on Basic Salary + Dearness Allowance, not on total CTC. ESI (Employees' State Insurance) is calculated on gross monthly salary, and applies only when gross salary is at or below ₹21,000 per month. Neither is calculated on the full CTC figure, which is why understanding the distinction between CTC, gross salary, and basic salary matters for accurate payroll.
What Is CTC in a Salary Structure?
CTC (Cost to Company) is the total annual cost an employer bears for an employee. It typically includes:
Basic salary
HRA (House Rent Allowance)
Special allowances
Employer's PF contribution
Gratuity provision
Bonus (where applicable)
This is the point most payroll confusion stems from: PF and ESI are not calculated on full CTC. They're calculated on specific, narrower components — basic salary for PF, and gross salary for ESI. Understanding this distinction is the foundation for getting these calculations right.
How to Calculate PF on CTC in India
PF Contribution Rules (EPF Act)
As per the Employees' Provident Fund Organisation (EPFO):
Employee Contribution = 12% of Basic Salary (+ DA, where applicable)
Employer Contribution = 12% of Basic Salary (+ DA, where applicable)
Worked PF Calculation Example
Assume:
Annual CTC = ₹6,00,000
Basic Salary = 50% of CTC = ₹3,00,000 annually
Monthly Basic = ₹25,000
Then:
Employee PF = 12% of ₹25,000 = ₹3,000/month
Employer PF = 12% of ₹25,000 = ₹3,000/month
Total PF = ₹6,000/month = ₹72,000/year
PF Calculation Breakdown
Component | Amount (Monthly) | Calculation |
|---|---|---|
Basic Salary | ₹25,000 | Given (50% of CTC) |
Employee PF | ₹3,000 | 12% of Basic |
Employer PF | ₹3,000 | 12% of Basic |
Total PF | ₹6,000 | Employee + Employer |
PF at Different Basic Pay Levels
Since PF scales directly with basic salary, here's how the monthly contribution changes at different basic pay figures:
Monthly Basic Salary (₹) | Employee PF (12%) | Employer PF (12%) | Total Monthly PF |
|---|---|---|---|
15,000 | 1,800 | 1,800 | 3,600 |
20,000 | 2,400 | 2,400 | 4,800 |
25,000 | 3,000 | 3,000 | 6,000 |
30,000 | 3,600 | 3,600 | 7,200 |
Important note: Under the Labour Codes' new wage definition, basic salary must now generally be at least 50% of CTC... For a detailed look at how this shift plays out across different salary levels — with worked examples like the ones above — see our Salary, PF & Gratuity Impact guide.
How to Calculate ESI on CTC in India
ESI is governed by the Employees' State Insurance Corporation (ESIC).
ESI Eligibility Rules
Applicable when monthly gross salary is ≤ ₹21,000
Employee Contribution = 0.75% of gross salary
Employer Contribution = 3.25% of gross salary
Worked ESI Calculation Example
Assume:
Gross Monthly Salary = ₹18,000
Then:
Employee ESI = 0.75% of ₹18,000 = ₹135/month
Employer ESI = 3.25% of ₹18,000 = ₹585/month
Total ESI = ₹720/month
ESI Calculation Breakdown
Component | Rate | Monthly Amount |
|---|---|---|
Employee ESI | 0.75% | ₹135 |
Employer ESI | 3.25% | ₹585 |
Total ESI | 4.00% | ₹720 |
What Happens Right at the ₹21,000 Threshold?
ESI eligibility is determined by gross salary at the start of a contribution period, not recalculated mid-cycle if salary crosses the threshold partway through. If an employee's gross salary increases beyond ₹21,000 during a contribution period, they typically continue to be covered until the end of that period — the exact continuation rules should be verified against current ESIC guidelines, since they can be updated.
Key Difference Between PF and ESI
Factor | PF | ESI |
|---|---|---|
Calculated On | Basic Salary (+DA) | Gross Salary |
Employee Contribution | 12% | 0.75% |
Employer Contribution | 12% | 3.25% |
Salary Limit | No strict cap for contribution | ₹21,000/month gross for eligibility |
Purpose | Retirement savings | Health insurance & medical benefits |
Governing Body | EPFO | ESIC |
Common Payroll Mistakes Businesses Make
Calculating PF on full gross salary instead of basic salary.
This is one of the most common errors, and it produces incorrect (usually overstated) PF deductions.
Not updating ESI eligibility when salary changes.
If an employee's gross salary crosses the ₹21,000 threshold, their ESI status needs to be reviewed and updated accordingly, not left unchanged by default.
Applying the old wage definition when calculating basic salary.
Under the Labour Codes, the 50% basic pay rule changes what counts as basic salary for statutory purposes — payroll teams still using pre-2026 salary structuring logic will calculate PF incorrectly.
Manual calculation errors at scale.
Even small per-employee errors compound significantly across a large workforce, and manual calculation across hundreds of employees increases the likelihood of inconsistency.
These mistakes can lead to statutory penalties, back-payment liabilities, and compliance issues during audits.
How HRMS Software Simplifies PF & ESI Calculation
Manual payroll processing increases the likelihood of the errors described above, particularly as headcount grows or salary structures vary across employees.
With HRMS software like ZFour HRMS, businesses can typically automate:
PF and ESI deduction based on current basic and gross salary figures
Salary structure configuration reflecting the 50% basic pay rule
Real-time payroll processing that reduces manual reconciliation
Compliance-ready reports for PF and ESI filings
Configuration updates when statutory rates or thresholds change
This reduces the specific error categories outlined above and helps maintain consistency across a growing workforce.
Conclusion
Understanding how PF and ESI are calculated — on basic salary and gross salary respectively, not on full CTC — is foundational to accurate payroll management in India. Getting these calculations wrong is one of the most common sources of statutory compliance issues, precisely because the distinction between CTC, gross salary, and basic salary is easy to overlook.
For the broader compliance picture — including how the 50% basic pay rule under the Labour Codes changes what counts as basic salary for these calculations — see our Labour Codes 2026 Compliance Guide.
Want to see how ZFour HRMS automates PF and ESI calculation across your entire payroll?
Book a ZFour HRMS demo.

Farheen Ahmed
HR Tech Content Strategist at ZFour Technology Private Limited
Research-driven content on HRMS, payroll, attendance management, employee management, and modern HR technology for Indian businesses.





