Being on the wrong tax code is one of the most common reasons New Zealanders over-pay tax, and this calculator estimates how much you might get back. Your tax code tells your employer how to deduct PAYE. The right primary code, usually M, steps your income through the brackets so you are taxed at 10.5 percent on the first slice, then 17.5 percent, and so on. The problem appears when the wrong code is used, most often a secondary code such as S, SH or ST applied to your only or main job. Secondary codes tax every dollar at a single flat rate, on the assumption that this income sits on top of a higher primary income. If it does not, you are taxed far too heavily and build up a refund. The same thing happens if you were left on an emergency or no-notification code, or simply never updated your code after a job change. The fix is simple in concept: compare the tax that was actually deducted from your pay across the year with the tax you genuinely owe on your total income, and the difference is your refund. You enter your total income for the tax year and the total PAYE that was deducted, both of which appear on your payslips or in myIR, and the calculator works out the tax you should have paid, allowing for the Independent Earner Tax Credit, and the likely refund. It also lists the current codes and rates so you can check what you are on. To stop it happening again, give your employer an updated IR330 with the correct code. This is an estimate, not an official Inland Revenue assessment.
Compares tax deducted with tax owed on your total income. A negative result means too little was deducted. An estimate, not an IRD assessment.
The tax you actually owe is the PAYE on your total income for the year at the 2026/27 brackets, less the Independent Earner Tax Credit if your income is between $24,000 and $70,000. Your refund is the tax deducted minus that figure. If you were on a flat secondary code on your only job, the deducted amount is usually much higher than the tax owed, which is what creates the refund.
| Code | When it applies | How it taxes |
|---|---|---|
| M | Main or only job | Stepped through the brackets |
| M SL | Main job with a student loan | Brackets plus 12% loan repayments |
| SB / S / SH / ST / SA | Secondary job | Flat 10.5 / 17.5 / 30 / 33 / 39 percent |
You earned $50,000 from a single job but were put on the S secondary code, which taxes every dollar at a flat 17.5 percent, so about $8,750 was deducted. On the correct M code the tax owed is about $7,658, less the $520 Independent Earner Tax Credit, so about $7,138. The estimated refund is $8,750 minus $7,138, around $1,612.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
© 2019 to 2026 Calculate.co.nz. All rights reserved.