Skip to content

Free tool. No sign-up.

Profit margin calculator.

Work out your margin and markup from a cost and a price, find the price that hits a target margin, or check the margins of your whole business.

What do you want to work out?

What if you changed the price?

Profit marginProfitable
40.0%margin

You keep $40.00 of every $100.00 sale. Your markup on cost is 66.7%.

Cost $60.00Profit $40.00
Gross profit$40.00
Markup66.7%
Want your real margins, by product and project?Start for free

The math

How profit margin is calculated.

Find the profit

Subtract what the product or service costs you from the price you sell it for.

$100 − $60 = $40 profit

Divide by the price: margin

Profit margin is the share of the selling price that you keep as profit.

$40 ÷ $100 = 40% margin

Divide by the cost: markup

Markup is how much you add on top of your cost. It is always the bigger number.

$40 ÷ $60 = 66.7% markup

Two numbers, often confused

Margin and markup are not the same.

Both start from the same profit. They divide it by different things, so they give different percentages for the same sale.

Margin

Profit as a share of the price

Use it to see how much of each sale you keep, and to compare products or periods. It can never be more than 100%.

Margin = profit ÷ selling price
Markup

Profit as a share of the cost

Use it to set a price from a cost. A 50% markup gives a 33.3% margin, and a 100% markup gives a 50% margin.

Markup = profit ÷ cost

FAQ

Profit margin questions, answered.

What is a profit margin calculator?

A profit margin calculator works out how much of a selling price is profit. Enter what something costs you and what you sell it for, and it shows the profit, the margin as a percentage of the price and the markup as a percentage of the cost.

How do I calculate profit margin?

Subtract the cost from the selling price to get the profit, then divide the profit by the selling price. A product that costs $60 and sells for $100 has a $40 profit and a 40% margin.

What is the difference between margin and markup?

Margin is profit divided by the selling price. Markup is profit divided by the cost. The same $40 profit on a $100 sale is a 40% margin and a 66.7% markup.

How do I price a product for a target margin?

Divide the cost by one minus the margin you want. For a 40% margin on a $60 cost: $60 ÷ 0.6 = $100. Choose “Price for a target margin” above and the calculator does it for you.

What is the difference between gross and net profit margin?

Gross margin takes only the direct cost of what you sold off your revenue. Net margin also takes off operating expenses such as rent, salaries and software, so it shows what the business keeps overall.

What is a good profit margin?

It depends on the kind of business. Software and services often run high gross margins, while retail and food run much lower ones. Comparing your margin with your own past months tells you more than a general benchmark.

Know your margins without the calculator.

Nuvio shows your income, expenses and profit from your real records, by customer, product and project.