You are going to need to offer a little bit of help if you want some help. For starters, what is the nature of the employee database you have currently. How do you track payroll (salary to which the person is entitled, payments made, etc.)
How to calculate those things you're asking will vary depending on what you're doing already. If you're asking us to create all this from scratch, then you're asking a bit much don't you think.