How is TDS on salary worked out?
Under the new regime by default: Margin works out each person's yearly tax from their salary, takes off the standard deduction and the rebate, and adds cess. Each month's TDS is the year's tax less what's already been deducted, spread over the months left, so a change in pay is evened out over the rest of the year.
The rebate means no tax on taxable income up to ₹12 lakh. Just above that, the tax is never more than the income over ₹12 lakh (marginal relief). On ₹1,08,000 a month, for example, ₹12,21,000 is taxable after the standard deduction: the year's tax is ₹21,840 with cess, where the slabs alone would give ₹65,676. Payroll and Form 16 both work it out this way. Margin doesn't yet give the same kind of relief where the surcharge starts, above ₹50 lakh: for someone just over it, set a manual monthly TDS.
Someone who needs a different figure (for example under the old regime, or with other income) can ask for a manual monthly TDS, which an admin, HR or leadership sets.