what is the formula to calculate discount percentage?
The first step of the primary method is to use the formula S = p - rp, where S = sale price, r = discount percentage rate, and p = the original price. Using the alternative method, you look at the remaining percent of the price you'd be paying; for example, 90% is left if 10% is taken off.