How the calculators work and are tested
The formulas, the rounding standard and every test the calculators must pass before the site is built.
Checked 17 November 2026 against IR375 (March 2026), IRD’s web pages and the GST Act.
The formulas
- Add GST: GST = price before GST x 15%; total = price + GST (IR375 p5).
- Remove GST: GST = GST-inclusive price x 3 / 23; price before GST = total minus GST (IR375 p5).
- Reverse: price before GST = GST x 20 ÷ 3; total = GST x 23 ÷ 3.
- Return: box 8 = box 7 x 3 / 23; box 12 = box 11 x 3 / 23 (IR375 pp12 to 13).
The rounding standard
No law sets how GST is rounded, and IRD gives no guidance on rounding each line or the total. IRD’s own examples round half-up in some places, truncate in others and print whole dollars in a few. This site works in exact fractions on whole cents and rounds half-up to the cent, where a figure is shown. Where IRD’s own method rounds at each step, the calculator follows it and says so: the entertainment adjustment (GST, then the amount before GST, then the share, then the adjustment), long stays (each block’s GST), imports (duty, then GST on duty) and a flat-rate credit worked from an inclusive price (the price before GST first). Invoices round once on the total by default, with a per-line option that shows the difference. Tests of IRD examples that truncated or used whole dollars pass on IRD’s printed figure in IRD’s mode, and the half-up figure is recorded beside it.
Assumptions
- National public holidays move due dates, including Matariki and Mondayised holidays. Regional anniversary days do not, because IRD has not said.
- Percentages are entered to one decimal place, as in IRD’s examples.
- The calculators cover current law only. Proposals appear only in dated NOT LAW boxes.
Disclaimer
General information about New Zealand GST using Inland Revenue’s published guidance as at 17 November 2026. Not tax advice. If anything here differs from IR375, ird.govt.nz or myIR, follow Inland Revenue.
Slips and differences in IRD’s guides
- IR375 p26 (Miriama): a 9 point change on $4,500 of GST prints the adjustment value as “($450)”; the arithmetic gives $405. The conclusion (no adjustment) is unchanged.
- The same $1,600.00 x 3 / 23 is printed $208.70 on IR375 p36 and $208.69 on IR375 p40 (truncated). Other truncations: IR375 pp31, 36 and 41.
- IRD’s mixed-use assets page prints the wrong figure for half of one cost, though its own total confirms the right one; it also dates Regan’s purchase a year differently from IR375 p31.
- Registration: IR375 says “over $60,000”, some IRD web pages say “at least $60,000”. The Act says “exceeded”; we follow the Act.
- Six-monthly filing: IRD says “under $500,000”, the Act says “not more than”. We follow the Act.
- Change-of-use floor: one IRD page says “less than $1,000”, the Act and IR375 say “$1,000 or less”. We follow the Act.
- Final return period: one IRD web page gives an example that conflicts with IR375 p22 and the Act. We follow IR375.
- Peter’s boat (IR375 pp26 to 27): IRD adds month-weighted components each rounded to one decimal; our tests use IRD’s method.
- Amy’s car differs between IR375 p24 and IRD’s adjustments page.
- A 2025 Act commentary says the flat-rate credit is 8.5% “of GST charged”; the Act says 8.5% of the value of the supply. We follow the Act.
- Our own research draft said a due date of 28 March 2027 moves to 29 March; that Monday is Easter Monday, so it moves to Tuesday, 30 March 2027. Corrected before launch.
Open data
The rules and thresholds are published as JSON at /data/gst-rules-2026-27.json under CC BY 4.0.
Every test, run on every build
62 of 62 current-law test cases pass (185 checks), 48 of them Inland Revenue worked examples. Checked 17 November 2026.
| Case | Label | Source | What it tests | Checks | Result |
|---|---|---|---|---|---|
TC01 | IRD | IR375 p5; W_CALC (Hine) | Add GST at 15% | 2 | Pass |
TC04 | IRD | IR324 p2 | Add GST at 15% | 2 | Pass |
TC02 | IRD | IR375 p5; W_CALC (Arthur) | Remove GST with 3/23 | 2 | Pass |
TC03 | IRD | IR324 p2 | Remove GST with 3/23 | 2 | Pass |
TC05 | IRD | IR375 p5 (divisor method) | Divisor method, 8 decimal places | 3 | Pass |
TC06 | IRD | IR375 p33 (employee contribution to a fringe benefit) | GST content of an inclusive amount | 1 | Pass |
TC12 | IRD | IR375 p36 (Manu, bad debt recovered) | GST content of an inclusive amount | 1 | Pass |
TC15 | IRD | W_SS (Graham's insurance payout) | GST content of an inclusive amount | 1 | Pass |
TC16 | IRD | IR375 p42 (hire purchase fridge) | GST content of an inclusive amount | 1 | Pass |
TC17 | IRD | W_SS (Gordon, hire purchase) | GST content of an inclusive amount | 1 | Pass |
TC07 | IRD | IR375 p33 | GST on fringe benefits | 3 | Pass |
TC08 | IRD | IR375 p34 (XYZ Ltd) | Entertainment adjustment, from 1 April 2018 | 5 | Pass |
TC09 | IRD | IR375 p34 (pre 1 April 2018 comparison) | Entertainment, pre 1 April 2018 rule | 1 | Pass |
TC10 | DERIVED_FROM_IRD_EXAMPLE | IR375 p36 (Brent's bad debt; formula printed, result not printed) | Bad debt written off, Box 13 | 1 | Pass |
TC11 | IRD_ROUNDING | IR375 p36 (Sue's hotel) | Part bad debt (IRD truncated) | 3 | Pass |
TC13 | IRD_ROUNDING | IR375 p40 (Helen's wage subsidy); W_SS (George) | GST content (IRD truncated) | 2 | Pass |
TC14 | IRD_ROUNDING | IR375 p41 (Damien's insurance payout) | GST content (IRD truncated) | 2 | Pass |
TC18 | IRD | IR375 pp42 to 43 (piano sold to an associate) | Sale to an associate | 2 | Pass |
TC19 | IRD | IR375 p43 (associate timing); W_SS variant | Associate timing | 3 | Pass |
TC20 | IRD | IR546 p4 (Charlie keeps his taxi) | Deregistration, asset kept | 1 | Pass |
TC21 | IRD | IR546 p11 (Tom's antiques) | Secondhand goods, then exported | 4 | Pass |
TC22 | IRD | IR546 p11 (costs of raising capital) | Apportioned claim | 1 | Pass |
TC23 | IRD | IR546 p13 (Melissa's imported software); RS2016 p27 | Reverse charge on imported services | 5 | Pass |
TC24 | IRD | IR375 pp38 to 39 (Comedy Hotel) | Long-stay accommodation (4 weeks, then 60%) | 9 | Pass |
TC25 | IRD | IR375 p24 (Phil's laptop) | Principal purpose, $10,000 or less | 1 | Pass |
TC26 | DERIVED_FROM_IRD_EXAMPLE | IR375 p24 (Amy's car) | Principal purpose against apportionment | 2 | Pass |
TC27 | IRD | IR375 p26 (Ben's car) | Change of use, first period (Ben) | 5 | Pass |
TC28 | IRD_CORRECTED | IR375 p26 (Miriama's car) | Under 10 points and $1,000 (IRD slip corrected) | 4 | Pass |
TC29 | IRD | IR375 pp26 to 27 (Peter's boat) | Peter’s boat, five adjustment periods | 8 | Pass |
TC30 | IRD | IR375 p28 (Tatara Ltd, permanent change of use) | Permanent change of use (wash-up) | 3 | Pass |
TC31 | IRD | IR375 p28 (Melissa's car) | Disposal credit (Melissa’s car) | 3 | Pass |
TC32 | IRD_ROUNDING | W_CIU (Melissa variant) | Disposal credit (IRD whole dollars) | 2 | Pass |
TC33 | IRD | IR375 p28 (Peter's boat sale) | Disposal credit (Peter’s boat sale) | 2 | Pass |
TC34 | IRD_ROUNDING | IR375 p29 (Emily, property developer); W_CIU | Property developer cap (Emily) | 4 | Pass |
TC35 | IRD | IR375 pp29 to 30 (Sandy, first period); W_LAND (Lee's bungalow) | Concurrent use of land (Sandy, first period) | 3 | Pass |
TC36 | IRD | IR375 p30 (Sandy, house A, second period) | Concurrent use with months solely rental | 4 | Pass |
TC37 | IRD_ROUNDING | IR375 p31 (Regan's charter boat); W_MUA | Mixed-use asset (Regan’s boat) | 3 | Pass |
TC38 | IRD | IR375 p23 (Gavin's zero-rated holiday home); W_ADJ | Non-taxable election on zero-rated land (Gavin) | 1 | Pass |
TC39 | IRD | W_ZRL (Sarah's zero-rated building) | Zero-rated land, part private use (Sarah) | 2 | Pass |
TC40 | IRD | AD277 p1 (ride-share driver Jared) | Flat-rate credit, unregistered driver | 4 | Pass |
TC41 | IRD | AD277 p2 (registered host) | Registered host on a marketplace | 5 | Pass |
TC42 | IRD | AD283 pp3 to 4 (Emma) | Flat-rate credits and income tax (Emma) | 4 | Pass |
TC43 | IRD | AD283 pp2 to 3 (Warren) | Flat-rate credits and income tax (Warren) | 4 | Pass |
TC44 | IRD | LVG_SR p50 (dresses; 2019 fees, historic) | Imports over $1,000, some goods already taxed | 4 | Pass |
TC45 | IRD | LVG_SR p49 (phone and headphones, GST charged offshore) | Imports, GST charged offshore on everything | 2 | Pass |
TC46 | IRD | W_FILE; IR375 p6; GSTA s 16(2) | Due dates: 28th, 15 January, 7 May | 3 | Pass |
TC47 | IRD | W_REG2 sidebar on 2026-11-17; IR375 p6 weekend rule | Due date on a Saturday | 3 | Pass |
TC48 | DERIVED_HYPOTHETICAL | IR375 p6 weekend rule | Due dates on Sundays (and Easter Monday 2027) | 2 | Pass |
TC49 | IRD | IR375 p22 (final return period) | Final return period on cancellation | 2 | Pass |
TC50 | IRD | CSA p142 (s 15D(2BA) examples) | Backdating a filing frequency change | 1 | Pass |
TC51 | IRD | IR375 p18 (Kevin and Maria); W_SS | Supply correction (Kevin and Maria) | 3 | Pass |
TC52 | DERIVED_FROM_ACT | GSTA s 51(1)(a) 'has exceeded' | Registration: exceeded, not reached | 1 | Pass |
TC53 | DERIVED_FROM_ACT | GSTA s 51(1) provisos (c), (d) | Registration: capital asset replacement excluded | 2 | Pass |
TC54 | DERIVED_FROM_ACT | GSTA ss 15(2)(a), 15(4), 19A | Six-monthly, payments basis, monthly limits | 11 | Pass |
TC55 | DERIVED_FROM_ACT | GSTA s 19E; CSA pp146 to 147 | Taxable supply information levels | 8 | Pass |
TC56 | DERIVED_FROM_ACT | GSTA s 21G(4) | Adjustment periods by value | 2 | Pass |
TC57 | DERIVED_HYPOTHETICAL | rounding standard in meta.rounding | Invoice rounding: per invoice against per line | 3 | Pass |
TC58 | DERIVED_HYPOTHETICAL | IR375 p5 formulas | Reverse from the GST amount | 2 | Pass |
TC59 | DERIVED_HYPOTHETICAL | IR375 p5 formulas | Price rounding to $9.99 | 3 | Pass |
TC60 | DERIVED_HYPOTHETICAL | IR375 pp12 to 13 box formulas | GST101A boxes | 6 | Pass |
TC61 | DERIVED_HYPOTHETICAL | GSTA ss 19, 19A; IR375 pp6 to 7 | Invoice and payments basis timing | 3 | Pass |
TC62 | DERIVED_FROM_IRD_EXAMPLE | IR375 p42 rule; GSTA s 3A(3)(a) associated persons | Secondhand goods from an associate | 2 | Pass |
Proposal test, kept separate NOT LAW
1 of 1 pass. This tests the lapsed 2026-27 bill’s proposed rule for goods owned at registration. It is not law and no calculator uses it.
| Case | Label | Source | What it tests | Checks | Result |
|---|---|---|---|---|---|
PC01 | NOT_LAW | BC2026 pp163 to 164 (bottling machine) | Proposed s 20BA, goods held at registration (NOT LAW) | 2 | Pass |
Our own edge cases and data checks
45 of 45 pass (163 checks): zero, negatives refused, huge amounts, decimals, many lines, per-line against per-total rounding, every threshold exactly and one dollar over, and due dates on weekends and holidays.
| Case | Label | Source | What it tests | Checks | Result |
|---|---|---|---|---|---|
E01 | OUR CHECK | derived in checks.mjs | Zero: GST on $0 is $0 both ways | 2 | Pass |
E02 | OUR CHECK | derived in checks.mjs | Negatives refused at the input | 5 | Pass |
E03 | OUR CHECK | derived in checks.mjs | Typed formats: $, NZD, spaces, thousands commas | 7 | Pass |
E04 | OUR CHECK | derived in checks.mjs | Decimals: cents allowed, fractions of a cent refused (unit prices allow 4 places) | 3 | Pass |
E05 | OUR CHECK | derived in checks.mjs | Huge numbers: a trillion dollars, exact to the cent; over that refused | 4 | Pass |
E06 | OUR CHECK | derived in checks.mjs | Tiny amounts and half-cent ties round half-up | 5 | Pass |
E07 | OUR CHECK | derived in checks.mjs | Many lines: per-line rounding drifts from per-total | 4 | Pass |
E08 | OUR CHECK | derived in checks.mjs | Mixed invoice: exclusive, inclusive, zero-rated and exempt lines | 6 | Pass |
E09 | OUR CHECK | derived in checks.mjs | Decimal quantity and a 4-place unit price | 2 | Pass |
E10 | OUR CHECK | derived in checks.mjs | Registration exactly at $60,000 and one dollar over | 5 | Pass |
E11 | OUR CHECK | derived in checks.mjs | Taxable supply information exactly at $200 and $1,000 and one dollar over | 5 | Pass |
E12 | OUR CHECK | derived in checks.mjs | Payments basis at $2 million and one dollar over | 2 | Pass |
E13 | OUR CHECK | derived in checks.mjs | Six-monthly at $500,000 and one dollar over | 2 | Pass |
E14 | OUR CHECK | derived in checks.mjs | Monthly compulsory at $24 million and one dollar over | 2 | Pass |
E15 | OUR CHECK | derived in checks.mjs | Imports at $1,000 and one dollar over | 4 | Pass |
E16 | OUR CHECK | derived in checks.mjs | Adjustment periods at $10,000, $20,000, $500,000 and one dollar over | 1 | Pass |
E17 | OUR CHECK | derived in checks.mjs | Change-of-use floor: $1,000 exactly and just over | 3 | Pass |
E18 | OUR CHECK | derived in checks.mjs | Due dates: 15 January and 7 May exceptions and weekend rolls | 4 | Pass |
E19 | OUR CHECK | derived in checks.mjs | Due dates on public holidays: Labour Day 2030 and Anzac Day rules | 5 | Pass |
E20 | OUR CHECK | derived in checks.mjs | Periods: two-monthly odd and even, six-monthly, monthly | 4 | Pass |
E21 | OUR CHECK | derived in checks.mjs | Price rounding: hits, and an honest miss with neighbours | 6 | Pass |
E22 | OUR CHECK | derived in checks.mjs | Reverse: $0.01 of GST and a non-exact amount | 4 | Pass |
E23 | OUR CHECK | derived in checks.mjs | Return: refund when purchases exceed sales; zero-rated larger than sales refused upstream | 2 | Pass |
E24 | OUR CHECK | derived in checks.mjs | Basis helper: hybrid uses invoice date for sales and payment date for purchases | 4 | Pass |
E25 | OUR CHECK | derived in checks.mjs | Backdating window: November registrations flagged for the holiday period | 2 | Pass |
E26 | OUR CHECK | derived in checks.mjs | CSV: quotes, thousands, dollar signs, blank and bad cells | 8 | Pass |
E27 | OUR CHECK | derived in checks.mjs | Long stay exactly 28 nights and 29 nights | 2 | Pass |
E28 | OUR CHECK | derived in checks.mjs | Secondhand: associate limited to the lowest of three; unassociated uses price | 2 | Pass |
E29 | OUR CHECK | derived in checks.mjs | Property: the four outcomes | 6 | Pass |
R01 | REGRESSION | reviews/REVIEW-calculations.md | Due dates: the next unfiled return is listed first (calculations C1) | 6 | Pass |
R02 | REGRESSION | reviews/REVIEW-calculations.md | Invoice basis: a purchase paid before its invoice counts when paid (calculations H1) | 4 | Pass |
R03 | REGRESSION | reviews/REVIEW-calculations.md | Imports: GST on border levies (calculations M1) | 2 | Pass |
R04 | REGRESSION | reviews/REVIEW-calculations.md | Secondhand from an associate needs the seller’s cost (calculations M2) | 3 | Pass |
R05 | REGRESSION | reviews/REVIEW-calculations.md | Long stay: residential establishment, 60% from the first night (calculations M3) | 2 | Pass |
R06 | REGRESSION | reviews/REVIEW-calculations.md | Property: part home and the 5-year rental exemption (calculations M7) | 6 | Pass |
R07 | REGRESSION | reviews/REVIEW-calculations.md | CSV: unquoted thousands separators (calculations C3) | 3 | Pass |
R08 | REGRESSION | reviews/REVIEW-calculations.md | CSV: header detected, blank rows kept, credits, 4 decimals, NZ$, truncation (calculations M5, L1, L2; UX 12, 14) | 10 | Pass |
R09 | REGRESSION | reviews/REVIEW-calculations.md | Invoice: a discount line can be negative | 2 | Pass |
R10 | REGRESSION | reviews/REVIEW-calculations.md | Money input: NZ$ prefix, and negatives only where allowed | 4 | Pass |
R11 | REGRESSION | reviews/REVIEW-calculations.md | Change of use: no adjustments for $10,000 or less (calculations L8) | 1 | Pass |
D01 | OUR CHECK | derived in checks.mjs | rules-data.mjs matches gst-rules.json (run node sync-rules.mjs) | 1 | Pass |
D02 | OUR CHECK | derived in checks.mjs | Rate and fraction agree: 15% is 3/20, tax fraction 3/23 | 2 | Pass |
D03 | OUR CHECK | derived in checks.mjs | Due date constants agree with the rules file | 4 | Pass |
D04 | OUR CHECK | derived in checks.mjs | Holiday table covers the years the due date tool offers | 1 | Pass |
D05 | OUR CHECK | derived in checks.mjs | Every current-law case is run exactly once | 1 | Pass |
Sources
- GST guide IR375 (March 2026)
- GST plus IR546 (March 2026)
- Goods and Services Tax Act 1985 (version as at 30 June 2026)
- Flat-rate credits and income tax factsheet AD283 (March 2025)
Official sources checked 17 November 2026. General information, not tax advice; if anything here differs from Inland Revenue’s guidance, follow IRD.