Markup and margin are the two most confused numbers in pricing, and mixing them up quietly eats profit. The Mark Up Margin Calculator keeps them straight: markup measures profit against cost, while margin measures profit against selling price. Enter a cost and a price, and the calculator shows both figures side by side, plus the prices you would need to hit a target markup or a target margin.
The confusion is understandable because both numbers describe the same profit in the same sale. A product bought for forty and sold for sixty makes twenty of profit either way. Yet that twenty is a fifty percent markup on cost and only a thirty-three point three percent margin on price. Businesses that price by markup while reporting margin, or the reverse, systematically misjudge how much they are really keeping from each sale.
At a glance
- Markup is profit on cost
- Margin is profit on price
- A 50 percent markup equals a 33.3 percent margin
- Adding 30 percent to cost does not give a 30 percent margin
Markup explained
Markup is profit expressed as a percentage of cost. The formula is selling price minus cost, divided by cost, times one hundred. It answers the question of how much you add on top of what you paid. Retailers and wholesalers often think in markup because they start from a purchase price and add a standard uplift to reach a selling price, which makes markup a natural pricing tool.
Markup has no upper limit. A product bought for ten and sold for one hundred carries a nine hundred percent markup, which sounds dramatic but simply means the price is ten times the cost. That unbounded scale is useful for pricing, but it makes markup a poor measure for comparing profitability across products with very different cost bases, because the percentages quickly lose intuitive meaning.
Margin explained
Margin is profit expressed as a percentage of selling price. The formula is selling price minus cost, divided by selling price, times one hundred. It answers the question of how much of each sales dollar you keep after covering the product cost. Managers, accountants and investors usually prefer margin because it connects directly to revenue: a thirty percent margin means thirty cents of every sales dollar survives as gross profit.
Unlike markup, margin can never reach one hundred percent for a product with a positive cost, because some part of the price always pays for the product itself. As price rises far above cost, margin approaches one hundred percent asymptotically but never reaches it. That bounded scale makes margin easier to compare across products and to use in targets, budgets and break-even analysis.
Converting between them
Every markup has an equivalent margin, and the calculator converts in both directions. A fifty percent markup corresponds to a thirty-three point three percent margin, because the same twenty of profit sits on a base of sixty rather than forty. Conversely, a thirty percent margin corresponds to a forty-two point nine percent markup. The relationship is fixed by arithmetic, not by opinion, so any pricing conversation should state which measure it uses.
The conversion formulas are simple. Margin equals markup divided by one plus markup, with both expressed as decimals. Markup equals margin divided by one minus margin. The calculator applies these relationships to your target figures too, showing the price that delivers a chosen markup and the price that delivers a chosen margin from the same cost, so you can see how far apart those two prices actually are.
Why the mix-up costs money
The classic costly error is aiming for a thirty percent margin by adding thirty percent to cost. That produces only a twenty-three point one percent margin, because the markup base is smaller than the price base. Across thousands of sales, that seven-point shortfall can erase an entire year’s profit, and the business may not notice until accounts reveal that strong sales produced weak gross profit.
The reverse error also happens: a business that wants a fifty percent markup but sets prices from a fifty percent margin target ends up charging more than intended, which can lose sales to competitors. Both errors come from treating the two measures as interchangeable. Naming the measure in every pricing discussion, and checking it in this calculator, prevents both.
Pricing with targets
Target-based pricing starts from the profit you need, not from a competitor price. If you need a forty percent margin to cover overheads and leave a return, divide cost by one minus zero point four to find the required price. If your trade works on markup, multiply cost by one plus the markup instead. The calculator shows both prices from the same cost, letting you compare them before choosing.
Targets should reflect your real overheads, not an industry average copied blindly. A business with high rent, staff or delivery costs needs a higher margin than a lean online operation selling the same goods. Work out your required margin from your own costs first, then use the calculator to translate it into prices and markups your sales team can actually apply.
Beyond gross margin
Markup and margin here describe gross profit on product cost only. They do not include overheads such as rent, wages, marketing, shipping or payment fees, which come out of gross profit to leave net profit. A healthy gross margin can still produce a loss if overheads are too high, so track net margin alongside gross margin and review both regularly.
Discounts deserve special attention, because they attack margin faster than most people expect. A ten percent discount on a product with a thirty percent margin removes a third of the gross profit, not a tenth. Before approving a promotion, run the discounted price through the calculator to see the true margin after discount, and set discount limits that protect it.
Margin targets across industries
Margin targets vary enormously by industry, and copying a neighbour target is a common pricing mistake. Supermarkets run on thin gross margins, often under thirty percent, but survive on huge volume and fast stock turnover. Jewellery, furniture and specialist equipment run far higher margins, because volume is low and each sale must cover substantial overheads. Neither figure is right in isolation; the right margin is the one that covers your costs at your volume.
Services and digital products show even wider ranges. A consultancy selling time has almost no product cost, so its gross margin looks extremely high, yet its net margin after salaries and overheads may be modest. Software and digital downloads have near-zero marginal cost, which makes gross margin almost meaningless as a pricing guide; what matters there is total revenue against fixed development and marketing costs. Always ask which costs a margin figure includes before comparing it with your own.
Setting your target starts from your overheads, not from a benchmark. Add up annual fixed costs, divide by expected sales volume, and add that per-unit overhead to product cost to find your break-even price. Your target margin must sit above break-even by enough to leave a return and a buffer for discounts, returns and bad debts. The calculator then translates that target into a selling price, and any price below it should be treated as a deliberate exception, not a routine discount.
Tracking margin over time
A margin calculated once is soon out of date, because supplier prices, shipping costs and payment fees all move. Track gross margin monthly by product line, not just for the business as a whole, because a healthy overall margin can hide a product that has quietly become unprofitable after a supplier increase. When a product margin falls below its target for two months running, treat it as a pricing problem to solve, not a blip to ignore.
Product mix affects margin just as much as individual prices. Selling more of a low-margin product and less of a high-margin one drags overall margin down even when every price is unchanged. Promotions that push low-margin lines, or a bestseller that shifts toward a cheaper variant, both change the mix silently. Reviewing margin by product and by channel reveals these shifts before they show up as a disappointing quarter.
Shrinkage, returns and waste also eat margin invisibly. Damaged stock, theft, expired goods and customer returns all reduce the effective margin on goods sold, because their cost is spread across fewer successful sales. Businesses that track margin on purchases rather than on goods actually sold overstate their profitability. Reconciling margin against stock movements each month keeps the figure honest and the pricing decisions grounded.
Using the calculator in negotiations
The calculator is also a negotiation tool. When a supplier raises prices, enter the new cost at your current selling price to see the margin damage immediately, then work out the price rise needed to restore your target margin before the meeting. Walking into a negotiation with those two numbers turns a vague complaint about costs into a specific proposal, and it stops you accepting a deal that quietly breaks your margin target.
Worked example
Take a product that costs forty and sells for sixty. The profit is twenty. Markup is twenty divided by forty, which is fifty percent. Margin is twenty divided by sixty, which is thirty-three point three three percent. The same sale, two different percentages, and the calculator shows both so nobody has to guess which one a colleague means.
Now set targets from the same forty cost. A fifty percent target markup gives a price of sixty, while a thirty percent target margin gives a price of fifty-seven point one four. The margin-based price is lower, because margin is measured on the larger price base. Knowing both prices lets a business choose deliberately instead of discovering the difference in its accounts.
Frequently Asked Questions
What is the difference between markup and margin?
Markup is profit as a percentage of cost, while margin is profit as a percentage of selling price. For the same sale they are different numbers: a product costing forty and selling for sixty has a fifty percent markup but only a thirty-three point three percent margin, because the bases differ.
How do I calculate markup?
Subtract cost from selling price, divide by cost and multiply by one hundred. For a cost of forty and a price of sixty, that is twenty divided by forty times one hundred, which is fifty percent. Markup answers how much you added on top of cost.
How do I calculate margin?
Subtract cost from selling price, divide by selling price and multiply by one hundred. For a cost of forty and a price of sixty, that is twenty divided by sixty times one hundred, which is thirty-three point three three percent. Margin answers how much of each sales dollar you keep.
Can markup be over one hundred percent?
Yes. Markup has no upper limit, because it is measured against cost. A product bought for ten and sold for one hundred has a nine hundred percent markup. Margin, by contrast, can never reach one hundred percent while cost is positive.
Can margin be over one hundred percent?
No. Margin is profit divided by selling price, and profit is always smaller than price when cost is positive. As price rises far above cost, margin approaches one hundred percent but never reaches it. A margin above one hundred percent would imply a negative cost.
How do I convert markup to margin?
Divide markup by one plus markup, using decimals. A fifty percent markup becomes zero point five divided by one point five, which is thirty-three point three three percent margin. This calculator performs the conversion automatically from your cost and price.
How do I convert margin to markup?
Divide margin by one minus margin, using decimals. A thirty percent margin becomes zero point three divided by zero point seven, which is forty-two point eight six percent markup. The calculator shows both prices so you can compare them directly.
Why does adding thirty percent not give a thirty percent margin?
Because markup uses cost as its base while margin uses price. Adding thirty percent to a cost of forty gives fifty-two, and the profit of twelve is only twenty-three point one percent of fifty-two. To earn a thirty percent margin on a forty cost, the price must be fifty-seven point one four.
Which should I use for pricing?
Use whichever your business thinks in, but name it every time. Retailers often price by markup, while managers and accountants usually target margin. What matters is consistency: set targets, discounts and reports in the same measure, or convert explicitly with this calculator.
What is a good margin?
It depends on your overheads, industry and volume. A business with high rent and staff costs needs a higher gross margin than a lean online seller. Work out the margin your overheads require, rather than copying an industry average that may not fit your cost structure.
How do discounts affect margin?
Discounts cut margin faster than expected. A ten percent discount on a product with a thirty percent margin removes a third of gross profit, not a tenth. Run discounted prices through the calculator before approving promotions, and set discount limits that protect your target margin.
Is margin the same as profit?
Margin is a ratio, not an amount. Gross margin tells you what share of price survives product cost, but net profit also subtracts overheads such as rent, wages and marketing. Track both gross margin and net margin to understand real profitability.
What if I sell at a loss?
If price is below cost, both markup and margin are negative. A negative margin shows what share of each sale is lost, which is useful for clearance decisions. Selling at a loss can make sense to clear stock, but it should be deliberate and time-limited, not accidental.
How do I price from a target margin?
Divide cost by one minus the target margin as a decimal. For a cost of forty and a thirty percent target margin, divide forty by zero point seven to get fifty-seven point one four. This calculator shows that price automatically from your target margin input.
How do I price from a target markup?
Multiply cost by one plus the target markup as a decimal. For a cost of forty and a fifty percent target markup, multiply forty by one point five to get sixty. This calculator shows that price automatically from your target markup input.