Skip to content
Free tool, no sign-up

Free Discount & Margin Calculator

Three pricing questions come up in every shop, stall and online store, usually in the middle of a negotiation: what does the customer actually pay after two discounts stack up, how much of a selling price is real profit, and what price must you charge to hit the margin you planned? This page answers all three at once. Every result updates as you type, the currency is shared across the three calculators, and each one has a copy button so you can paste the figures straight into a quote, a message or a spreadsheet.

1. Discount calculator — including stacked discounts

Original price$1,000.00
After first discount (20.00% off)$800.00
After second discount (10.00% off the reduced price)$720.00
Final price$720.00
Total you save$280.00 (28.00% effective discount)

The effective discount is the honest combined figure. Two discounts of 20.00% and 10.00% are worth 28.00% together, not 30.00%, because the second percentage is taken from the already reduced price.

2. Margin and markup calculator

Profit (selling price minus cost)$20.00
Gross margin (profit as a share of the selling price)20.00%
Markup (profit as a share of the cost)25.00%

For every $100.00 you sell, $20.00 is gross profit.

3. Target price calculator

Required selling price$100.00
Profit per unit at that price$20.00
Markup that a 20.00% margin corresponds to25.00%

Formula: required price equals cost divided by one minus the margin as a decimal. For a cost of $80.00 and a margin of 20.00%, that is cost divided by 0.8000.

Margin vs markup: the classic confusion

Margin and markup describe the same profit with two different denominators, and mixing them up is probably the most expensive arithmetic mistake in small retail. Take the example already loaded in the second calculator: an item costs 80 and sells for 100, so the profit is 20. Margin divides that profit by the selling price — 20 divided by 100 — giving a gross margin of 20 percent. Markup divides the same profit by the cost — 20 divided by 80 — giving a markup of 25 percent. Same deal, same 20 of profit, two different percentages. Neither number is wrong; they simply answer different questions. Margin asks how much of each sale you keep. Markup asks how much you added to what you paid.

The table below converts common margins into the markup that produces exactly the same price. Read it once and the pattern sticks: markup is always the larger number, and the gap widens fast as margins rise. A trader who wants a 50 percent margin but applies a 50 percent markup instead will price at cost plus half, keep only a 33.3 percent margin, and wonder at the end of the season where the profit went. It went to the customer, five or ten points at a time, on every single sale.

Gross margin you wantMarkup you must applyPrice if cost is 100
10%11.1%111.11
20%25%125.00
25%33.3%133.33
33.3%50%150.00
50%100%200.00

The conversion formulas are short enough to keep on a sticky note. Markup equals margin divided by one minus the margin, and margin equals markup divided by one plus the markup, with both written as decimals. The target price calculator above runs the first formula for you every time you set a price, so the two numbers always appear side by side and can never drift apart in a price list again.

Stacked discounts: why 20% plus 10% is 28% off, not 30%

A second discount never applies to the original price. It applies to whatever is left after the first discount has done its work, and that single fact explains most arguments at the till. Start with a price of 1,000 — the example loaded in the first calculator. Twenty percent off leaves 800. The extra 10 percent coupon then takes 10 percent of 800, which is 80, not 100. The final price is 720, the total saving is 280, and 280 out of 1,000 is a 28 percent effective discount. The missing two points were never really offered: the coupon percentage shrank because the base it acted on had already shrunk.

Retailers use this on purpose, and honestly enough — a sale price plus an extra coupon genuinely is worth less than the headline numbers suggest, and knowing the effective rate lets you compare offers fairly. A straight 28 percent off at one shop is exactly equal to 20 percent plus an extra 10 percent at another, while a straight 30 percent beats both. The same maths protects sellers: when a buyer asks for 15 percent trade discount and then another 10 percent for paying cash, the true cost of agreeing is 23.5 percent, not 25 — still a serious concession, but one you can now price with your eyes open.

How retailers set prices from a margin target

Professional buyers rarely price by feel. They start from the margin the business needs to survive — the percentage of each sale that must remain after paying for the goods themselves, to cover rent, wages, delivery, spoilage and tax — and work backwards to a shelf price. That is exactly what the third calculator does: divide the cost by one minus the target margin. Cost 80 with a 20 percent margin target gives a price of 100. Cost 80 with a 40 percent target gives 133.33, and notice how the required price accelerates as the target rises, because each extra point of margin must be carved out of a selling price that is itself growing.

