Profit Margin Calculator
Margin divides profit by selling price; markup divides profit by cost. Zero denominators are undefined. Losses give negative percentages. Target margins below zero are allowed; price mode requires margin below 100%.
Enter nonnegative decimals up to 1 trillion and 6 decimal places. Decimal point or comma; no grouping, exponent or extra text.
Result
- Cost
- Selling price
- Profit
- Margin
- Markup
| Margin | Markup | Selling price | × |
|---|---|---|---|
Method and assumptions
Margin divides profit by selling price; markup divides profit by cost. Zero denominators are undefined. Losses give negative percentages. Target margins below zero are allowed; price mode requires margin below 100%.
Use one currency and one period. Currency is a label; no conversion. Results use floating-point arithmetic; money displays 2 decimals and percentages up to 4. Taxes and other unentered costs are excluded.
Drafts stay only in this page session. Clear removes the draft. Copy and download require a valid current result.
Copied
Copy failed. Select the result and copy it manually.
About Profit Margin Calculator
Margin divides profit by selling price; markup divides profit by cost. Zero denominators are undefined. Losses give negative percentages. Target margins below zero are allowed; price mode requires margin below 100%.
Cost 60 and price 100 give profit 40, margin 40%, markup 66.6667%. Cost 60 with a 40% margin gives price 100.
Use one currency and one period. Currency is a label; no conversion. Results use floating-point arithmetic; money displays 2 decimals and percentages up to 4. Taxes and other unentered costs are excluded.
Use Cases
How to use
Margin divides profit by selling price; markup divides profit by cost. Zero denominators are undefined. Losses give negative percentages. Target margins below zero are allowed; price mode requires margin below 100%.
Use one currency and one period. Currency is a label; no conversion. Results use floating-point arithmetic; money displays 2 decimals and percentages up to 4. Taxes and other unentered costs are excluded.
Pro Tips
- Drafts stay only in this page session. Clear removes the draft. Copy and download require a valid current result.
Frequently Asked Questions
They use different denominators: selling price and cost. They are not interchangeable.
At zero selling price, margin is undefined. At zero cost, markup is undefined. Profit remains selling price minus cost.