Profit Margin Calculator: Margin, Markup and Price

This profit margin calculator finds gross profit, margin and markup from a cost and a selling price. It also works backward: enter a target margin to see the price you would need to charge, along with totals for the number of units you sell.

Profit Margin Calculator

Your Product
What it costs to make or buy one unit.

Gross profit margin

40.00%

Selling at $100.00 with a cost of $60.00 leaves $40.00 of gross profit per unit, a 40.00% margin and a 66.67% markup on cost. To reach a 50.0% margin, the price would need to be about $120.00.

Gross profit per unit
$40.00
Markup on cost
66.67%
Total revenue
$50,000.00
Total gross profit
$20,000.00
Price for target margin
$120.00
Price Needed for Each Margin at Your Cost
Target MarginSelling PriceEquivalent Markup
10%$66.6711.1%
20%$75.0025.0%
25%$80.0033.3%
30%$85.7142.9%
40%$100.0066.7%
50%$120.00100.0%
60%$150.00150.0%

Assumptions

  • Gross profit = selling price − cost. Margin = gross profit ÷ selling price. Markup = gross profit ÷ cost.
  • Price for a target margin = cost ÷ (1 − target margin).
  • This is gross margin. Operating costs, taxes and interest are not included, so net margin will be lower.

Educational estimate only. This calculator uses the assumptions you enter to illustrate a possible financial outcome. It does not predict future investment performance, interest rates, inflation, taxes, market prices, or financial results. Actual outcomes may differ.

How Profit Margin Is Calculated

Gross profit is the selling price minus the cost. Margin is that profit divided by the selling price. With a $60 cost and a $100 price, profit is $40 and the margin is $40 ÷ $100 = 40%. These are Fin Loom calculations from the inputs shown.

Margin vs Markup

Markup divides the same profit by the cost instead of the price. In the example, markup is $40 ÷ $60 = 66.67%. Margin can never reach 100%, while markup has no upper limit. Mixing the two is a common pricing mistake, which is why the calculator shows both.

Pricing for a Target Margin

To hit a target margin, divide the cost by one minus the margin. For a 50% margin on a $60 cost, the price is $60 ÷ 0.5 = $120. The table in the calculator shows the price needed for several common margins at your cost.

Gross vs Net Margin

This tool measures gross margin, the profit left after the direct cost of each unit. Net margin subtracts operating expenses, interest and taxes too, so it is lower. A product can have a healthy gross margin and still lose money if overhead is high.

More Fin Loom Calculators

This tool is part of Fin Loom's financial calculators. The financial ratio analyzer works out margins and other ratios from a company's statements, and the payment processing fee calculator shows how card fees cut into each sale.

Frequently Asked Questions

What Is a Good Profit Margin?

It depends on the industry, because cost structures differ widely. Compare your margin with similar businesses and with your own past results rather than a single benchmark number.

What Is the Difference Between Margin and Markup?

Both use the same profit. Margin divides it by the selling price, and markup divides it by the cost. A 40% margin equals a 66.67% markup.

How Do I Price for a 50% Margin?

Divide your cost by 0.5. A product costing $60 needs a $120 price for a 50% gross margin, which is the same as a 100% markup.