Know exactly what you earn on every sale. Calculate profit margin, markup, or the selling price you need for a target margin — in seconds. Free, no signup, any currency.
Margin vs markup — the difference that costs money
Margin is profit as a share of the selling price: (price − cost) ÷ price. Markup is profit as a share of the cost: (price − cost) ÷ cost. A product bought for $60 and sold for $100 has a 40% margin but a 66.7% markup. Confusing the two is one of the most expensive mistakes in small business pricing.
How to price for a target margin
Decide the margin you need first, then work backwards: price = cost ÷ (1 − margin). With a $60 cost and a 40% margin target, the price must be $60 ÷ 0.60 = $100. Use the "Price from margin" tab above — it does this instantly.
What margin should you aim for?
Retail: typically 20–40% gross margin.
Restaurants: 60–70% margin on food items is common.
Digital products & software: 80%+ margins are normal.
Benchmark against your own industry and competitors — and always price from margin, not markup, so your numbers match your accounting.
Profit margin, explained
What is the difference between margin and markup?
Margin is profit as a percentage of the SELLING price: (price − cost) ÷ price. Markup is profit as a percentage of the COST: (price − cost) ÷ cost. A 25% markup on cost equals a 20% margin on price — they are never the same number.
How do I calculate selling price from a target margin?
Use the formula price = cost ÷ (1 − margin). For example, a $60 cost with a 40% margin needs a selling price of $60 ÷ 0.60 = $100. Switch to the 'price from margin' mode above and it does the math for you.
What is a good profit margin?
It depends on the industry. Retail often runs 20–40% gross margin, restaurants 60–70% on food, and software 80%+. Compare against your own costs and competitors rather than a single magic number.
Is this profit margin calculator free?
Yes. It is 100% free with no signup and works in any country with any currency.
Why is margin always lower than markup on the same sale?
Because the same profit dollars are divided by a bigger number. Margin divides by the selling price, markup by the smaller cost — so for any profitable sale, margin < markup. A 50% markup equals only a 33.3% margin.
How do I find my break-even price?
Break-even is price = total cost (margin 0%). The trap is forgetting hidden costs — add shipping, platform fees, and packaging to the product cost first, then break even against that full figure, not just the wholesale price.
Do discounts hurt margin more than they look?
Yes — disproportionately. Take a $60 item costing $40 (33.3% margin). A 20% discount drops the price to $48, and margin collapses to (48−40) ÷ 48 = 16.7%: you gave away 20% of revenue but half your margin.
How do I convert markup to margin?
Divide the markup by 1 plus the markup, using decimals: margin = markup ÷ (1 + markup). A 25% markup is 0.25 ÷ 1.25 = 20% margin; a 50% markup is 33.3%; a 100% markup (doubling the cost) is a 50% margin. The reverse is markup = margin ÷ (1 − margin): a 20% margin needs a 25% markup, a 40% margin needs a 66.7% markup. Enter any cost and price above and the calculator shows both figures at once.
How much revenue do I need to make $5,000 profit?
Revenue = profit ÷ margin. At a 20% margin you need $5,000 ÷ 0.20 = $25,000 of sales (with $20,000 of costs); at 40% margin only $12,500; at 10% margin $50,000. That is why a thin margin needs far more sales for the same profit — doubling your margin halves the revenue you need. Use the “Price from margin” mode above to set the price that holds your margin.
Margin vs markup: the formulas
Two formulas, one profit, different denominators. Profit margin = (selling price − cost) ÷ selling price × 100 — the share of the price that is profit. Markup = (selling price − cost) ÷ cost × 100 — the profit as a share of cost. To price from a target margin, flip the first formula: price = cost ÷ (1 − margin). Confusing them is the classic pricing error: a "50% markup" sounds like half the price is profit, but it is not.
Worked example: cost $40, price $60
Profit: 60 − 40 = $20. Margin: 20 ÷ 60 × 100 = 33.3% — one-third of the selling price is profit. Markup: 20 ÷ 40 × 100 = 50% — you added half the cost on top. Same $20, two true numbers. Reverse: want a 40% margin on a $40 cost? Price = 40 ÷ (1 − 0.40) = 40 ÷ 0.60 = $66.67 (check: (66.67−40) ÷ 66.67 = 40% ✓).
Practical tips
Use margin to compare businesses and markup to set prices — pick the wrong one and you underprice. Remember discounts attack margin brutally: 20% off a 40%-margin item does not leave 20% margin, it leaves 25% of the original profit gone... precisely: price drops to $48 on $40 cost → margin = 8 ÷ 48 = 16.7%. Always include all costs (shipping, fees, packaging) in "cost" or your margin is fiction.
Gross margin vs net margin
The margin on this page is gross margin — profit after direct product cost only. Net margin subtracts everything: rent, salaries, marketing, taxes. A shop with 40% gross margin might keep 8% net — and that 8% is what actually reaches the owner. Beginners celebrate gross margin; survivors watch net. When benchmarking ("is 30% good?"), always check which margin is quoted: software companies post 70%+ gross margins but far lower net, while grocery stores survive on ~2% net. Compare like with like or the numbers lie to you.
Revisit your margins quarterly, not yearly. Costs creep silently — a supplier raise here, a fee increase there — and the business that reprices early keeps its margin while competitors discover the erosion at year-end.