TDS on salary calculation for 2026-27: a month's working, with an AI agent

Short answer: Project each employee's taxable salary for the year, work out the tax on the new regime slabs with the 12 lakh rebate, marginal relief and 4% cess, take off the TDS already deducted, and divide the rest by the months left. Re-project after joiners, bonuses and pay changes. An AI agent can check every employee against HR's sheet, but check how your payroll treats employer NPS.

Monthly TDS on salary is an estimate that has to be redone every time something changes: a joiner, a bonus, a declaration. Most errors come from a projection nobody updated.

Here is the method from a recent tutorial, then an agent checking HR's November projection for a 30-person software company, the mistake it made on employer NPS, and the two follow-ups it needed.

The tutorial this is based on

Salary Par TDS Kaise Calculate Hota Hai? | TDS on Salary Calculation 2026-27 by The Accounts, published 18 September 2026 (in Hindi). A teacher and a student work one made-up employee in Excel, from monthly pay to the March true-up. The video names no section and skips the rebate and marginal relief; we added them. TDS on salary is section 392 of the Income-tax Act 2025 (it was section 192).

How do you calculate TDS on salary each month?

  1. Find each employee's regime. If they declared nothing, the new regime applies.
  2. Project the year's salary: what was paid so far, plus this month's pay times the months left. A mid-year joiner counts only the months with you. Add a previous employer's salary and TDS from Form 122 (it was Form 12B).
  3. Add the employer's NPS contribution to salary if your payroll pays it on top of gross, then deduct it up to 14% of basic plus DA. Anything above 14% stays taxable.
  4. Take off the 75,000 standard deduction. Under the new regime, professional tax and 80C investments don't count.
  5. Work out the tax on the new regime slabs: nil up to 4 lakh, then 5%, 10%, 15%, 20% and 25% on each 4 lakh band, and 30% above 24 lakh.
  6. Apply the rebate: no tax when taxable income is up to 12 lakh. Just above it, marginal relief caps the tax at the income above 12 lakh. Add 4% cess.
  7. Monthly TDS is the year's tax, less TDS already deducted here and by a previous employer, divided by the months left. Re-project after any bonus or pay change, and pay by the 7th of the next month.

Where it usually goes wrong

How an AI agent does it from Slack

We gave the agent three files for a made-up Pune software company, Anvaya Softech, with 30 employees: the salary register for April to November 2026 (November is the draft run), the employees' regime and investment declarations, and HR's TDS projection for November. Every company, name, tax number and amount in these files is made up. The agent works in Slack, where it shows up as Mnemio AI, because Accountant AI is built on Mnemio AI.

The message in SlackWork out November's TDS on salary for everyone at Anvaya Softech from the payroll register and declarations, check it against HR's projection sheet and flag anyone we're over- or under-deducting. Don't change the payroll run or pay the challan yet.
Slack request to work out November's TDS on salary for 30 employees and check HR's projection, with three Excel files
The request with the three files. The agent changed nothing in the payroll run and paid nothing.

What the agent did

  1. Checked each employee's projection against the salary register and declarations, saved the working as a workbook, and changed nothing in the payroll run.
  2. Found four of the six problems: a September joiner projected over 12 months, a previous employer's salary and TDS left out, an October bonus not projected, and professional tax deducted under the new regime.
  3. Got employer NPS wrong. It said HR had forgotten to deduct it for seven people and cut their TDS, but the register pays NPS on top of gross, so HR's figure already nets it off. It also missed marginal relief for an employee just over 12 lakh. Its total was ₹4,10,880.
  4. Asked whether NPS is inside gross pay, and about the employee just over 12 lakh, it withdrew the NPS claim and applied marginal relief (tax ₹31,200, November ₹277). But it dropped the one employee whose NPS is above 14% of basic.
  5. Reminded of its own first-reply point about her 16% NPS, it taxed the excess ₹24,000 and put November's TDS at ₹4,73,866, against HR's ₹5,20,614.
The agent's finding that a September joiner was projected over 12 months, so HR's draft deducts ₹73,320 instead of ₹1,664
A September joiner projected over 12 months: ₹71,656 too much this month. The other rows of this table, on employer NPS, were wrong.

What it found

November TDS, after two follow-ups
EmployeeProblemHR draft (₹)Corrected (₹)
Sameer GokhaleJoined 1 Sep, projected over 12 months73,3201,664
Siddharth SohoniNo marginal relief at 12.3 lakh7,453277
Chinmay SathePrevious employer's salary and TDS left out016,744
Gauri LeleOctober bonus not projected14,64628,634
Anjali TilakEmployer NPS at 16% of basic, cap 14%24,37525,623
Ritu BhideProfessional tax under the new regime16,68316,787
30 employeesNovember TDS5,20,6144,73,866
The agent's table of three employees HR is under-deducting: a previous employer's salary left out, a bonus not projected, and professional tax deducted under the new regime
Three people HR is under-deducting.
John's follow-up asking whether employer NPS is part of gross earnings, and the agent's answer that it is paid on top
Follow-up 1: is employer NPS inside gross pay? No, it's paid on top.
The agent's correction that HR's taxable income was not missing the NPS deduction, so seven employees are not over-deducted
So HR's figures already net it off. The agent withdrew its claim about seven people.
The agent's final table: November TDS of ₹4,73,866 against HR's ₹5,20,614, with six employees corrected
The November figure after two follow-ups. It cites the old Act's section for the rebate (87A).

What you still check

Questions accountants ask

How is TDS on salary calculated each month?

Project the year's taxable salary, work out the tax for the year with the rebate, marginal relief and 4% cess, take off the TDS already deducted (including a previous employer's), and divide what's left by the months remaining. Redo it when pay changes.

What is marginal relief at 12 lakh?

Under the new regime, taxable income up to 12 lakh pays no tax after the rebate. Just above it, the tax can't be more than the income above 12 lakh. At a taxable 12.3 lakh the tax is ₹30,000 plus cess, not ₹64,500.

Does the agent change the payroll run or pay the challan?

No. It works out the TDS and lists the differences. You change the run and pay the challan yourself. It asks before it changes or submits anything.

Hand this job to an agent

Bring one of your own files to a 30-minute call and watch an agent do it.

Book a 30-min demo