Profit Margin Calculator

Profit, margin and markup from your cost and selling price.

Enter your values

See the price you need for this margin

Result

Profit margin

40%

Profit
40.00
Markup
66.67%

Profit = price − cost. Margin = profit ÷ price × 100. Markup = profit ÷ cost × 100. Price for a target margin = cost ÷ (1 − margin).

How to use Profit Margin Calculator

  1. Enter cost, selling price and target margin (optional).
  2. The result updates instantly as you type, with no button to press.
  3. Read the formula box to see how it was calculated, then copy the result.

Features

Instant results
Results update as you type, with no Calculate button and no page reload.
Formula explained
See exactly how the answer is worked out, so you can check it or learn the method.
Private & free
Everything runs in your browser. Nothing you enter is uploaded or stored.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit as a share of the selling price; markup is profit as a share of the cost. A 50% markup equals a 33.3% margin.

What is a good profit margin?

It varies widely by industry. Retail is often 20–50% gross margin, software can be much higher.

How does the Profit Margin Calculator work?

It uses this method: Profit = price − cost. Margin = profit ÷ price × 100. Markup = profit ÷ cost × 100. Price for a target margin = cost ÷ (1 − margin).

Is this Profit Margin Calculator free?

Yes. It is 100% free, needs no sign-up and works on mobile and desktop. Your numbers never leave your device.

Free, no sign-up. Your files and numbers are processed in your browser and are not uploaded.

Related tools

View all

Share this Tool

Did Profit Margin Calculator work well for you?