Profit Margin Calculator
Calculate profit, margin %, and markup % from cost and selling price.
100% private. Everything runs in your browser. Your data never leaves your device.
Profit Margin
—
Profit—
Margin %—
Markup %What does this tool do?
This calculator works out profit, profit margin percentage, and markup percentage from your cost and selling price. It clarifies the difference between margin and markup, which are easy to confuse. Runs in your browser.
How to use Profit Margin Calculator - Free Online Tool
- Enter the cost price.
- Enter the selling price.
- See the profit, margin %, and markup % instantly.
- Copy the results if needed.
Example
Cost 80, sells for 100:
Before
| Cost | Price |
| 80 | 100 |
After
| Metric | Value |
| Profit | 20 |
| Margin | 20% |
| Markup | 25% |
Margin is profit ÷ price; markup is profit ÷ cost.
Excel formula alternative
Prefer a formula? You can achieve a similar result with margin & markup:
margin% = (price - cost) / price * 100; markup% = (price - cost) / cost * 100
This tool shows both so you never confuse margin with markup.
When should I use this tool?
Pricing products for a target margin
Checking profitability of a sale
Comparing margin vs markup
Setting retail prices
Quoting jobs
Analyzing product profitability
Frequently Asked Questions
Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. The same profit gives a lower margin % than markup %.
Subtract cost from selling price to get profit, then divide profit by the selling price and multiply by 100.
No. It calculates in your browser.
Enter cost and price to see the resulting margin; adjust the price to reach your target.
Related Tools
Compare Excel Files
Excel Formula Generator
Merge Excel Workbooks
Trim, Clean & Convert Case
Remove Duplicates
Compare Two Excel Columns
Excel ↔ JSON Converter
Excel ↔ XML Converter
EMI Calculator
Age Calculator
Excel ↔ CSV Converter
Split Excel Sheets
Remove Blank Rows/Columns
Format Data
Income & Expense Tracker
Find Duplicates
Split Text (Text to Columns)
Extract Email Addresses
Extract Numbers from Text
Word & Character Counter
Change Text Case
Find & Replace Text
Combine Columns
Remove Special Characters
Add Prefix / Suffix
Reverse Text
Convert Text to Numbers
Split Full Names
Remove Extra Spaces
Extract URLs
Extract Text Between Characters
Add Serial Numbers
Transpose Data
Sort Data
Delete / Keep Columns
CSV Viewer
CSV to JSON
JSON to CSV
CSV to SQL
CSV to Markdown Table
Markdown Table to CSV
Excel / CSV to HTML Table
Count Unique Values
Data Profiler & Health Check
Percentage Calculator
Percentage Change Calculator
CAGR Calculator
Discount Calculator
GST Calculator