★ MONEY · GROSS MARGIN · PROFIT

Gross Margin Calculator: Profit, Markup and Pricing

$100,000 of revenue and $60,000 of COGS is a $40,000.00 gross profit — a 40.00% margin and a 66.67% markup. Work out margin, markup and target price: the profit, the conversion both ways, and the price that holds your margin. This one is the GROSS-MARGIN tool — margin and markup on revenue and COGS — the cost-of-goods-sold-calculator page is the COGS tool — working out the cost itself — not the margin on it; the profit-margin-calculator page is the PROFIT-MARGIN tool — margin and markup on any profit figure — not gross margin specifically; and the gross-profit-margin-calculator page is the GROSS-PROFIT-MARGIN tool — the margin alone, without the markup conversion or the target price.

1391

Gross margin calculator

Put your revenue and COGS in: $100,000.00 of revenue and $60,000.00 of COGS is a $40,000.00 gross profit, a 40.00% margin and a 66.67% markup. The markup-to-margin conversion and the target price follow from the same numbers.

Total sales for the period — $100,000 on the defaults.

What the goods you sold cost you — $60,000 on the defaults.

A markup to turn into a margin — 66.67% on the defaults, which is a 40.00% margin.

The cost of one item or job to price — $60,000 on the defaults.

The margin you want on that cost — 40% on the defaults.

Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.$40,000.00Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.. Markup and margin are the same fact from opposite sides: a 66.67% markup is a 40.00% margin, and a 40.00% margin is a 66.67% markup.

Gross profit: $40,000.00

Gross margin: 40.00%

Markup: 66.67%

Margin from a 66.67% markup: 40.00%

Markup from a 40.00% margin: 66.67%

Target price at a 40.00% margin: $100,000.00

Branch: COGS $50,000 instead of $60,000: Gross profit $50,000.00 — $100,000 revenue, $50,000 COGS: margin 50.00%, markup 100.00%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

Branch: COGS $70,000 instead of $60,000: Gross profit $30,000.00 — $100,000 revenue, $70,000 COGS: margin 30.00%, markup 42.86%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

Branch: Revenue $150,000 instead of $100,000: Gross profit $90,000.00 — $150,000 revenue, $60,000 COGS: margin 60.00%, markup 150.00%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

Branch: Revenue $80,000 instead of $100,000: Gross profit $20,000.00 — $80,000 revenue, $60,000 COGS: margin 25.00%, markup 33.33%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

Branch: A 25% markup instead of 66.67%: Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 25.00% markup is a 20.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

Branch: $45,000 of cost at a 40% margin: Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $45,000 of cost at a 40.00% margin prices at $75,000.00.

Reverse: Find the revenue: $100,000.00

At the star the figures are: Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

At the lower neighbor the figures are: Gross profit $39,999.00 — $99,999 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

At the upper neighbor the figures are: Gross profit $40,001.00 — $100,001 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

Reverse verdict: STEP

Reverse: Find the COGS: $60,000.00

At the star the figures are: Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

At the lower neighbor the figures are: Gross profit $40,001.00 — $100,000 revenue, $59,999 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

At the upper neighbor the figures are: Gross profit $39,999.00 — $100,000 revenue, $60,001 COGS: margin 40.00%, markup 66.66%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

Reverse verdict: STEP

Reverse: Find the margin: 40.00%

At the star the figures are: Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

At the lower neighbor the figures are: Gross profit $40,001.00 — $100,000 revenue, $59,999 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

At the upper neighbor the figures are: Gross profit $39,999.00 — $100,000 revenue, $60,001 COGS: margin 40.00%, markup 66.66%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

Reverse verdict: STEP

Edge: $0 COGS — no cost at all: Gross profit $100,000.00 — $100,000 revenue, $0 COGS: margin 100.00%, markup —. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

Edge: COGS equals revenue — $100,000: Gross profit $0.00 — $100,000 revenue, $100,000 COGS: margin 0.00%, markup 0.00%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

