Skip to content
M2TOOLKIT

Profit Margin Calculator

Work out your profit margin from cost and price, or the price you need to hit a target margin.

  • Free
  • No sign-up
  • Nothing is sent or stored
What do you know?

Result

Profit margin
40%
Profit
$40.00
Markup
66.67%
How it was calculated
  1. margin = (price − cost) ÷ price × 100
  2. = $40.00 ÷ $100.00 × 100 = 40%

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved.

How to use the Profit Margin Calculator

  1. Choose whether you know the selling price or a target margin.
  2. Enter your cost per item.
  3. Enter the selling price (or target margin).
  4. Read the margin, profit and markup.

What does this tool do?

Gross margin is profit as a percentage of the selling price. It tells you how much of each sale you keep after paying for the product itself. Markup is profit as a percentage of cost.

Pricing for a target margin is a common stumbling block: to make a 40% margin on a $60 item you need to charge $100, not $84.

Why use it?

  • Price products confidently.
  • See margin and markup side by side so they're never confused.
  • Check whether a discount still leaves you profitable.

Margin vs markup

An item costs $60 and sells for $100. Profit is $40. Margin = 40 ÷ 100 = 40%. Markup = 40 ÷ 60 = 66.7%.

MarginEquivalent markup
10%11.1%
20%25%
25%33.3%
33.3%50%
40%66.7%
50%100%

The formula

Margin = (Price − Cost) ÷ Price × 100
Price for a target margin = Cost ÷ (1 − Margin ÷ 100)

Privacy

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.

Frequently asked questions

What's a good profit margin?

It depends heavily on the industry. Grocery stores may run on low single-digit net margins, while software can exceed 70% gross margin. Compare yourself with businesses like yours.

Last reviewed by the M2Toolkit team.

Other tools people use alongside the profit margin calculator.