Skip to content
finance

Profit Margin Calculator

Calculate gross profit, profit margin, and markup from revenue and cost.

$
$
Gross margin
40%
Gross profit
$40.00
Markup
66.67%
Currency symbol:

How it works

  1. 1Enter your revenue (selling price) and cost.
  2. 2See gross profit, gross margin %, and markup %.
  3. 3Use it to set prices or check profitability.

Use cases

  • Set a selling price that hits a target margin.
  • Compare margin vs markup (they are not the same).
  • Check the profitability of a product or order.

Frequently asked questions

Margin vs markup — what is the difference?

Margin is profit as a percent of revenue (profit ÷ price). Markup is profit as a percent of cost (profit ÷ cost). A 50% markup is only a 33% margin.

Why is margin shown as "—"?

Margin is profit ÷ revenue, so it is undefined when revenue is zero.

Is my data stored?

No. Everything runs in your browser.

See all →