GST, both directions.

Put tax on top of your price, or pull it back out of a price that already has it in. The second one is where the mistakes happen.

Type an amount to see the breakdown.

Pick a direction on the left first. "Remove GST" is the one to use on a marketplace settlement figure or an MRP - taking 18% of an inclusive amount overstates the tax.