30% off 2499
- Original price
- 2,499
- Discount (%)
- 30
- Tax added afterwards (%)
- 0
You pay1,749.3
arithmetic identity
Open this exampleDiscounted price with optional tax applied afterwards, and the effective discount once tax is counted.
Also called: percentage off calculator, sale price calculator.
You pay 1,749.3. A saving of 749.7 off 2,499, which is 30% of the original.
The discount comes off first and tax goes on the reduced amount, which is the order almost every jurisdiction uses. The effective discount is measured against the original pre-tax price, so it is smaller than the headline once tax is included.
final = price * (1 - discount) * (1 + tax)Each of these is asserted on every build. If a change to the engine ever moved one of these answers, the build would fail before the page could print it.
You pay1,749.3
arithmetic identity
Open this exampleYou pay2,064.17
arithmetic identity: 2499 x 0.7 x 1.18
Open this exampleYou pay2,499
degenerate case
Open this example