Finance

Profit Margin Calculator

See how much profit you make and what percentage it is. Enter your revenue and your cost, and the calculator shows profit, profit margin and markup updating as you type.

Estimates only. This tool is provided for educational purposes and is not financial advice. It models the figures you enter — it does not know your credit terms, local taxes, or fees. Talk to a licensed adviser before making a decision.

$
$

How to use the profit margin calculator

  1. Enter your Revenue — the total amount you sell for, before costs.
  2. Enter your Cost — what it costs to make or buy the item, or your total expenses.
  3. Read the result. Profit, profit margin and markup all update as you type.

Worked example

On $100,000 of revenue with $60,000 of cost, profit is $40,000. The profit margin is 40% ($40,000 ÷ $100,000) and the markup is 66.67% ($40,000 ÷ $60,000). Margin is measured against revenue; markup is measured against cost — which is why they are different numbers.

The formula

Profit = Revenue − Cost

Profit margin = Profit ÷ Revenue × 100

Markup = Profit ÷ Cost × 100

Margin measures profit against the selling price; markup measures it against the cost. A 40% margin and a 66.67% markup describe the same $40,000 profit — just referenced to different bases.

Profit margin vs markup

These two numbers are easy to mix up. Margin is the share of the selling price that is profit. Markup is how much you add on top of cost. Because they use different denominators, markup is always a larger percentage than margin for the same profit.

  • Margin is what matters for pricing discipline. A 40% margin means 40 cents of every revenue dollar is profit.
  • Markup is what you often set first. "Key it up 50%" means cost × 1.5, which is a 33.33% margin, not 50%.
  • Both can be negative. If cost exceeds revenue, profit is negative and both margin and markup go below zero.

What counts as a good margin

Margins vary widely by industry. Grocery and retail often run single-digit percentages; software and services can exceed 50%. Compare yours to similar businesses rather than to an absolute rule.

Frequently asked questions

What is profit margin?

Profit margin is the percentage of revenue that is left as profit after costs. It is profit divided by revenue, expressed as a percentage. A 40% margin means 40 cents of every revenue dollar is profit.

What is the difference between profit margin and markup?

Margin is profit divided by the selling price; markup is profit divided by cost. They describe the same profit but use different bases, so markup is always a bigger percentage than margin for the same profit.

How do I calculate profit margin?

Subtract cost from revenue to get profit, then divide profit by revenue and multiply by 100. For $100,000 revenue and $60,000 cost, profit is $40,000 and margin is 40%.

Can profit margin be negative?

Yes. If your costs are higher than your revenue, profit is negative, so the margin is negative too. That means you lose money on each sale until you cut costs or raise prices.

What is a good profit margin?

It depends on the industry. Grocery and retail often run single-digit margins, while software and services can exceed 50%. Compare your margin to similar businesses rather than to a single benchmark.

Related tools