Profit Margin Calculator

Calculate gross profit, profit margin and markup percentage from cost and selling price.

Loading tool…

Quick Tip

Enter the cost of goods sold for one unit or one order.

Found this useful? Share it

About This Tool

Why use Profit Margin Calculator?

Enter your cost and your selling price and this calculator returns gross profit, profit margin and markup. Margin is profit as a share of the selling price; markup is profit as a share of the cost. They are not the same number, and confusing them is one of the quickest ways to underprice.

Buy at 100 and sell at 150: the profit is 50, the markup is 50% and the margin is 33.3%. To hit a 50% margin from a cost of 100 you must sell at 200, which is a 100% markup. Note this is gross profit only — overheads, payment fees, shipping and tax come out of it.

Key Benefits

Margin and markup side by side

Seeing both stops the classic pricing error of applying a markup and expecting the same margin.

Works per unit or per order

The same arithmetic applies whether you enter one item or a whole month of trading.

Instant price testing

Change the price and watch the margin move, which makes it easy to find a target.

How to use Profit Margin Calculator

  1. 1

    Enter the cost of goods sold for one unit or one order.

  2. 2

    Enter the selling price or revenue.

  3. 3

    Read the profit, margin and markup together.

  4. 4

    Adjust the price until the margin covers your overheads and target profit.

Best use cases

Price a product to hit a target margin.

Check the profitability of a completed order.

Convert a supplier's markup into the margin you will actually earn.

Compare two products with different costs and prices.

Profit Margin Calculator FAQs

What is the difference between margin and markup?

Margin is profit ÷ selling price; markup is profit ÷ cost. A 50% markup produces a 33.3% margin, and a 50% margin requires a 100% markup.

How do I calculate selling price from a target margin?

Divide the cost by (1 − margin as a decimal). For a 40% margin on a cost of 60: 60 ÷ 0.6 = 100.

Is this gross or net profit?

Gross. It covers revenue minus cost of goods only. Rent, salaries, marketing, payment fees and tax are deducted afterwards to reach net profit.

What is a good profit margin?

It varies widely by sector: grocery retail often runs on single-digit margins while software can exceed 70%. Compare against others in your industry rather than a universal figure.

Related Finance Tools

More free finance tools that work well alongside the Profit Margin Calculator.