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
- Enter your values or text in the tool form.
- Review the result as you change the inputs, or select the action button for code tools.
- 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
Invoice Generator
Create an invoice with customer details, quantity, price and tax. Preview and download a customized PDF.
Open toolSalary Slip Generator
Prepare a salary slip showing basic pay, allowance, deductions and net salary in a downloadable PDF.
Open toolReceipt Generator
Generate a payment receipt with the payer, amount, purpose and date, then customize its PDF.
Open toolExpense Calculator
Add three expense amounts to check a small budget or compare your spending total.
Open toolReviewed 2026-10-24. By Mahad and Mehdi Developers.