Open the full calculator on veridiancode.com for the formula, an Indian example and the GST and TDS rules.