PrivTab

Profit Margin Calculator

Margin and markup from your cost and price, or the price to charge for the margin you want.

Runs in your browser · No uploads

I know

Selling price

–

Profit

–

Gross margin

–Profit ÷ selling price

Markup

–Profit ÷ cost

  • Nothing leaves your device
  • No server-imposed size limits
  • No sign-up, no watermark
  • Free

How to use the margin calculator

  1. Choose what you know: cost and price, cost and a target margin, or cost and a markup.
  2. Enter the two numbers.
  3. Read the selling price, profit, margin and markup.

Margin and markup are different

FormulaCost 60, price 100
ProfitPrice − cost40
Gross marginProfit ÷ price40%
MarkupProfit ÷ cost66.67%

Pricing for a target margin

To earn a 40% margin on something that costs 60, divide the cost by (1 − 0.40): 60 ÷ 0.6 = 100. Adding 40% to the cost (84) would only give a 28.6% margin.

Frequently asked questions

Can a margin be over 100%?

No. Margin is a share of the selling price, so it is always below 100%. Markup can be any size: a 200% markup triples the cost.

Is anything sent anywhere?

No. The calculation happens in your browser, and your figures never leaves your device.