Learn to calculate by playing with Profit margin calculator
A short game to see where the result comes from. Pick a language and start; you can stop halfway and come back.
Loading the game…
← Back to Profit margin calculator
What you will practise
A clear distinction between margin on price and markup on cost.
How it works
Gross profit is the difference between price and cost. Divided by the price it gives the margin; divided by the cost it gives the markup.
Formula
Profit = price − cost
Margin % = profit / price × 100
Markup % = profit / cost × 100
Worked example
Example 1: Cost £40, price £60:
Profit: £20
Margin: 33.33%
Markup: 50%
Example 2: Setting a price for a 40% margin on a cost of 30:
Price = cost ÷ (1 − margin) = 30 ÷ 0.60 = 50
Profit: 50 − 30 = 20
Check: 20 ÷ 50 = 40% margin, which is the same as a markup of 20 ÷ 30 = 66.67%
How to play
First pick your language. Then work through the challenges one by one: each sets out a case with real numbers and, if you get stuck, you can ask for a hint. When you answer, you see whether you got it right and why. Progress is saved only in your browser, so you can stop halfway and carry on another day.