Profit Margin & Markup Calculator

Turn a cost and a price into profit, margin and markup, or work backward from a target margin or markup.

Example value shown. Include everything it costs you to make or buy one unit.

Example value shown.

Add a quantity to see totals.

Profit per unit

$300.00

Cost per unit
$700.00
Selling price per unit
$1,000.00
Profit per unit
$300.00
Profit marginProfit ÷ selling price
30.00%
MarkupProfit ÷ cost
42.86%

Margin and markup convert both ways

Markup = margin ÷ (1 − margin). Margin = markup ÷ (1 + markup). A markup always looks bigger than the margin on the same sale.

Common markups and the profit margin each one equals
Markup on costEquals a margin of
10%9.09%
20%16.67%
25%20.00%
30%23.08%
40%28.57%
50%33.33%
75%42.86%
100%50.00%
150%60.00%
200%66.67%

The short answer

Margin is profit divided by the selling price and markup is profit divided by the cost, so the same sale always shows a bigger markup than margin. For a $70 cost, a 30% margin needs a price of $100.00, and that price is a 42.86% markup.

Worked example

Pricing a $70 product for a 30% margin

A product costs $70.00 to make or buy and you want 30% of the selling price to be profit.

Cost per unit
$70.00
Price ($70.00 ÷ (1 − 0.30))
$100.00
Profit per unit
$30.00
Profit margin (profit ÷ price)
30.00%
Markup (profit ÷ cost)
42.86%

Charge $100.00 for a $30.00 profit: a 30% margin and a 42.86% markup.

Marking the same $70 up by 30% would give $91.00, which is only a 23.08% margin.

How it works

Margin is profit divided by the selling price, and markup is profit divided by the cost. With a cost and a price the page subtracts to get profit, then divides by each in turn.

To price from a target margin it divides the cost by one minus the margin. To price from a target markup it multiplies the cost by one plus the markup. To find the highest cost for a price and margin it multiplies the price by one minus the margin.

The conversion table applies markup ÷ (1 + markup) to each markup in the list, so the margins in it are calculated, not looked up. No industry averages are used.

Assumptions and sources

  • Formula-based; no external rates used. This is an estimate, not accounting or tax advice.
  • Cost is whatever you enter. Include every cost of the unit; the SBA's guide separates fixed costs such as rent, salaries and insurance from variable costs, and a per-unit cost should carry its share of both.
  • Prices and costs are rounded to the cent and percentages are shown to two decimals. Margin needs a price above $0, and markup needs a cost above $0.
  • Tax, shipping, discounts and payment fees are not added. Put them into the cost or the price yourself if you want them counted.

Sources

Last reviewed: November 16, 2026

Related guides: Profit margin vs markup: how to convert between them and price from either, Etsy fees in 2026: listing, transaction and payment processing fees, with examples

All small business tools

FAQ

Why is a 50% markup not a 50% margin?

They divide by different things. A $20 cost marked up 50% sells for $30, which is a $10 profit on $30, a 33.33% margin.

How do I convert between margin and markup?

Markup is margin ÷ (1 − margin), and margin is markup ÷ (1 + markup). A 25% markup is a 20% margin, and a 20% margin is a 25% markup.

What price gives me a 30% margin?

Divide the cost by 0.70. A $70 cost needs a $100.00 price, which leaves $30.00 profit.

Why can't I enter a margin of 100% or more?

Profit would have to equal or exceed the price, which would need a negative cost. The formula also divides by one minus the margin, which is zero at 100%.

What should I count as cost?

Everything it takes to produce or buy one unit. The SBA separates fixed costs such as rent and insurance from variable costs, and the price has to cover both over time.

What does a negative margin mean?

The price is below the cost, so each sale loses money. A $100 cost sold for $80 is a $20 loss, a -25% margin and a -20% markup.

How much can I pay for a product I will sell at $50?

Use the highest-cost mode: price times one minus the margin you want. A 40% margin on a $50 price allows a cost of $30.00.

Can I see the profit on a whole batch?

Yes, add a number of units. 50 units with a $70 cost and a $100 price make $5,000.00 in revenue, $3,500.00 in cost and $1,500.00 in profit.