Selling price from cost and markup, with the margin it equals
Profit Margin Calculator
See your real margin, and the price that gets you the margin you want.
Loading tool…
How to use profit margin calculator
Choose what you know: cost and price, cost and a target margin, or price and a target margin.
Type the numbers.
Read the profit, margin and markup side by side.
What this tool does
- Shows margin and markup for the same sale, with a plain note on why they differ.
- Finds the selling price for a target margin, or the maximum cost for a given price.
- Warns when the price is below cost.
- Formula and worked example on the page.
How the result is verified
Profit divided by price must equal the margin shown, and profit divided by cost the markup. The worked example under the tool lets you repeat the sum by hand.
Frequently asked questions
What is the difference between margin and markup?
Both start from profit, the price minus the cost. Margin is profit as a share of the price; markup is profit as a share of the cost. Buying at 40 and selling at 100 is a 60% margin and a 150% markup.
Why can a margin not be 100% or more?
A 100% margin would mean the item cost nothing, because the profit would equal the whole price. Markup has no such ceiling: a 300% markup is normal for some goods.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Units and revenue needed to cover fixed costs, or hit a profit target
Return on ad spend, break-even ROAS and profit after ads
Quotes and estimates with a valid-until date, scope and terms