Calculate unit gross profit margins or determine target retail prices based on margin metrics.
| Target Margin % | Selling Price | Gross Profit | Required Markup % |
|---|
A product marked up 100% over cost has a profit margin of exactly 50%, not 100%. Read that sentence again if it feels contradictory — it trips up almost everyone the first time they see it, including plenty of people who've been pricing products for years.
The reason is simple once you see it: markup divides profit by cost, while margin divides profit by price. Same profit dollar amount, different denominator, different percentage. A $50 product that costs $25 has $25 of profit — that's a 100% markup (profit divided by the $25 cost) but only a 50% margin (profit divided by the $50 price). Neither number is wrong. They're just answering different questions, and using them interchangeably in a financial conversation is a fast way to make a wrong decision look right.
Retail Chain Product Line Health Check: A regional retail chain runs margin numbers across its top 20 SKUs to spot which products are quietly dragging down overall profitability despite strong unit sales, since high volume on a low-margin item can look healthier on a sales report than it actually is on a profit-and-loss statement.
Investor Evaluating a Public Company: An individual investor reading a company's quarterly earnings report calculates gross margin from the revenue and cost-of-goods-sold figures to compare against the company's margin from a year earlier, using the trend as one input among several before deciding whether to hold or sell a position.
Menu Pricing with a Margin Target: A café owner wants every drink on the menu to hit at least a 70% margin. Entering a $1.20 cost and solving for the price needed to hit 70% margin gives $4.00 — Cost / (1 − Margin) = $1.20 / 0.30 = $4.00 — which becomes the floor price for that drink category.
Thrift Store Volunteer Training: A nonprofit thrift store trains new volunteers to price donated goods using a margin target rather than a markup target, since staff found "aim for 60% margin" easier to apply consistently at the register than explaining markup percentages to people without a retail background.
Supplier Comparison: A dropshipping seller compares margin across three potential suppliers offering the same product at $18, $21, and $24 respective costs against a fixed $40 retail price, to see which supplier relationship leaves the healthiest margin before committing to one.
Finance Coursework: A student studying for a corporate finance exam runs several gross margin ratio problems through the calculator to check manual work before a midterm, since gross margin ratio questions appear reliably on introductory finance and accounting exams.
Enter your cost and selling price to calculate the margin percentage directly, or enter your cost and a target margin to solve for the price that achieves it. The calculator handles both directions of the same relationship without requiring you to rearrange the formula yourself.
Margin % = (Price - Cost) / Price * 100
Price = Cost / (1 - Margin % / 100)
Worked example, forward direction: cost is $40, price is $60.
Margin = ($60 − $40) / $60 = $20 / $60 = 33.3%
Compare that to the markup on the same two numbers — ($60 − $40) / $40 = 50% markup — and you can see directly how the two percentages diverge from identical inputs.
Worked example, reverse direction: cost is $75, and the target margin is 25%.
Price = $75 / (1 − 0.25) = $75 / 0.75 = $100.00
Checking the answer: ($100 − $75) / $100 = 0.25, or 25%, confirming the reverse calculation lands exactly on target.
Everything above runs as simple client-side arithmetic in your browser — nothing you enter is stored or sent to a server, and the calculation itself completes instantly with no meaningful processing delay.
Assuming margin and markup are the same number. They converge only at very small percentages and diverge sharply as the percentage grows. A 10% markup is roughly a 9.1% margin — close enough to blur together. A 100% markup is a 50% margin — not close at all. Always confirm which one you're being quoted before making a pricing decision.
Ignoring returns and shrinkage in "realized" margin. The margin calculated here is a theoretical margin based on a single sale at full price. Returns, damaged inventory, and theft all reduce the margin you actually collect across a batch of units, sometimes significantly, and this tool has no way to account for those without you adjusting your effective cost or price inputs manually.
Confusing gross margin with net margin. Gross margin, which is what this tool calculates, only subtracts the direct cost of the item. Net margin subtracts operating expenses too — rent, salaries, marketing — and is almost always a smaller percentage than gross margin. Quoting one as if it were the other misrepresents how profitable a business actually is.
Setting a margin target without checking it against the market. A 70% margin target is meaningless if it prices you well above what competitors charge for a comparable product. Margin math tells you what you need internally; it says nothing about what customers will actually pay.
Not connecting margin to volume needed. A healthy margin percentage on paper doesn't guarantee profitability if you can't sell enough units to cover fixed costs. Pair this tool with our Break-Even Calculator to see how your margin translates into an actual sales volume target.
Why is my margin always lower than my markup for the same numbers?
Because margin divides profit by the (larger) selling price, while markup divides the same profit by the (smaller) cost. Dividing by a bigger number always produces a smaller percentage, so margin is mathematically guaranteed to be lower than markup on identical cost and price figures, except in the special case where cost is zero.
What's considered a "good" margin?
It depends entirely on the industry — software and digital products often carry gross margins above 70%, while grocery retail commonly runs in the single digits to low teens. There's no universal healthy number; compare your margin against others in your specific category.
Can margin be over 100%?
No, not for gross margin as calculated here, since price can never be less than the profit itself when cost is positive. Margin approaches but never reaches 100% as cost approaches zero.
How is this different from net profit margin used in company financial statements?
Net profit margin, reported in company filings, subtracts all operating expenses, taxes, and interest from revenue, not just the direct cost of the product. This calculator produces gross margin, a narrower and typically higher number than net margin for the same business.
Does this account for currency or tax differences?
No — enter cost and price in the same currency and in whatever tax basis (pre-tax or post-tax) makes sense for your situation, since the tool performs pure percentage math regardless of currency or tax treatment.
Markup Calculator — Calculates selling price from cost and a markup percentage instead of a margin percentage — use it alongside this tool to see both numbers for the same product side by side.
Break-Even Calculator — Shows how many units you need to sell at your margin-derived price to cover fixed costs — margin tells you profitability per unit, this tells you the volume required to turn that into real profit.
Discount Calculator — Calculates a sale price from a discount percentage — check the resulting margin here after applying a discount to confirm a promotion doesn't push your margin into unprofitable territory.