A worked example
A job costs 100 to deliver. A markup of 25% adds 25, so the price is 125. The profit is 25, which is 25% of the cost (the markup) and 20% of the price (the margin).
Going the other way: to earn a 40% margin on a cost of 60, divide the cost by 1 minus 0.40. 60 divided by 0.60 is 100. The profit is 40, which is a markup of 66.7% on the cost.
The same price can be described as a 25% markup or a 20% margin. A 20% markup would be only a 16.7% margin, which is why it matters which one you are quoting.
How it's calculated
- Profit
selling price − cost- Markup
profit ÷ cost × 100- Margin
profit ÷ selling price × 100- Price from a markup
cost × (1 + markup ÷ 100)- Price from a margin
cost ÷ (1 − margin ÷ 100)- Convert
markup = margin ÷ (1 − margin); margin = markup ÷ (1 + markup), with both as fractions
A margin cannot reach 100%, because the price would have to be infinite for the cost to be nothing. A selling price below cost gives a negative markup and margin: a loss.
Questions
What is the difference between markup and margin?
Both are profit as a percentage. Markup is measured against the cost; margin is measured against the selling price. Because the price is larger than the cost, a margin is always a smaller percentage than the markup that gives the same price.
Which should I use to price work?
Either works if you are consistent. Agencies often quote a target margin because it is a share of what the client pays, then convert it to a markup on cost when building a quote. The calculator shows both so you can check the conversion.
Can I use it for hourly rates?
Yes. Use the cost of one hour of the person as the cost. To build that cost from a salary, on-costs and overheads, use the agency charge-out rate calculator.
Does anything I type leave my browser?
No. The sums run in your browser, and the page does not save what you type.
Related
- Agency charge-out rate calculator: from salary and overheads to a rate
- Billable hours calculator
- Agency rate card template
- Project budget and retainer tracker template
- Retainer hours calculator
Last reviewed 30 October 2026. These calculators do arithmetic on the numbers you type; they are not financial, tax or legal advice. More free tools.