Edge: COGS above revenue — $120,000: Gross profit −$20,000.00 — $100,000 revenue, $120,000 COGS: margin −20.00%, markup −16.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.

Edge: $0 revenue: Revenue — more than $0.

At a 40.00% margin, $100,000 of revenue leaves $40,000.00 of gross profit — the other $60,000.00 is the cost of what you sold. A 66.67% markup is the same fact from the cost side: every $1.00 of cost sells for $1.67.

COGS $50,000 instead of $60,000: Gross profit $50,000.00 — $100,000 revenue, $50,000 COGS: margin 50.00%, markup 100.00%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..

COGS $70,000 instead of $60,000: Gross profit $30,000.00 — $100,000 revenue, $70,000 COGS: margin 30.00%, markup 42.86%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..

Revenue $150,000 instead of $100,000: Gross profit $90,000.00 — $150,000 revenue, $60,000 COGS: margin 60.00%, markup 150.00%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..

Revenue $80,000 instead of $100,000: Gross profit $20,000.00 — $80,000 revenue, $60,000 COGS: margin 25.00%, markup 33.33%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..

A 25% markup instead of 66.67%: Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 25.00% markup is a 20.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..

$45,000 of cost at a 40% margin: Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $45,000 of cost at a 40.00% margin prices at $75,000.00..

Reverse: Find the revenue: $100,000.00 — at $100,000.00 the figures are Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.; at the lower neighbor the figures are Gross profit $39,999.00 — $99,999 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.; at the upper neighbor the figures are Gross profit $40,001.00 — $100,001 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00. — verdict: STEP. Reverse: Find the COGS: $60,000.00 — at $60,000.00 the figures are Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.; at the lower neighbor the figures are Gross profit $40,001.00 — $100,000 revenue, $59,999 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.; at the upper neighbor the figures are Gross profit $39,999.00 — $100,000 revenue, $60,001 COGS: margin 40.00%, markup 66.66%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00. — verdict: STEP. Reverse: Find the margin: 40.00% — at 40.00% the figures are Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.; at the lower neighbor the figures are Gross profit $40,001.00 — $100,000 revenue, $59,999 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.; at the upper neighbor the figures are Gross profit $39,999.00 — $100,000 revenue, $60,001 COGS: margin 40.00%, markup 66.66%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00. — verdict: STEP.

Edges: $0 COGS — no cost at all gives Gross profit $100,000.00 — $100,000 revenue, $0 COGS: margin 100.00%, markup —. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.. COGS equals revenue — $100,000 gives Gross profit $0.00 — $100,000 revenue, $100,000 COGS: margin 0.00%, markup 0.00%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.. COGS above revenue — $120,000 gives Gross profit −$20,000.00 — $100,000 revenue, $120,000 COGS: margin −20.00%, markup −16.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00.. $0 revenue gives Revenue — more than $0..

What does a 40.00% gross margin mean?

It means that of every $100.00 you take in, $40.00 is gross profit and $60.00 paid for the goods themselves. On the defaults — $100,000.00 of revenue and $60,000.00 of COGS — the profit is $40,000.00, which is 40.00% of the revenue. The margin is the share of the selling price you keep before rent, wages, tax and everything else; the markup is the same profit measured against the cost instead — 66.67% on the defaults, because $40,000.00 of profit on $60,000.00 of cost is two-thirds of the cost. Both numbers describe the same $40,000.00: the margin answers "what share of the price is profit", the markup answers "how much did I add to the cost".

Three things to check before you trust the number

Margin and markup are not interchangeable. A 66.67% markup is a 40.00% margin, and a 40.00% markup is a 28.57% margin — the two cross at 100%, where a 100% markup is a 50% margin. The confusion costs real money: pricing a job at "40% markup" when you meant "40% margin" leaves $11,428.57 on the table on every $100,000 of sales. If a supplier, a client or a spreadsheet says a percentage without saying which one, ask — the answer changes the price.

