Hi all,

I am trying to work out a method of calculating an item sell price using a doubled sales margin.

I have the following:

sell_price = 5.15

buy_price = 4.12

margin % (sell_price - buy_price / sell_price):

(5.15 - 4.15) / 5.15 = 0.2

Now I want to work out the new sell price using a % margin that is doubled. So my equation would look something like this:

(x - buy_price) / x = 0.4

(x - 4.12) / x = 0.4

Would anyone know how to solve this or if I'm doing this correctly?

Thanks in advance.