Well, if you just want to know about the calculation method for PF & ESIC, then it's done in the following manner...
ESIC
1. ESIC is deducted for those employees whose gross salary is not more than 15,000.00 per month.
2. Both the Employee and Employer have to contribute to it.
3. The Employee Contribution percentage is 1.75%, and the Employer Contribution percentage is 4.75% of the gross salary.
4. It should be calculated using the next higher rupee method.
For example, if my gross salary is 15,000.00 and I worked 28 days in January, then my gross for that month would be 13,548.00. So, for the Employee Contribution of 1.75%, 13,548 * 1.75% = 237.09. However, as mentioned earlier, it should be calculated to the next higher rupee, so it will be 238.00. For the Employer Contribution of 4.75%, 13,548 * 4.75% = 643.53, but for ESIC it will be 644.00. Simply add them together, make a challan of it, and deposit it.
PF
PF is calculated based on Basic + Dearness Allowance. PF is calculated as 12% of that amount by both the employee and employer. The employee contribution is EPF (12%), while the employer contribution is divided into two parts: EPF (3.67%) and 8.33% (FPF).
For example, if one's gross is 13,000, then the basic would be 6,500.00 (50% of Gross and it varies). Employee Contribution - 6,500 * 12% = 780.00. Employer Contribution - 6,500 * 3.67% = 239.00. Employee Contribution - 6,500 * 8.33% = 541.00, but this contribution should not exceed 541.00 Rs. This is the calculation for an individual person.
If you need guidance on how to make a challan, feel free to reach out.
Hope this information helps you.