The margin is on the selling price, not the cost. At $150,000.00 of revenue with the same $60,000.00 of COGS the margin is 60.00%, and at $80,000.00 of revenue it is 25.00% — the same cost, very different margins, because the margin divides by the price. A cost cut and a price rise both lift the margin, but a cost cut lifts it further: cutting COGS by $10,000 takes the margin to 50.00%, while raising the price by $10,000 takes it to only 45.45%. Know which lever you are pulling.

Gross margin is not profit. The $40,000.00 here is gross profit — revenue minus the cost of the goods. Rent, wages, marketing, tax and interest still come out of it, which is why a 40.00% gross margin can sit next to a business losing money. Compare gross margins only between businesses that count COGS the same way: a retailer and a manufacturer put different things in COGS, so their margins are not comparable. The net margin is the number that says whether the business itself makes money.

Worked example

On the defaults: $100,000 of revenue, $60,000 of COGS.

  1. The gross profit: $100,000 − $60,000 is $40,000.00.
  2. The margin: $40,000.00 ÷ $100,000 is 40.00%.
  3. The markup: $40,000.00 ÷ $60,000 is 66.67%.
  4. Markup to margin: 66.67% ÷ 166.67% is 40.00% — the same margin, from the cost side.
  5. Margin to markup: 40.00% ÷ 60.00% is 66.67% — the same markup, from the price side.
  6. The target price: $60,000.00 ÷ (1 − 0.40) is $100,000.00 — the price that holds a 40.00% margin on $60,000 of cost.

And the other way: a $100,000.00 revenue with a $40,000.00 profit is a 40.00% margin; $60,000.00 of COGS on $100,000.00 of revenue is the same margin; and a 40.00% margin on $100,000.00 of revenue needs $60,000.00 of COGS.

Every branch, checked

The reverses, worked backwards

What the defaults assume

The defaults are $100,000 of revenue and $60,000 of cost of goods sold — the direct cost of what was sold: materials, production labour and anything bought to resell. The margin and markup are computed on those two numbers only, with no tax, no discount and no overhead in them. The markup-to-margin conversion uses the markup you type — 66.67% on the defaults — and the target price uses the cost and target margin you type — $60,000 and 40% on the defaults. A 25% markup is a 20.00% margin, and $45,000 of cost at a 40% margin prices at $75,000.00. Change the revenue and COGS to your own period before you trust the answer, and check what your books count as COGS — the margin is only as honest as that line.

These notes repeat in every explainer section because this page is built to be read start to finish: margin and markup are not interchangeable; the margin is on the selling price, not the cost; and gross margin is not profit.

Output · formula · meaning

