Profit Margin Calculator

Calculate gross profit, profit margin and markup from your cost and selling price. 🔒 Runs in your browser

Profit margin–
Gross profit–
Markup–
Formulas
  • Profit = Price − Cost
  • Margin = Profit ÷ Price × 100
  • Markup = Profit ÷ Cost × 100

How to use the Profit Margin Calculator

  1. Choose your currency if the calculator uses amounts.
  2. Enter your own numbers in the fields (the examples are only a starting point).
  3. Results update instantly as you type.
  4. Check the formulas below the results, and copy the results to share them.

About this tool

Margin is profit as a share of the selling price; markup is profit as a share of the cost. The same product always has a lower margin percentage than markup percentage.

Frequently asked questions

What is the difference between margin and markup?

Buying at 30 and selling at 50 gives a profit of 20: that is a 40% margin (20 ÷ 50) but a 66.7% markup (20 ÷ 30).

Are my numbers saved or sent anywhere?

No. Everything is calculated in your browser; only your currency choice is remembered on this device.

Is the Profit Margin Calculator free?

Yes. The Profit Margin Calculator is completely free to use, with no sign-up and no limits on normal use.

Is my data safe?

Yes. This tool runs entirely in your web browser using JavaScript. Your text is never uploaded to our servers.

Does it work on mobile?

Yes, it works in any modern browser on phones, tablets and computers. No app to install.

Related tools

Break-Even CalculatorNewFind how many units you must sell, and how much revenue you need, to cover your fixed and variable costs.Break-Even ROAS CalculatorNewCalculate the minimum ROAS, maximum ACoS and maximum cost per acquisition your ads can have before you lose money.CPA Calculator (Cost Per Action)NewCalculate cost per action / acquisition from your ad spend and conversions, plus CPC and conversion rate.CPC Calculator (Cost Per Click)NewWork out your cost per click, click-through rate and CPM from ad spend, clicks and impressions.CPM Calculator (Cost Per Mille)NewCalculate CPM (cost per 1,000 impressions), or the budget you need for a given number of impressions.CTR Calculator (Click-Through Rate)NewCalculate click-through rate from clicks and impressions for ads, emails or search results.ROAS Calculator (Return on Ad Spend)NewCalculate return on ad spend, ACoS and the real profit your ads generate after product costs.ROI CalculatorNewCalculate return on investment, net profit and annualized ROI for any investment, campaign or project.Markup CalculatorNewFind the selling price from your cost and markup percentage, with the resulting profit and margin.