calculateSalaryTax
function calculateSalaryTax(annualIncome, options?): SalaryTax | null;Defined in: incometax.ts:151
Income tax on a salaried individual’s taxable income for a tax year, from the salaried rate table (see getSalaryTaxSlabs).
The rate table only: the surcharge, tax credits, exemptions, the separate pension rate and withholding adjustments are not applied.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
annualIncome |
number |
Taxable income for the year in rupees, 0 to 1 trillion (at most 2 decimals count) |
options? |
SalaryTaxOptions |
- |
Returns
Section titled “Returns”SalaryTax | null
The tax, or null for an invalid amount or a tax year that is
not covered. Never throws.
Example
Section titled “Example”calculateSalaryTax(1_800_000, { taxYear: 2026 });// { tax: 72000, monthly: 6000, effectiveRate: 4, slab: { over: 1200000, … }, taxYear: 2026 }