ESI is contributed from both the sides Employee as well as Employer.
It is been calculated on the basis of Gross salary per month and the maximum ceiling is 10000 Rs./Month.
The contribution from both the sides is as below-
Employee Side- 1.75% of gross/month
So if gross of an employee is 8000/month then
ESI contribution would be 8000*1.75% = 140 Rupees
Employer side- 4.75% of gross/month
ESI contribution would be 8000* 4.75% = 380 Rupees.
Where as PF is contributed @12% of basic salary only from both sides employee as well as employer..
I am enclosing here with an Excell sheet with formulas and examples.
It will helpe u to make a clear idea and also for ur work.