Solve for :
Recognise the structure. The left side is (something minus a fixed amount) divided by that something — the margin form. If is a selling price and a unit cost, the equation says the gross margin is . Seeing this tells you in advance that the answer must be bigger than .
State the domain. Since appears in the denominator, ; the value found at the end must be checked against this.
Clear the denominator. Multiply both sides by :
Collect the x terms on one side. Subtract and add nothing else — this is where the useful closed form appears:
The factor is the fraction of the price that the cost occupies.
Divide to finish, and read off the general rule.
In words: . That formula is what makes this problem reusable with any other cost and margin pair.
Verify to full precision. With : , and exactly ✓. The answer is also comfortably larger than , as predicted.
Need to solve a different problem like this? Open the solver →