PAYE calculation API for New Zealand
Send a salary or wage and get back take-home pay, income tax, the ACC levy, KiwiSaver and student loan for 2026/27, as JSON. It is free and read-only, and needs no key. Up to 60 requests a minute from one address.
One request
GET https://www.salaries.co.nz/api/v1/paye
https://www.salaries.co.nz/api/v1/paye?gross_salary=85000&kiwisaver_perc=3.5
Response
{
"inputs": {
"gross_salary": 85000.0,
"input_frequency": "annual",
"hours_per_week": 40.0,
"kiwisaver_perc": 3.5,
"include_student_loan": false,
"tax_code": "M",
"secondary_tax_code": null,
"overtime_hours": null,
"overtime_rate": null,
"holiday_pay": false,
"super_perc": null,
"sacrifice_perc": null
},
"tax_year": "2026/27",
"result": {
"gross_salary": 85000.0,
"net_salary": 62610.0,
"total_tax": 17927.5,
"acc_levy": 1487.5,
"kiwisaver_employee": 2975.0,
"kiwisaver_employer": 2975.0,
"kiwisaver_rate": 3.5,
"kiwisaver_rate_refused": null,
"student_loan": 0.0,
"ietc": 0.0,
"potential_ietc": null,
"tax_code": "M",
"secondary_tax_code": null,
"effective_tax_rate": 22.84,
"marginal_tax_rate": 33.0,
"tax_breakdown": [
{
"description": "10.50%",
"attributable_income": 15600.0,
"tax_component": 1638.0,
"residual": 13962.0,
"rate": 10.5
},
{
"description": "17.50%",
"attributable_income": 37900.0,
"tax_component": 6632.5,
"residual": 31267.5,
"rate": 17.5
},
{
"description": "30.00%",
"attributable_income": 24600.0,
"tax_component": 7380.0,
"residual": 17220.0,
"rate": 30.0
},
{
"description": "33.00%",
"attributable_income": 6900.0,
"tax_component": 2277.0,
"residual": 4623.0,
"rate": 33.0
},
{
"description": "39.00%",
"attributable_income": 0.0,
"tax_component": 0.0,
"residual": 0.0,
"rate": 39.0
}
],
"frequencies": {
"annual": {
"net": 62610.0,
"gross": 85000.0
},
"monthly": {
"net": 5217.5,
"gross": 7083.33
},
"fortnightly": {
"net": 2408.08,
"gross": 3269.23
},
"weekly": {
"net": 1204.04,
"gross": 1634.62
},
"daily": {
"net": 240.81,
"gross": 326.92
},
"hourly": {
"net": 30.1,
"gross": 40.87
}
},
"extras": null,
"extras_summary": null
},
"source": {
"name": "Salaries.co.nz",
"calculator_url": "https://www.salaries.co.nz/tax-calculator?s=85000&ks=3.5",
"documentation_url": "https://www.salaries.co.nz/paye-api",
"accuracy_url": "https://www.salaries.co.nz/tax-calculator/accuracy",
"rates_checked_on": "2026-11-25"
},
"disclaimer": "General information, not tax advice. Figures are estimates for the tax year shown."
}
Inputs
The API ignores input names that are absent from this table.
| Name | What it is | Values | Default |
|---|---|---|---|
| gross_salary | Pay before deductions in NZ dollars | Positive decimal number. Enter a salary of $10,000,000 a year or less. | Required |
| input_frequency | Period the pay covers | annual, monthly, fortnightly, four_weekly, weekly, daily, hourly | annual |
| hours_per_week | Ordinary hours a week | Between 1 and 80 | 40 |
| kiwisaver_perc | Requested employee KiwiSaver percentage | Zero or 3%, 3.5%, 4%, 6%, 8% or 10%. A rate a member cannot choose is refused: the default is deducted and kiwisaver_rate_refused shows the rate sent. | None. The calculator's own form starts at 3.5%. |
| include_student_loan | Deduct student loan repayments | true, false, 1, 0, on, off | false |
| tax_code | Primary tax code | M, ME | M |
| secondary_tax_code | Tax code for a second job | SB, S, SH, ST, SA | None |
| overtime_hours | Overtime hours each week | Between 0 and 40 | None |
| overtime_rate | Overtime pay as a multiple of the ordinary rate | 1, 1.5, 2 | 1.5 with overtime hours |
| holiday_pay | Include pay-as-you-go holiday pay | true, false, 1, 0, on, off | false |
| super_perc | Percentage for another superannuation scheme | Between 0 and 50 | None |
| sacrifice_perc | Percentage of pay sacrificed into KiwiSaver | Between 0 and 50 | None |
What comes back
| Field | What it is |
|---|---|
| inputs | The inputs used in the calculation, including defaults. |
| tax_year | The tax year used for the calculation. |
| result | The calculation fields listed below. |
| source | The site name and links to the calculator, documentation and accuracy page, with the rates check date. |
| disclaimer | How to read and use the estimates. |
| gross_salary | Yearly pay that is taxed, including overtime and holiday pay, after any salary sacrifice. |
| net_salary | Yearly take-home pay after deductions. |
| total_tax | Income tax for the year, after the independent earner tax credit. PAYE on a payslip is this plus acc_levy. Do not subtract ietc again. |
| acc_levy | ACC earners' levy for the year. |
| kiwisaver_employee | Employee KiwiSaver deduction for the year. |
| kiwisaver_employer | Employer KiwiSaver contribution for the year, before tax on employer contributions. |
| kiwisaver_rate | Employee KiwiSaver percentage used. |
| kiwisaver_rate_refused | The requested KiwiSaver percentage if it was refused. |
| student_loan | Student loan deduction for the year. |
| ietc | Independent earner tax credit already included in total_tax. |
| potential_ietc | Independent earner tax credit this income could qualify for. |
| tax_code | Tax code used, including the student loan suffix when applicable. |
| secondary_tax_code | Secondary tax code used, if any. |
| effective_tax_rate | Income tax and the ACC levy as a percentage of taxable pay. |
| marginal_tax_rate | Income tax percentage on the last dollar of taxable pay. It excludes the ACC levy. |
| tax_breakdown | Income and income tax by band, or a single entry for a secondary code. |
| frequencies | Gross and take-home pay by period, from dividing the yearly figures. The daily figure divides the year by the calculator's 260 working days. |
| extras | Breakdown of any overtime, holiday pay, other superannuation or salary sacrifice. |
| extras_summary | A short description of the payslip extras that were applied. |
Limits and errors
60 requests a minute from one address. Over that, the answer is 429 with a Retry-After header.
400 Pay is missing or invalid, or a field contains an array or an object.
{
"error": "Enter a positive number for pay before deductions.",
"field": "gross_salary"
}
422 An input is outside the allowed values or the calculation exceeds a limit.
{
"error": "Enter a salary of $10,000,000 a year or less.",
"field": "gross_salary"
}
Using the figures
- Use them in your own tool, spreadsheet or page, free.
- If you show them to other people, a credit to Salaries.co.nz with a link to the calculator is welcome. It is a request, not a condition.
- Income tax, the ACC levy, KiwiSaver and student loan follow Inland Revenue's published rules for 2026/27. How we check them.
- Figures for a pay period are the year's divided, so they can differ from Inland Revenue's per-pay tables by up to $0.05 a pay.
- The optional inputs (overtime, holiday pay, another scheme, salary sacrifice) follow the rules the calculator states beside them; they are not among the cases on the accuracy page.
- They are general information, not tax advice.
- Like any website, our server logs each request, including the figures in it and the address it came from.
For AI assistants and other sites
llms.txt is a short index of this site's calculators, reference pages and current figures, for tools that read one.
A PAYE calculator for your own website is free too.