Calculate profit

Profit Margin Calculator

The profit margin calculator gives profit, margin and markup from your cost and selling price, and the price you need for a target margin. Margin is profit divided by price; markup is profit divided by cost. For example, $20 cost and $35 price gives a 42.9% margin and a 75% markup.
Last updated UABy Usama Afzal

How the Profit Margin Calculator works

Profit = price − cost Margin = profit ÷ price Markup = profit ÷ cost Price for target margin = cost ÷ (1 − target margin)

Worked example

Example seller numbers: total cost per unit $20.00, selling price $35.00, target margin 40%.

Profit per unit$15.00
Profit margin42.9%
Markup75.0%
Price for target margin$33.33

How to use the Profit Margin Calculator

  1. Enter your price and costs in "Your numbers"
  2. Fill in the remaining fields for your business
  3. Read your result: profit, margin and breakdown update instantly
  4. Use Copy link to save or share your numbers

Profit Margin Calculator FAQ

How do I calculate profit margin?

Subtract total cost from price to get profit, divide by price and multiply by 100.

What's the difference between margin and markup?

Margin divides profit by the selling price; markup divides profit by the cost.

Sources

This calculator uses standard formulas only and no platform fee rates. Formulas are explained in our methodology.

Embed this calculator

Add the Profit Margin Calculator to your website or blog for free. Paste this code where you want it to appear and keep the credit link.

All embeddable calculators