Skip to main content

Free tools

Profit margin calculator

Profit margin is profit divided by the selling price. If something costs 60 and sells for 100, the profit is 40 and the margin is 40 ÷ 100 = 40%. To hit a target margin, divide the cost by 1 minus the margin: 60 ÷ (1 − 0.40) = 100.

Advanced adds the details: more fields, your own assumptions and a fuller breakdown.

Margin

40.00%

Profit
$40.00
Margin
40.00%
Markup
66.67%
Quote this price
The numbers stay in this browser.

Margin and markup are not the same

Both start from the same profit. Margin divides it by the price; markup divides it by the cost. Cost 60, price 100: margin 40%, markup 66.67%. A 50% markup is only a 33.33% margin.

The formulas

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

For a service business, count your time as a cost too, at the hourly rate you need; otherwise every margin looks better than it is.

QuickBilling's profit and loss report shows your real revenue and costs, so you can check the margin you actually make. See reports.

Questions

How do I calculate profit margin?

Subtract the cost from the price, divide by the price and multiply by 100. Cost 30, price 50: 20 ÷ 50 = 40% margin.

What is the difference between margin and markup?

Margin is profit as a share of the price, markup is profit as a share of the cost. The same sale has a lower margin than markup.

What price gives a 30% margin?

Divide the cost by 0.7. A cost of 70 needs a price of 100 for a 30% margin.

Does the calculator save my numbers?

No. It runs in your browser and sends nothing to QuickBilling or anyone else.

Get an email when these numbers change

We re-check rates and rules every few months. Get a short note when something here changes, plus the occasional tip on getting paid.

Only for these updates. Unsubscribe any time.

Send invoices that get paid faster

Create the invoice, send it as a link, see when your client opens it and let reminders follow up. Free to start, no card needed.

Start free