Ameti Capitalameti.capital · Margin & markup worksheets

Margin and markup calculator

Enter a unit selling price and its direct unit cost. See gross profit, gross margin and markup without confusing their different denominators.

Result record

Gross profit = price − direct cost. Gross margin = gross profit ÷ price × 100. Markup = gross profit ÷ cost × 100. A $100 sale with a $60 direct cost has $40 gross profit, 40% margin and 66.67% markup.

Illustrative starting values. Inputs stay in this tab. Download saves a plain-text record on your device.

Margin to markup conversion curveThe exact curve markup = margin divided by (1 − margin), drawn for margins from 0% to 80%. Markup reaches 100% at a 50% margin and 400% at an 80% margin, rising toward the dashed wall at a 100% margin, which is never reached while cost is above zero.0%100%200%300%400%50% margin = 100% markup100% margin — never reached while cost is above zero0%20%40%50%60%80%100%Gross marginMarkup
Your result, plotted: when you calculate, your (margin, markup) point dots onto the same conversion curve. The starting values are the labelled illustrative example.
See a sensitivity grid for your numbers

Your price and cost, stepped by the same percentages around the values you entered. Along the shaded main diagonal, price and cost scale by the same percentage, so their ratio — and therefore the gross margin — stays constant; off the diagonal, the margin moves.

Formulas used

Gross profit = price − direct cost
Gross margin = gross profit ÷ price × 100
Markup = gross profit ÷ direct cost × 100
Margin from markup = markup ÷ (1 + markup) · Markup from margin = margin ÷ (1 − margin)
gross profit (one)÷ price → margin÷ cost → markup
One gross profit, two denominators: divide by the price for margin, by the cost for markup.

A worked comparison (illustrative)

A unit costing $60 and selling for $100 earns $40 gross profit. Margin is $40 ÷ $100 = 40%; markup is $40 ÷ $60 = 66.67%. Adding a 40% markup to $60 produces $84, not $100, and $84 is only a 28.57% margin ($24 ÷ $84). For a chosen 40% margin, $60 ÷ (1 − 0.40) gives $100; the price from target margin calculator does that step for you. The target itself is an assumption, not a pricing recommendation.

Margin to markup lookup

Gross margin Equivalent markup Price for a $60 cost
10% 11.11% $66.67
20% 25% $75.00
25% 33.33% $80.00
30% 42.86% $85.71
33.33% 50% $90.00
40% 66.67% $100.00
50% 100% $120.00
60% 150% $150.00
75% 300% $240.00

Margin can never reach 100% while cost is above zero, but markup has no upper limit. That asymmetry is why the two percentages drift further apart as they grow.

Before you enter your numbers

  1. Use a consistent direct-cost definition for each unit (invoice cost, or landed cost including freight and duties).
  2. Enter price and cost in the same currency and on the same tax basis.
  3. Keep gross profit separate from overhead, tax, financing and cash flow.

What the result does not tell you

Gross profit is not net profit or available cash. Rent, salaries, marketing, taxes, returns and financing all come out later; the gross vs net margin guide shows how far a 40% gross margin can shrink. This tool does not set a suitable selling price or provide accounting, tax or investment advice.

Can margin or markup be negative?

Yes. When price is below direct cost, gross profit and both percentages are negative. At a zero selling price, margin is undefined; at zero cost, markup is undefined.

Can I compare a service and a physical product?

Only if the cost definitions match. Direct labor, materials, delivery and payment fees may be treated differently. Record the scope before comparing percentages.

Sources for definitions

Definitions follow standard accounting usage as presented in the sources above. All dollar figures on this page are our own illustrative arithmetic.

Educational arithmetic only. Results do not set a suitable price or establish suitability for any lending, investment or business decision. See Use & limitations.

Keep working through the question

Last reviewed October 4, 2026. Worked numbers on this page are illustrative arithmetic, not data about any real business.