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.

Inputs
Name What it is Values Default
gross_salaryPay before deductions in NZ dollarsPositive decimal number. Enter a salary of $10,000,000 a year or less.Required
input_frequencyPeriod the pay coversannual, monthly, fortnightly, four_weekly, weekly, daily, hourlyannual
hours_per_weekOrdinary hours a weekBetween 1 and 8040
kiwisaver_percRequested employee KiwiSaver percentageZero 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_loanDeduct student loan repaymentstrue, false, 1, 0, on, offfalse
tax_codePrimary tax codeM, MEM
secondary_tax_codeTax code for a second jobSB, S, SH, ST, SANone
overtime_hoursOvertime hours each weekBetween 0 and 40None
overtime_rateOvertime pay as a multiple of the ordinary rate1, 1.5, 21.5 with overtime hours
holiday_payInclude pay-as-you-go holiday paytrue, false, 1, 0, on, offfalse
super_percPercentage for another superannuation schemeBetween 0 and 50None
sacrifice_percPercentage of pay sacrificed into KiwiSaverBetween 0 and 50None

What comes back

What comes back
Field What it is
inputsThe inputs used in the calculation, including defaults.
tax_yearThe tax year used for the calculation.
resultThe calculation fields listed below.
sourceThe site name and links to the calculator, documentation and accuracy page, with the rates check date.
disclaimerHow to read and use the estimates.
gross_salaryYearly pay that is taxed, including overtime and holiday pay, after any salary sacrifice.
net_salaryYearly take-home pay after deductions.
total_taxIncome 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_levyACC earners' levy for the year.
kiwisaver_employeeEmployee KiwiSaver deduction for the year.
kiwisaver_employerEmployer KiwiSaver contribution for the year, before tax on employer contributions.
kiwisaver_rateEmployee KiwiSaver percentage used.
kiwisaver_rate_refusedThe requested KiwiSaver percentage if it was refused.
student_loanStudent loan deduction for the year.
ietcIndependent earner tax credit already included in total_tax.
potential_ietcIndependent earner tax credit this income could qualify for.
tax_codeTax code used, including the student loan suffix when applicable.
secondary_tax_codeSecondary tax code used, if any.
effective_tax_rateIncome tax and the ACC levy as a percentage of taxable pay.
marginal_tax_rateIncome tax percentage on the last dollar of taxable pay. It excludes the ACC levy.
tax_breakdownIncome and income tax by band, or a single entry for a secondary code.
frequenciesGross and take-home pay by period, from dividing the yearly figures. The daily figure divides the year by the calculator's 260 working days.
extrasBreakdown of any overtime, holiday pay, other superannuation or salary sacrifice.
extras_summaryA 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.