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
Reference: cost 50
MarginMarkupSelling 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.

Advertisement

Copied

Copy failed. Select the result and copy it manually.

Embed this tool on your website

Use whole pixel dimensions from 1 to 4096.

× px (1–4096)

                        

💡 Integration Tip

Copy the embed code and paste it into your website HTML. The responsive version adapts to all screen sizes automatically.

3.7
3 ratings
✓

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

Cost 60 and price 100 give profit 40, margin 40%, markup 66.6667%. Cost 60 with a 40% margin gives price 100.

How to use

1

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%.

2

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.

Popular Tools

No more tools to show
Explore All Tools
FreeWebTools AI