Profit Margin Calculator

Calculate profit and gross margin from cost price and selling price.

Result

Profit: 200 Margin: 20%

How profit margin calculator works

Profit = selling price - cost. Margin = profit / selling price x 100.

How to use this tool

  1. Enter your values or text in the tool form.
  2. Review the result as you change the inputs, or select the action button for code tools.
  3. Copy the result or download it where a download option is available.

Worked example

An item costing 800 and selling for 1,000 makes 200 profit and a 20% margin.

Accuracy and limits

Margin differs from markup, which divides profit by cost. Include your relevant costs before interpreting the result.

Frequently asked questions

How does profit margin calculator work?

Profit = selling price - cost. Margin = profit / selling price x 100.

What should I check before using the result?

Margin differs from markup, which divides profit by cost. Include your relevant costs before interpreting the result.

Is Profit Margin Calculator free to use?

Yes. Profit Margin Calculator is free, browser-based, and does not require signup.

Does this tool save my data?

Tool inputs are processed on your device. File tools do not upload your files. Website analytics are described in the privacy policy.

Can I use it on mobile?

Yes. The page is responsive and works on modern mobile, tablet, and desktop browsers.

Related tools

Reviewed 2026-10-24. By Mahad and Mehdi Developers.