Profit margin & markup calculator

Find gross profit, margin and markup or price for a target margin.

Gross profit margin
30%

$30.00 gross profit on $100.00 in sales.

Breakdown & share
Gross profit
$30.00
Gross margin
30%
Markup
42.86%
Sale price
$100.00
Estimates only.

Your inputs

Solve for
$

Example values. Change any of them.

$

What-if compare

Change a second scenario and see the results side by side.

What it’s made of

Cost covered 70%Gross profit 30%

How it’s worked out

See how we got 30%

Gross profit = revenue − cost. Margin % = profit ÷ revenue × 100. Markup % = profit ÷ cost × 100. Target sale price = cost ÷ (1 − target margin).

  1. $100.00 − $70.00 = $30.00 gross profit.
  2. Divide that profit by revenue for margin (30%) and by cost for markup (42.86%).

About this calculator

Gross margin uses direct cost of goods. General overhead, interest and tax belong in separate profitability measures.

Worked example

Gross profit margin · 30%

Gross profit = revenue − cost. Margin % = profit ÷ revenue × 100. Markup % = profit ÷ cost × 100. Target sale price = cost ÷ (1 − target margin).

  1. $100.00 − $70.00 = $30.00 gross profit.
  2. Divide that profit by revenue for margin (30%) and by cost for markup (42.86%).

Common questions

Why do margin and markup differ?

Margin uses the sale price as the denominator. Markup uses the cost.

Can margin be negative?

Yes. A sale below cost produces negative gross profit and margin.

What target margin should I use?

Use your own cost, market pricing and business goals. This tool shows the price implied by the target.

Formula sources

Reference checked November 22, 2026. Credentialed review pending.