GST Calculation is very simple, On sale you need to charge gst and on purchase you need to claim GST. Charge GST - Input GST = if result in plus then you need to pay or if result is minus then you need to claim refund.