How it works
Choose a percentage or fixed discount. Optional tax is added to the reduced price.
Input query strings and outputs
Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.
Input query strings
4-
?originalPrice=Original priceMoney · Required · Default: 120
-
?discountType=Discount typeChoice · Required · Default: percent · Accepted values: percent, fixed
-
?discountValue=Discount valueNumber · Required · Default: 20
-
?taxRate=Tax after discountPercentage · Optional · Default: 0
Outputs
5-
finalPriceFinal priceCurrency · Primary output
-
savingsYou saveCurrency
-
discountedPricePrice before taxCurrency
-
taxAmountTaxCurrency
-
effectiveDiscountEffective discountPercentage
Fixed discounts
A fixed discount cannot reduce the price below zero.
Check the receipt
Some stores calculate tax or stacked coupons differently.