Margin & Markup Calculator

Enter your cost and selling price to instantly get gross margin %, markup %, and profit. Free and private, right in your browser.

Enter any two of cost, price, margin, or markup and it fills in the rest, handy for pricing a product, checking a supplier's markup, or figuring out what to charge to hit a target profit margin.

How to use it

  1. Enter any two known values. Cost, selling price, margin %, or markup %
  2. Let the tool calculate the missing figures instantly
  3. Adjust numbers to test different pricing or profit scenarios

Frequently asked questions

What's the actual difference between margin and markup?
Markup is profit as a percentage of cost (what you added on top); margin is profit as a percentage of the selling price (what you actually keep). A $40 item sold for $50 has a 25% markup but only a 20% margin. They use the same $10 profit but divide it by different numbers.
I know my cost and the margin I want. How do I get the selling price?
Enter your cost and target margin percentage; the tool solves selling price = cost ÷ (1 − margin) for you, so you don't have to rearrange the formula by hand.
Why does a 50% markup not equal a 50% margin?
Because markup divides profit by cost while margin divides it by price, and price is always bigger than cost when there's profit. A 50% markup on a $10 cost gives a $15 price, which is only a 33% margin. The gap grows the higher the percentage gets.