Tested tool guide
Tested browser tools
Checked August 16, 2026
What Markup vs Margin Calculator does, with a checked example
Markup and margin describe the same price spread from different starting points. Enter a cost with either a markup percentage, a margin percentage, or a selling price to calculate the corresponding price and percentage values. The common mistake is treating markup and margin as interchangeable. Markup divides profit by cost, while margin divides profit by selling price, so a 25% markup produces a 20% margin rather than a 25% margin.
Worked example
A concrete input and expected output from the current implementation.
Input
Cost: $80
Markup: 25%
->
Expected output
Selling price: $100.00
Margin: 20.00%
The markup adds $20, which is 25% of the $80 cost. That $20 difference is 20% of the resulting $100 selling price, so the margin is 20%.