Finance and business guide

Profit Margin vs. Markup: Formulas and Examples

Distinguish margin from markup, calculate both from cost and selling price and avoid using one percentage in place of the other.

Purpose: Keep revenue-based margin separate from cost-based markup.

3 min read 5 practical sectionsPublished by Nexynto ToolsSources reviewed 26 Nov 2026Updated 26 Nov 2026
Use the methodOpen calculator
Editorial illustration for Profit Margin vs. Markup: Formulas and Examples
Original Nexynto Tools illustration created for “Profit Margin vs. Markup: Formulas and Examples”. Calculations use the article inputs and stated assumptions, not the illustration.
01R: Revenue
02C: Cost
03P: Profit, R − C
Traceable calculation: inputs, method and result stay visibly separate.
Direct answer

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

  1. Profit is 40
  2. 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

  1. Profit is 40
  2. 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.

CostPriceProfitMarginMarkup
801002020%25%
601004040%66.67%

Put the method into practice

Use the related calculator with your own verified values and review the visible breakdown.

Open calculator

Related calculators

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.