Profit Margin Calculator
Calculate profit margin, markup and profit from cost and price, or find the selling price for a target margin. Free online gross margin calculator.
Processed locally in your browserHow?
This tool runs in this browser tab. The files, text and values you enter are not uploaded to clkr.work servers — closing the tab clears them. Privacy
Quick Answer & Method Summary
Calculate profit margin, markup and profit from cost and price, or find the selling price for a target margin. Free online gross margin calculator. Choose what you know: cost and price, cost and target margin, cost and markup, or price and margin Processed locally in your browser — 0 bytes uploaded to any server.
What next?
Your result is ready in this browser tab. Download, copy or chain into the next local workflow below.
What next?
Found it useful? Share Profit Margin Calculator
Free, no sign-up, works in the browser — send it to a friend or add it to your site.
Related tools
Part of the toolkit
How to use Profit Margin Calculator
- 1Choose what you know: cost and price, cost and target margin, cost and markup, or price and margin
- 2Enter the two values and press Calculate
- 3Read the gross margin, markup, profit and selling price — negative results are flagged as a loss — then copy the breakdown
Frequently asked questions
How do you calculate profit margin?▾
Profit margin = (price − cost) ÷ price × 100. An item that costs $60 and sells for $100 has a profit of $40 and a 40% margin.
What is the difference between margin and markup?▾
Margin divides profit by the selling price; markup divides profit by the cost. The same $60 → $100 sale is a 40% margin but a 66.67% markup.
How do I price a product for a target margin?▾
Price = cost ÷ (1 − margin). For a 40% margin on a $60 cost: 60 ÷ 0.6 = $100. Simply adding 40% to the cost ($84) only gives a 28.6% margin.
What is a good profit margin?▾
It depends on the industry. Grocery and retail gross margins are often 20–30%, restaurants 60–70% on food cost, and software 70–90%. Compare with businesses like yours.
Can the margin be over 100%?▾
No. Margin can't exceed 100% because profit can't be larger than the price. Markup has no upper limit — a $10 item sold for $50 has a 400% markup and an 80% margin.
Embed Profit Margin Calculator on your website▾
Paste this snippet into your page. The embedded tool runs in your visitor's browser and shows a small “Powered by clkr.work” link.