Glossary term

Margin (gross margin)

Definition

The difference between selling price and cost of goods, expressed as a percentage of the selling price. A product sold at 15 dollars costing 10 dollars has a 33 percent margin.

Margin, or gross margin, is the difference between what you charge for a product and what it costs you to buy or make, expressed as a percentage of the selling price. It answers a simple question: of every dollar a customer pays, how much is left after covering the cost of the goods. A product sold at 15 dollars that costs 10 dollars leaves 5 dollars, which is a 33 percent margin.

How to calculate it

The formula is (selling price minus cost of goods) divided by selling price, times 100. Using the example above: (15 minus 10) divided by 15 equals 0.33, or 33 percent. Note that margin is not the same as markup. Markup measures profit against cost, so the same product has a 50 percent markup (5 divided by 10) but a 33 percent margin. Mixing the two up is one of the most common pricing errors.

Why it matters

Margin tells you whether a sale is actually worth making. Two products can carry the same dollar profit but very different margins, and the higher-margin item gives you more room to absorb discounts, shipping, and overhead. Tracking margin per product and per order keeps you from chasing revenue that does not cover your costs.

In B2B quoting on Shopify

Margin becomes central the moment you negotiate. Wholesale buyers expect volume discounts, so every price concession eats directly into margin. Before you drop a line price or apply a percentage off, it helps to know your floor: the lowest price that still clears an acceptable margin. When you build quotes as Shopify draft orders, you can see costs against your custom prices and confirm the deal holds up before the buyer accepts and pays. For related terms, see the B2B quoting glossary.

Frequently asked

Is margin the same as markup?

No. Margin is profit as a percentage of the selling price, while markup is profit as a percentage of the cost. A 10 dollar item sold at 15 dollars has a 33 percent margin but a 50 percent markup.

What is a good gross margin?

It depends heavily on the category. Commodity and high-volume goods often run on thin single-digit margins, while specialized or branded products can exceed 50 percent. Compare against your own costs and category norms rather than a single benchmark.

How does discounting a quote affect margin?

Every discount comes straight out of margin, not revenue. A 10 percent price cut on a product with a 33 percent margin removes a large share of your profit on that line, so it helps to check the resulting margin before you send the quote.

Turn quote requests into paid orders

ShopQuotes is a free-to-start Shopify app for branded, checkout-ready quotes.