Personal income tax refund

I received a number of lump sum payments throughout the year; which affected how the payroll system taxed me.

To work out roughly the refund I will receive, is it as simple as looking at the IRD summary and then comparing that to what paye.net.nz says?

IRD Summary:

Total gross amount: $186,406.26

Total PAYE: $55,038.24

PAYE.net.nz suggests I should've paid $51,775.94

Therefore I'm roughly due a refund of $3,262.3 ?