Adding and Removing Tax
To add tax, multiply the net price by the rate: tax = net × rate and gross = net + tax. A net price of 100 at 20% gives 20 in tax and a gross price of 120.
To remove tax from a price that already includes it, divide instead of subtracting the percentage: net = gross ÷ (1 + rate). A total of 120 at 20% is 100 net and 20 tax, not 96 and 24.