eg

discount calculator.

original price × discount % → final price

final price
$79.20
amount saved
$19.80

> worked example

Forward mode: a $99.00 item with a 20% discount produces a final price of $79.20, saving the customer $19.80. Reverse mode: if you know a customer paid $79.20 and the discount was 20%, the original price recovers to $99.00. Both directions are live in the same widget.

takeaway, Reverse mode is the one operators forget exists, useful when auditing a promo that ran last quarter and you only have the final checkout price.

> when operators reach for this

  • Ecommerce managers scheduling a flash sale and needing to confirm the discounted price before updating Shopify metafields.
  • Wholesale buyers receiving a supplier invoice with a 'net price after 15% trade discount' and wanting to back out the list price.
  • Marketers copywriting a sale banner who need the exact savings amount ('save $19.80') rather than just the percent.
  • Finance teams reconciling promo-code redemptions, verifying that the applied discount percent matches the recorded final price.
  • Founders running a tiered discount structure (10% / 20% / 30%) and previewing all three final prices at once by changing the single input.

> the calculation

  • final price (forward)original price × (1 − discount % ÷ 100)
  • amount savedoriginal price × (discount % ÷ 100)
  • original price (reverse)final price ÷ (1 − discount % ÷ 100)Use reverse mode when you know the post-discount price and need to recover the pre-discount figure.

> related calculators, margin & pricing