Skip to content
SmartDailyCalculator

Profit Margin Calculator

Enter what an item costs you and what you sell it for to get your profit, margin and markup.

Changes how amounts are shown. Values are not converted.

Profit margin

40%

Profit
$40.00
Markup on cost
66.67%
Cost as share of price
60%

How to use the Profit Margin Calculator

  1. Enter what one item costs you.
  2. Enter the price you sell it for.
  3. Read the profit margin, the profit in money and the equivalent markup on cost.

Profit margin formula

Profit=R−C
Margin=R−CR×100
Markup=R−CC×100

Where:

R
= revenue (selling price)
C
= cost
Show as plain text

Profit = Revenue − Cost Margin = Profit ÷ Revenue × 100 Markup = Profit ÷ Cost × 100

Margin expresses profit as a share of the selling price, so it can never exceed 100%. Markup expresses the same profit as a share of cost, so it has no upper limit.

Because the two use different bases, the same sale always has a higher markup than margin. A 50% margin, for example, is a 100% markup.

Assumptions and limitations

  • Cost should include everything directly needed to supply the item. Overheads and tax are not included unless you add them to cost.

Example: An item that costs $60 and sells for $100

  1. Profit: $100 − $60 = $40.
  2. Margin: $40 ÷ $100 × 100 = 40%.
  3. Markup: $40 ÷ $60 × 100 = 66.67%.

When to use the Profit Margin Calculator

  • Checking the margin on a product before listing it in a shop or marketplace.
  • Comparing margins across products to see which earn the most per sale.
  • Working out a whole period's margin from total sales and costs with the gross profit calculator.

Profit Margin Calculator FAQs

What is the difference between margin and markup?

Both describe the same profit, measured against different bases. Margin divides profit by the selling price; markup divides it by cost. Mixing them up is a common pricing mistake: marking a $60 item up by 40% gives $84, which is only a 28.6% margin.

What is a good profit margin?

It depends heavily on the industry. Grocery retail often runs on gross margins in the 20–30% range, while software businesses can exceed 70%. Compare against businesses similar to yours rather than a single universal benchmark.

How do I set a price to hit a target margin?

Divide cost by (1 − target margin). For a 40% margin on a $60 cost: 60 ÷ (1 − 0.40) = $100. The Markup Calculator can also convert between the two.

How this calculator was built and tested is explained in our methodology. Spotted a problem? Let us know.