Margin Calculator

Find your profit margin, markup, or the price and cost you need. Fast, free, and private. Your numbers never leave this page.

Calculate

Enter your cost and selling price. We find the margin, markup, and profit.

Gross margin0%
Markup0%
Profit per unit$0.00
Cost$0.00
Selling price $0.00

Worked examples

CostPriceMarginMarkupProfit
$50$10050%100%$50
$80$10020%25%$20
$25$7566.67%200%$50
$120$18033.33%50%$60

Margin vs markup

Margin is profit as a share of the selling price: margin = (price minus cost) divided by price. It is the number most sellers target.

Markup is profit as a share of cost: markup = (price minus cost) divided by cost. A 50% margin equals a 100% markup.

How it works

  1. Find margin: enter cost and price. We show margin, markup, and profit.
  2. Find price: enter cost and your target margin. Price = cost divided by (1 minus margin).
  3. Find cost: enter price and your margin. Cost = price times (1 minus margin).

Free to use, no sign up, and nothing leaves your browser.