Skip to content
CentExact

Business & selling

Margin and markup explained: pricing from cost

Why a 30% markup is a 23% margin, the formulas that convert one to the other, how each calculator mode solves for the missing figure, and what belongs in cost.

Reviewed by CentExactCalculated in your browser. Shared links include inputs.
The $40 profit on an item that costs $60 and sells for $100, as a margin and as a markup
  1. Margin, profit ÷ price40%
  2. Markup, profit ÷ cost66.67%

Source: margin is profit divided by the selling price, and markup is profit divided by the cost.

Try it with these figures

How the result is calculated

Margin and markup describe the same profit from opposite ends. Profit margin answers "what share of the price do I keep?" Markup answers "how much did I add on top of cost?" A target set as one and measured as the other is wrong on every unit sold: an item priced at a 30% markup when the plan needs a 30% margin falls about seven points short on each sale.

ProfitPrice − Cost

MarginProfit ÷ Price

MarkupProfit ÷ Cost

Cost
what the item costs you to make or buy
Price
what you sell it for
Profit is the same in both percentages; only the denominator changes. Cost and Price are the inputs in 'cost and price' mode.

Rearranged for pricing, and for translating between the two:

Price from marginCost ÷ (1 − Margin)

Price from markupCost × (1 + Markup)

Cost from marginPrice × (1 − Margin)

MarkupMargin ÷ (1 − Margin)

MarginMarkup ÷ (1 + Markup)

The other three modes use these: enter a cost and a margin, a cost and a markup, or a price and a margin, and the calculator solves for what is missing.

Worked example

Worked exampleThe calculator's opening figures: an item that costs $60 and sells for $100
ItemAmountHow it is obtained
Cost$60.00Cost
Price$100.00Selling price
Profit$40.00100 − 60
Margin40%40 ÷ 100
Markup66.67%40 ÷ 60

The profit is $40 either way. Quoted as a markup it reads 66.67%, quoted as a margin 40%, and a seller who budgets with the first figure and is measured on the second comes up short.

Try it with these figures

Worked examplePricing to a target margin: a product that costs $50 and needs a 30% margin
ItemAmountHow it is obtained
Price from margin$71.4350 ÷ (1 − 0.30)
Profit$21.4371.43 − 50, which is 30% of 71.43
Price from a 30% markup instead$65.0050 × 1.30
Margin at that markup price23.1%15 ÷ 65, seven points short of target on every unit

Try it with these figures

Reading the result

The headline is the profit per unit, with the margin and the markup beside it and the working under each. Whichever two figures you entered, all four are shown, so you can read the sale either way round. With a positive cost, margin always stays below 100%. A zero-cost sale has a 100% margin and an undefined markup, and the calculator says so in words instead of showing a number.

The mode selector decides which two figures are inputs. "Cost and price" is for a sale that has already happened. "Cost and margin" and "cost and markup" are for setting a price, and the second worked example shows how far apart they land on the same $50 cost. "Price and margin" works backwards from a price the market will bear to the most you can afford to pay for the item. A buyer or a reseller starts from that end.

What changes the result

Why a 100% margin is impossible

Margin is capped below 100% because it is measured against the price, and anything higher would need a negative cost. Markup has no ceiling. A 100% markup means selling for double what you paid, which is a 50% margin, so a target phrased as "double my money" is a markup figure.

Choosing between margin and markup

Markup suits a seller who starts from cost and applies a rule of thumb ("cost plus 40%"). It does not show how much of the revenue is profit. Margin is how accounts, investors and most retail targets are expressed. Gross margin on a profit-and-loss statement is total gross profit divided by total revenue, the same calculation summed over every sale.

If your business plan states a required margin, price with the margin formula. If a supplier or industry quotes a markup, convert it to margin before comparing it with your plan. The gap between them widens as the percentages rise:

MarginEquivalent markup
10%11.1%
20%25%
30%42.9%
40%66.7%
50%100%
75%300%

What to include in cost

The margin is only as complete as the cost you enter. For a physical product that means materials, direct labour, packaging, inbound shipping and any per-unit platform or payment fees. For a service it means the time at your loaded hourly rate plus direct expenses. Leave any of these out and the calculator shows a margin that never reaches your bank account. For marketplace sellers, the Etsy and Amazon fee calculators work out the per-sale deductions to feed in here.

What is not included

  • Overheads. Rent, salaries, marketing and tools are not in the per-unit cost unless you put them there. A 40% gross margin does not mean 40% profit for the business.
  • Taxes on the sale. Enter prices and costs on the same basis, both before VAT or sales tax or both after, or the margin will be wrong by the tax rate.
  • Discounts and returns. The price is the one you actually receive. A list price that is routinely discounted overstates the margin.
  • Volume effects. Unit cost usually falls with volume. The calculator works on one unit at the cost you give it.

Using the result

Check each product's margin against the level your business needs to cover its overheads. Quote the markup to suppliers or when applying a cost-plus rule. Where a supplier's markup meets a margin target in your plan, convert one into the other with the table above before comparing them.

Questions about this calculator are answered on its own page, beside the result they are about: questions and answers.

Related reading

Terms explained

CentExactPersonal finance publisher

CentExact publishes the calculation method, worked examples and available data sources. Automated checks cover reference calculations; they do not certify a result for your circumstances or imply approval by a lender or tax authority.

How we work out and check each answer

This calculator is for general information only and is not financial advice. Results are estimates based on the figures you enter and the stated formula; lenders and providers may round or calculate differently. Check any decision with the institution involved or a qualified adviser.