Profit margin calculator

See how much of each sale you keep after the cost of the item, as a share of the selling price.

Gross profit, margin & markup

Inputs

$
$

Margin

37.78%

Gross profit
$17
Markup
60.71%

How to use it

  1. Enter the selling price.
  2. Enter what the item costs you.
  3. Read the margin, gross profit and markup.

Formula

Gross profit = price − cost

Margin % = gross profit ÷ price × 100

Markup % = gross profit ÷ cost × 100

Worked example

An item sells for $45 and costs $28:

Gross profit: $45 − $28 = $17

Margin: $17 ÷ $45 = 37.78%

Markup: $17 ÷ $28 = 60.71%

Assumptions and limitations

  • This is gross margin on one item — it doesn’t include overheads, shipping or taxes unless you add them to the cost.
  • Margin is undefined when the price is $0.

Read more: Profit Margin vs. Markup: What’s the Difference?

Related calculators