How this is calculated
Sale price = original price × (1 − discount% / 100). The amount saved is simply the original price minus the sale price. For the reverse calculation, the discount percentage is (original − sale) / original × 100 — useful for checking whether a "40% off" sticker actually matches the price tag, or for comparing two different store promotions on an apples-to-apples basis.