Reverse sales tax: how to find the pre-tax price from a receipt total (with JavaScript)
Disclosure: I'm Zayed and I build ClearCalc Tools, a free calculator site. This post explains the math behind one of its features.
A very common mistake when you want the price before tax is to subtra