← All calculators

Profit Margin & Markup Calculator

Price your products with confidence: margin, markup and profit in one place. New to this? See how it works.

Your numbers

What do you want to calculate?

Results

Where your selling price goes

Price needed for each margin

How it works

What this calculator does

This calculator gives you profit, gross margin and markup from a cost and a selling price, or works backwards to the price you need to hit a target margin. It also shows a quick price table for common margins.

The formula

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

Worked example, step by step

A product costs you $60.00 and you sell it for $100.00.

  1. Profit: $100.00 − $60.00 = $40.00
  2. Gross margin: $40.00 ÷ $100.00 × 100 = 40%
  3. Markup: $40.00 ÷ $60.00 × 100 = 66.67%
  4. Reverse: to earn a 25% margin on the same $60.00 cost, the price must be $60.00 ÷ (1 − 0.25) = $80.00

Frequently asked questions

What’s the difference between margin and markup?

Margin is profit as a share of the selling price; markup is profit as a share of the cost. The same $40 profit on a $60 item sold for $100 is a 40% margin but a 66.7% markup.

Why can’t margin reach 100%?

Because margin is measured against the price, and profit can only equal the full price if the cost is zero. A 100% markup, on the other hand, just means doubling the cost.

Is gross margin the same as net profit?

No. Gross margin only subtracts the cost of the product. Net profit also subtracts operating expenses such as rent, salaries, marketing and taxes.

What margin should I aim for?

It varies widely by industry: grocery retail often runs on 20–30% gross margins, while software and luxury goods can exceed 70%. Make sure your margin covers your overhead.

This tool is for illustration only and isn’t financial, tax or legal advice.