OutputFormulaWhat it means
Gross profitrevenue − COGS$40,000.00 — $100,000 − $60,000.
Gross marginprofit ÷ revenue40.00% — $40,000 ÷ $100,000.
Markupprofit ÷ COGS66.67% — $40,000 ÷ $60,000.
Margin from markupmarkup ÷ (1 + markup)40.00% — 66.67% markup is a 40.00% margin.
Markup from marginmargin ÷ (1 − margin)66.67% — a 40.00% margin is a 66.67% markup.
Target pricecost ÷ (1 − margin)$100,000.00 — $60,000 ÷ 0.60.
Reverse: Find the revenuestep$100,000.00: Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..
Reverse: Find the COGSstep$60,000.00: Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..
Reverse: Find the marginstep40.00%: Gross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..
COGS $50,000 instead of $60,000same modelGross profit $50,000.00 — $100,000 revenue, $50,000 COGS: margin 50.00%, markup 100.00%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..
COGS $70,000 instead of $60,000same modelGross profit $30,000.00 — $100,000 revenue, $70,000 COGS: margin 30.00%, markup 42.86%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..
Revenue $150,000 instead of $100,000same modelGross profit $90,000.00 — $150,000 revenue, $60,000 COGS: margin 60.00%, markup 150.00%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..
Revenue $80,000 instead of $100,000same modelGross profit $20,000.00 — $80,000 revenue, $60,000 COGS: margin 25.00%, markup 33.33%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..
A 25% markup instead of 66.67%same modelGross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 25.00% markup is a 20.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..
$45,000 of cost at a 40% marginsame modelGross profit $40,000.00 — $100,000 revenue, $60,000 COGS: margin 40.00%, markup 66.67%. A 66.67% markup is a 40.00% margin; $45,000 of cost at a 40.00% margin prices at $75,000.00..
$0 COGS — no cost at allsame modelGross profit $100,000.00 — $100,000 revenue, $0 COGS: margin 100.00%, markup —. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..
COGS equals revenue — $100,000same modelGross profit $0.00 — $100,000 revenue, $100,000 COGS: margin 0.00%, markup 0.00%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..
COGS above revenue — $120,000same modelGross profit −$20,000.00 — $100,000 revenue, $120,000 COGS: margin −20.00%, markup −16.67%. A 66.67% markup is a 40.00% margin; $60,000 of cost at a 40.00% margin prices at $100,000.00..
$0 revenuesame modelRevenue — more than $0..

Who uses this

Accuracy & limitations

Figures are the model's own totals on the numbers you type, computed from unrounded values: the profit is revenue minus COGS, the margin is the profit divided by the revenue, the markup is the profit divided by the COGS, and the target price is the cost divided by one minus the margin — the displayed percentages are rounded to 2dp, and the 66.67% markup converts to a 40.00% margin (40.0012 unrounded, because 66.67 is a hair above two-thirds of the 166.67 denominator). The model assumes the COGS you type is the direct cost of the goods sold and nothing else; it does not check your books, and it does not count rent, wages, tax, discounts or returns. Gross margin is not net profit: a healthy gross margin can sit next to a loss once overhead is counted. This page is a calculation tool, not accounting advice: talk to your accountant before you act on a margin.

Cite this calculator

$100,000 of revenue and $60,000 of COGS is a $40,000.00 gross profit — a 40.00% margin and a 66.67% markup. A 66.67% markup is a 40.00% margin; $60,000.00 of cost at a 40.00% margin prices at $100,000.00. Source: Bright Side Kit, brightoolbox.com.

Embed this calculator

Frequently asked questions

What is gross margin?

Gross margin is the share of revenue left after the cost of goods sold: $100,000.00 of revenue and $60,000.00 of COGS is a 40.00% margin. It is the gross profit divided by the revenue.

How do you calculate gross margin?

Subtract COGS from revenue, then divide by revenue: ($100,000.00 − $60,000.00) ÷ $100,000.00 is 40.00%. The gross profit is $40,000.00.

What is the difference between margin and markup?

Margin divides the profit by the price; markup divides it by the cost — a 66.67% markup is a 40.00% margin. The same $40,000.00 of profit is 40.00% of the price and 66.67% of the cost.

How do you convert markup to margin?

Divide the markup by one plus the markup: 66.67% ÷ 166.67% is 40.00%. A 25% markup converts to a 20.00% margin.

How do you price for a target margin?

Divide the cost by one minus the margin: $60,000.00 ÷ 0.60 is $100,000.00 at a 40.00% margin. That is the price that holds the margin.

What is a good gross margin?

It depends on the trade — retailers often run 20–40% and software far higher. Compare against businesses that count COGS the same way; a margin alone says nothing about net profit.

Can gross margin be 100%?

Only with $0 COGS — $100,000.00 of revenue and no cost is a 100.00% margin. The markup is undefined there, because there is no cost to divide by.

Can gross margin be negative?

Yes — $60,000.00 of COGS on less revenue would be negative, and $120,000 of COGS on $100,000 of revenue is a −20.00% margin. Selling below cost loses money on every sale.