Calculation new price based on percentage

MarkMol23

New member
Joined
Mar 3, 2023
Messages
2
Hello everyone,

I'm working on some price calculations.

Let's say that I have a product with a New Price of 99,90 $ which I have entered manually.
I need to show a 70% percentage sale on this price.
Basically, I do the following
99,90 * 1,70 = 169,83 $ (I added %70 to the New Price)
But, my system shows only a 41% percentage sale because the system calculates as follows:
Original Price minus New Price = Sale Amount
The percentage of the Sale Amount is the Sale Percentage.
So in my example:
169,83 - 99,90 = 69,93 $
(69,93 / 169,83) * 100= 41%
but this is not the percentage I want to show on my site. I want it to show %70 so I need to calculate a new Original Price based on the New Price and the Percentage that I want to show.

can you please advise how to calculate the Original price based on the New Price?

Thank you very much.
 
how to calculate the Original price based on the New Price
Hi MarkMol. If an original price is reduced by 70%, then the customer pays 30% of the original price.

100% – 70% = 30%

You would like the customer to pay $99,90

Therefore, your question is: 30% of what amount equals 99,90?

Let x = original price

In other words: 30% of x is 99,90

0,3x = 99,90

Do you know how to solve that equation? :)
[imath]\;[/imath]
 
Hi Otis, I'd like to thank you very very much for the solution. ?
Yes the equation is solved by dividing $99,90 by 0,3 so x equals $333

Thanks again.
 
Top