FREE TOOLS

Profit margin calculator

Find gross profit, gross margin and markup from your selling price and direct product cost.

FREE CALCULATOR

Profit margin calculator

Calculated on your device

Inputs

Example values · edit to explore

Calculation inputs

Enter up to 2 decimal places. Keep tax treatment consistent. Currency is display only.

Results

Per unit
Gross profit
$45.00
Gross margin
45.00%
Markup
81.82%
Gross profit per unit
Gross profit$45.00

Bars share a zero baseline and the same scale.

Gross profit is before other business expenses.

Method
Gross profit = price − cost. Gross margin = gross profit ÷ price × 100. Markup = gross profit ÷ cost × 100.

Estimates only. Excludes costs not entered.Methodology below ↓

How it works

Gross profit = price − cost. Gross margin = gross profit ÷ price × 100. Markup = gross profit ÷ cost × 100.

Worked example

A product sold for $100 with a $55 cost earns $45 gross profit, a 45% gross margin and 81.82% markup.

Interpret your results

A 45% gross margin means $45 of every $100 of sales remains after the stated direct product cost, before overhead and other expenses.

Assumptions

Amounts reflect the costs you enter, not all business expenses. Currency selection changes display only, not exchange rates.

Common mistakes

  • Using cost rather than selling price as the margin denominator.
  • Leaving freight or other direct product costs out of cost.
  • Treating gross profit as take-home profit.

Frequently asked questions

Can gross margin be negative?

Yes. When selling price is below cost, gross profit is negative. At a zero price, gross margin is undefined.

Is a 50% markup a 50% margin?

No. A 50% markup corresponds to a gross margin of 33.33% when cost is positive.

Related calculators

BETTER PRICING STARTS HERE

Make every margin count.

Explore your numbers today. Get in touch about the full Margin Lab product.