A friend of mine runs a small manufacturing business in Surat. Ten staff. He was doing payroll on a notebook. Yes, a paper notebook in 2025. One day, he got a notice from EPFO. Turns out he had been short-paying PF for eight months. The penalty? Almost ₹38,000.
All because he was using gross salary to calculate PF. He should have used a basic salary.
This kind of mistake is way too common. And it is not because owners are careless. Nobody explains payroll in simple, easy-to-understand language. Everything online is either too technical or too vague.
So here is my attempt to fix that. I will walk you through payroll step by step. Real formulas. Real numbers. No filler.
What Is Payroll?
Let’s keep this straightforward.
‘Payroll’ means calculating how much to pay each employee after all deductions. That is it.
But in India, “all the deductions” are where things get tricky. You have to cut PF. You have to cut ESI if the salary is low enough. You have to cut the professional tax based on the state where the person works. And then there is income tax – TDS – which changes based on what the employee earns in a year.
Get any of these wrong, and you either owe money to the government or you have upset employees. Occasionally both.
For most small businesses, salaries are the highest monthly cost. So, understanding payroll is not just an HR thing. It is a business survival thing.
What Components Make Up Salary in India?

Before we calculate anything, you need to know what sits inside a salary. Think of it like a recipe; you need to know the ingredients first.
The earning side:
The basic salary is the base. Usually, 40%-50% of CTC. HRA helps cover rent. DA is a cost-of-living add-on, mostly seen in government jobs, but some private firms use it too. Special Allowance fills up whatever is left. Then there could be overtime, bonuses, or incentives on top of that.
The deduction side:
PF – 12% of basic plus DA. ESI is 0.75% of gross pay, but only if the gross is ₹21,000 or below. Professional tax, depending on the state, max ₹2,500 a year. TDS, the monthly income tax, is based on the yearly income slab.
Take the earnings. Remove the deductions. What is left is the in-hand salary. The number your employee actually sees in their bank account.
Now, let us get into the actual steps.
Step-by-Step Payroll Calculation
This is the process. Same whether you do it on paper, in Excel, or with software.
Step 1: Collect the data.
You need each employee’s PAN, Aadhaar, bank account number, joining date, and salary structure. You also need their attendance for the month, how many days they worked, how many leaves they took, and any overtime.
I cannot stress this requirement enough. If your attendance data is poor, your entire payroll will be incorrect. Everything starts here.
Step 2: Calculate gross salary.
This is the total earnings before you cut anything.
Gross Salary = Basic + HRA + DA + Special Allowance + Overtime or Bonus
Assume someone has a basic salary of ₹15,000, HRA of ₹7,500, and a special allowance of ₹7,500. Their gross salary is ₹30,000. Simple addition.
Step 3: Deduct what the law says you must.
This step trips up most small businesses. So pay close attention.
PF (Provident Fund): Employee puts in 12% of Basic + DA. The employer also puts in 12%. But the employer’s share splits – 8.33% goes to pension (EPS), and 3.67% goes to the PF account. Big thing to remember: PF is on basic salary only. Not on gross. Not on CTC. This is where my friend went wrong. You can verify the rates on the EPFO website.
ESI: Only applies if the employee earns ₹21,000 or less per month. And the company must have at least 10 people. Employee pays 0.75% of gross wages. Employer pays 3.25%. Total is 4%. These rates have not changed since July 2019. You can verify on the ESIC portal.
Professional Tax: This is a state tax. Every state has different slabs. But no state can charge more than ₹2,500 a year; that is a constitutional limit under Article 276. In Maharashtra, it is ₹200 a month for 11 months and ₹300 in February. Gujarat charges ₹200 a month for salaries between ₹12,001 and ₹25,000. Check Saral’s state-wise PT guide for your state’s rates.
TDS (Income Tax): For FY 2025-26 under the new regime, income up to ₹4 lakh is tax-free. Then, 5% applies up to ₹8 lakh, 10% applies up to ₹12 lakh, and so on, up to 30% for amounts above ₹24 lakh. Salaried people get a ₹75,000 standard deduction. And with the Section 87A rebate, income up to ₹12 lakh is basically tax-free. Work out the yearly tax, divide by 12, and deduct that each month. Verify slabs on the Income Tax Department website.
Step 4: Determine the net salary.
Net Salary = Gross Salary – PF – ESI – Professional Tax – TDS
That is the in-hand amount. The money that reaches the employee.
Step 5: Pay and file.
Transfer the salaries. Then deposit PF and ESI by the 15th of the next month. TDS goes by the 7th. Late PF payments attract 12% annual interest. Not worth the risk.
Also, provide every employee with a payslip. It should show what they earned and what was deducted. It builds trust. And it keeps you safe during audits.
What Are the Payroll Formulas?
| Payroll Component | Formula | Applies When | Example (₹25,000 Salary) |
| Gross Salary | Basic + HRA + DA + Allowances + Bonus | Always | ₹12,500 + ₹5,000 + ₹7,500 = ₹25,000 |
| Employee PF | 12% × (Basic + DA) | If PF applicable | 12% × ₹12,500 = ₹1,500 |
| Employer PF | 12% × (Basic + DA) | Employer contribution | ₹1,500 total (₹1,041 PF + ₹459 EPS approx.) |
| Employee ESI | 0.75% × Gross Salary | Only if salary ≤ ₹21,000 | Not applicable for ₹25,000 |
| Employer ESI | 3.25% × Gross Salary | Only if salary ≤ ₹21,000 | Not applicable |
| Professional Tax (PT) | State-specific fixed deduction | Depends on state | ₹200/month in Gujarat |
| TDS (Income Tax) | Annual tax ÷ 12 | Depends on income slab | ₹0 for ₹3L income |
| Total Deductions | PF + ESI + PT + TDS | Always | ₹1,700 |
| Net Salary (Take-home) | Gross − Total Deductions | Always | ₹23,300 |
| Cost to Company (CTC) | Gross + Employer PF + Employer ESI + Benefits | Employer cost | ₹26,500 approx |
Gross Salary = Basic + HRA + DA + Allowances + Bonus
Employee PF = 12% of (Basic + DA)
Employer PF = 3.67% of (Basic + DA) to PF account + 8.33% of (Basic + DA) to EPS; the EPS part caps at ₹15,000 wage ceiling
Employee ESI = 0.75% of Gross (only when gross is ₹21,000 or less)
Employer ESI = 3.25% of Gross
Net Salary = Gross – Employee PF – ESI – PT – TDS
CTC = Gross + Employer PF + Employer ESI + Gratuity + Other Benefits
Example Payroll Calculation (₹25,000 Salary)

