Skip to content

Income tax on salary

import { calculateSalaryTax, calculateMonthlySalaryTax, getTaxYear } from 'pakdatakit/incometax'

The salaried rate table is in the First Schedule, Part I, Division I, clause (2) of the Income Tax Ordinance 2001. It applies when salary is more than 75% of taxable income. Tax year 2027 runs from 1 July 2026 to 30 June 2027 and uses the table substituted by the Finance Act 2026.

Rs. 802,000 for the year, 16.04% effective

Tax for the year
Rs. 802,000
Per month
Rs. 66,833.33
Effective rate
16.04%
Slab
Rs. 541,000 + 29% above Rs. 4,100,000
import { calculateSalaryTax, calculateMonthlySalaryTax, getTaxYear } from 'pakdatakit';
calculateSalaryTax(5000000, { taxYear: 2027 });
// → {
// "tax": 802000,
// "monthly": 66833.33,
// "effectiveRate": 16.04,
// "slab": {
// "over": 4100000,
// "upTo": 5600000,
// "fixed": 541000,
// "rate": 29
// },
// "taxYear": 2027
// }
calculateMonthlySalaryTax(150000, { taxYear: 2027 });
// → {
// "tax": 72000,
// "monthly": 6000,
// "effectiveRate": 4,
// "slab": {
// "over": 1200000,
// "upTo": 2200000,
// "fixed": 6000,
// "rate": 11
// },
// "taxYear": 2027
// }
getTaxYear('2026-11-18');
// → 2027
function calculateSalaryTax(
annualIncome: number,
options?: { taxYear?: number; date?: string | Date },
): SalaryTax | null;
interface SalaryTax {
tax: number; // for the year, rounded half up to the paisa
monthly: number;
effectiveRate: number; // percent
slab: { over: number; upTo: number | null; fixed: number; rate: number };
taxYear: number;
}

Returns the tax on an annual taxable salary. Without taxYear or date, the current tax year is used; a year that is not covered returns null.

Caveats. Only the rate table is applied. The surcharge, tax credits, exemptions and allowances are not. (For tax year 2027 the surcharge on salaried individuals was withdrawn by the Finance Act 2026.) This is an estimate, not tax advice.

function calculateMonthlySalaryTax(
monthlySalary: number,
options?: { taxYear?: number; date?: string | Date },
): SalaryTax | null;

Returns the same result for a monthly salary (twelve times the month).

function getTaxYear(date?: string | Date): number | null;

Returns the tax year a date falls in: 18 November 2026 is in tax year 2027.

Related: the salary tax calculator, data sources for the law and the date it was last checked.

Every function and type: the income tax API reference.