How it's calculated
Final = P × (1 − d ÷ 100)
P = original price, d = discount percent, Final = sale price. You save = P − Final. Dollar-off mode: Final = P − amount. With tax: Total = Final × (1 + tax ÷ 100).
Common questions
Is tax applied before or after the discount?
Tax is applied to the discounted price, which matches how US sales tax is charged at checkout.
What is 25% off $80?
You save $20, so the price before tax is $60.