Calculate the final price after a single or stacked discounts, or find the original price before a discount was applied.
Calculate the final price after a single percentage or flat discount.
Apply multiple discounts sequentially — each discount applies to the already-discounted price.
Find the original price before a discount was applied.