Two habits separate good margin pricing from wishful pricing. First, the cost in the formula should be the full landed cost — purchase price plus freight, packaging, platform fees and expected returns — not the bare invoice figure from a supplier. A margin calculated on a partial cost is a fiction that only reveals itself at the end of the month. Second, set the target by category, not by shop. Fast-moving staples can thrive on thin margins because they turn over weekly, while slow, seasonal or fragile stock needs a fat margin on each unit to pay for the capital sitting on the shelf and the markdowns waiting at the end of the season.

The hidden danger of discounting

A price cut always sounds modest and always costs more than it sounds, because the entire cut comes out of profit, not out of cost. Work through one honest example. A product sells for 100 at a 30 percent gross margin, so it costs 70 and earns 30 of profit per unit. Cut the price by 20 percent and the new price is 80 — but the cost is still 70, so profit per unit collapses from 30 to just 10. To earn the same total profit as before the sale, you must now sell three times as many units: three units at 10 of profit merely replace one unit at 30. And that is before counting the extra packaging, delivery, staff time and returns that three times the volume drags along with it.

This is why experienced retailers discount for a reason — clearing dead stock, rewarding a genuinely large order, matching a competitor on one hero product — and set a floor before the negotiation starts. Run the proposed discount through the first calculator, then feed the reduced price into the second one and look at the margin that survives. If the surviving margin cannot pay its share of rent and wages, the discount is not a promotion; it is a slow donation. Sometimes the stronger move is holding the price and adding value instead — free fitting, a longer warranty, a bundle — because value added costs you a fraction of what the same perceived benefit costs as a straight percentage off.

Frequently asked questions

Should I use margin or markup for pricing?
Use margin when you think like a finance manager and markup when you think like a shopkeeper restocking shelves. Margin shows what share of the selling price survives as gross profit, so it connects directly to rent, salaries and other costs that are also measured against sales. Markup shows how much you added on top of cost, which is quick at the buying counter. Either works if you use it consistently, but never mix the two in one price list: a 25 percent markup is only a 20 percent margin, and confusing them quietly hands five points of profit to your customers.
Can margin exceed 100 percent, and can markup?
Margin can never exceed 100 percent, because profit is a part of the selling price and a part cannot be bigger than the whole. Even if an item costs you nothing at all, the margin tops out at exactly 100 percent. Markup has no ceiling at all: buy something for 10 and sell it for 110 and the markup is 1,000 percent, while the margin on that same deal is about 90.9 percent. If a spreadsheet ever shows you a margin above 100 percent, it is really a markup wearing the wrong label.
How do I convert margin to markup, and markup to margin?
Two short formulas cover every conversion. Markup percent equals margin divided by one minus the margin, so a 20 percent margin is 0.20 divided by 0.80, which is a 25 percent markup. Margin percent equals markup divided by one plus the markup, so a 25 percent markup is 0.25 divided by 1.25, which is a 20 percent margin. The target price calculator above does the first conversion for you: type a cost and a desired margin and it shows the selling price together with the markup that margin corresponds to.
What margin should a shop aim for?
There is no single right number because margins vary enormously by trade. Grocery and general retail often run on gross margins of 20 to 30 percent because stock turns over quickly, clothing commonly needs 45 to 55 percent to survive seasonal markdowns, restaurants target roughly 60 to 70 percent gross margin on food before wages and rent, and services with few material costs can run higher still. The honest test is local: your margin must cover rent, staff, spoilage and delivery on your actual sales volume, with something left over. Compare against your own costs and turnover speed, not against a headline number from another industry.
Is a discount calculated before or after tax?
It varies by country and sometimes by the type of tax, but the most common order is discount first and tax second: the discount reduces the taxable price, and GST or VAT is then charged on the reduced amount. That is the order most invoice rules in Pakistan, India, the United Kingdom and the European Union expect for a straightforward trade discount given at the time of sale. A cash discount for early payment can be treated differently, and promotional vouchers have their own rules in some places, so check your local tax guidance for anything beyond a simple percentage off the price.