What you need to know
Margin divides profit by selling price, while markup divides profit by cost. Because the denominators differ, a 25% markup is not a 25% margin.
Formula variables and scope
- R
- Revenue
- C
- Cost
- P
- Profit, R − C
Worked examples
Margin
Inputs: Cost 60; selling price 100
- Profit is 40
- Divide 40 by revenue of 100
Result: Margin is 40%.
Limitation: Include all relevant costs before relying on the percentage.
Markup
Inputs: Cost 60; selling price 100
- Profit is 40
- Divide 40 by cost of 60
Result: Markup is 66.67%.
Limitation: Markup and margin are not interchangeable.
Start with profit
Subtract the relevant cost from selling price. Be explicit about whether cost means direct product cost, variable cost, or a broader allocation; changing the cost definition changes both percentages.
Calculate margin from revenue
Margin expresses profit as a share of selling price. With cost 80 and price 100, profit is 20 and margin is 20 ÷ 100 = 20%.
Calculate markup from cost
Markup expresses the same profit relative to cost. In the same example, markup is 20 ÷ 80 = 25%.
Solve a target selling price
For a target margin m below 100%, price = cost ÷ (1 − m). An 80 cost at a 20% target margin gives 80 ÷ 0.8 = 100.
Avoid business-model overclaims
Gross margin does not automatically include operating expenses, tax, financing costs, returns or cash timing. Label the cost basis and use actual accounting records for decisions.
| Cost | Price | Profit | Margin | Markup |
|---|---|---|---|---|
| 80 | 100 | 20 | 20% | 25% |
| 60 | 100 | 40 | 40% | 66.67% |
Put the method into practice
Use the related calculator with your own verified values and review the visible breakdown.
Related calculators
Explore more in Finance and business guide or continue with the Finance, Loans & Business Knowledge Hub.
Frequently asked questions
What should I verify about start with profit?
Subtract the relevant cost from selling price. Be explicit about whether cost means direct product cost, variable cost, or a broader allocation; changing the cost definition changes both percentages.
What should I verify about calculate margin from revenue?
Margin expresses profit as a share of selling price. With cost 80 and price 100, profit is 20 and margin is 20 ÷ 100 = 20%.
What should I verify about calculate markup from cost?
Markup expresses the same profit relative to cost. In the same example, markup is 20 ÷ 80 = 25%.
What should I verify about solve a target selling price?
For a target margin m below 100%, price = cost ÷ (1 − m). An 80 cost at a 20% target margin gives 80 ÷ 0.8 = 100.
References and scope
Unit conversions use defined measurement relationships. Product coverage, institution policies, employment treatment, package quantities and regional requirements remain context-specific.
This guide is educational and does not replace current official guidance, a contract, manufacturer instructions, approved plans, lender disclosures, registrar records or qualified professional advice.