Numbers make things click. So here is Priya’s payroll.
Priya works at a retail shop in Ahmedabad. Her CTC is ₹300,000 a year. That is ₹25,000 a month.
Her salary split: the basic is ₹12,500. HRA is ₹5,000. The special allowance is ₹7,500. Gross salary = ₹25,000.
Now the cuts. PF: 12% of ₹12,500 = ₹1,500. ESI: 0.00% because the salary is above 21,000.
Professional Tax: ₹200 per month for Gujarat. TDS: Her yearly income is ₹300,000. That is under the ₹4 lakh threshold. So TDS is zero.
Total deductions = ₹1,500 + ₹0 + ₹200 = ₹1,700.
Priya’s take-home pay = ₹25,000 – ₹1,700 = ₹23,300.
But the story does not end there. Here is what the employer pays on top: Employer PF of ₹1,500. So the real cost to the business is ₹26,500 a month. Not ₹25,000.
That ₹1,500 gap per person? Multiply it by your headcount. For a team of 20, that is ₹46,260 extra per month that you need to budget for. Many business owners miss this completely.
Common Payroll Mistakes
I have seen these happen over and over. And they are all avoidable.
Using gross salary for PF: PF is calculated on the basis of basic pay plus DA. Not gross. Not CTC. This single mistake is behind most payroll errors we come across.
Late filings: The PF due date is the 15th. TDS is the 7th. If you miss them, you pay 12% annual interest on PF. It adds up.
Messing up ESI cutoffs: ESI is only for employees earning ₹21,000 or less. If someone receives a raise mid-year, ESI stops from the next contribution period. Not immediately.
Same PT slab for everyone: Staff in Mumbai and Bangalore pay different professional taxes. Same salary, different deduction.
Doing it all on Excel. It works fine for 5 people. With 15, a single wrong cell reference can cause your entire sheet to produce incorrect numbers. We have seen a single Excel error cause three months of wrong payslips.
When Should a Business Use Payroll Software?
I will be honest. If you have less than 5 employees, you can manage with a good spreadsheet and a careful accountant. But once you cross 8 to 10 people, manual payroll starts eating too much time and creating too many errors.
That is where a payroll management system for employees earns its keep. It tracks attendance, applies the right deductions, builds payslips, and reminds you before deadlines.
Many Indian SMEs use tools like Petpooja Payroll to automate attendance, PF, ESI, and payslip generation. It comes with biometric hardware, so attendance goes straight into salary calculations. No typing. No copying. No pasting. PF, ESI, and PT are all handled. And it works even if you have outlets in different cities.
What really sets it apart is the pricing. Most payroll tools charge you per employee per month. So as you hire more, your bill climbs. Petpooja Payroll charges a fixed annual fee per outlet. Ten employees or a hundred – same price. For a growing business, that saves serious money over time.
If you are still doing payroll by hand, make the switch. The time and stress you save in the first two months will cover the cost.
When Payroll Calculation Becomes Difficult
Manual payroll works for very small teams. But as a business grows, calculations become more complex.
Attendance tracking, shift-based salaries, overtime, and compliance deadlines increase the risk of errors. Even a small mistake in PF or ESI calculations can lead to penalties.
In such cases, businesses often move from manual spreadsheets to structured payroll systems like Petpooja Payroll that connect attendance, salary calculations, and compliance in one place.
This reduces manual work and improves accuracy as the team size increases.
Conclusion
Payroll is not rocket science. But it is not something you can afford to wing it on.
The core formula is straightforward: take the gross salary and subtract PF, ESI, professional tax, and TDS. What remains is the in-hand payment. The tricky part is getting each deduction right, using the correct base amount, applying the right rates, and filing on time.
If there is one thing to take away from this guide, it is this: PF is based on a basic, not gross, basis. That single rule, once you nail it, prevents most of the payroll headaches small businesses deal with.
Start with the five steps we covered. Use the formulas. Cross-check with Priya’s example. And when your team outgrows spreadsheets, bring in a system like Petpooja Payroll to take the manual risk out.
Your employees work hard for their salary. The least we can do is verify that the numbers are right.
Frequently Asked Questions
It is the entire cycle of calculating salaries, applying the correct deductions, disbursing funds to employees’ accounts, and filing returns with the PF, ESI, and tax departments. In India, this runs every month.
Obtain employee and attendance data. Calculate gross salary. Apply deductions like PF, ESI, PT, and TDS. Work out net salary. Please ensure that employees are paid and compliance returns are filed.
Both the employee and the employer pay 12% of the basic salary + DA. The employer’s 12% splits into 8.33% for the pension and 3.67% for the PF account. The pension part caps at a ₹15,000 wage ceiling.
No. Only for people earning ₹21,000 or less a month, in companies with 10 or more employees.
You can. But once you cross 5 or 6 people, errors go up fast. That is when software pays for itself.
Payroll in India is calculated by first determining the gross salary and then subtracting all statutory deductions such as Provident Fund (PF), Employee State Insurance (ESI), Professional Tax (PT), and income tax (TDS).
{Net Salary} = {Gross Salary} – {PF} + {ESI} + {Professional Tax} + {TDS}
Net salary is calculated by subtracting all statutory deductions, such as PF, ESI, professional tax, and TDS, from the gross salary.
