# What is margin? How it differs from markup – Sortyra

> Margin is the share of profit in the selling price. Formula, a worked example, the difference from markup and how margin affects pricing, bidding and ads.

Source: <https://sortyra.com/glossary/margin-vs-markup-calculation>

---

[Sortyra](https://sortyra.com/) [Glossary](https://sortyra.com/glossary) [M – P](https://sortyra.com/glossary/m-p)

# Margin

Sortyra team · June 15, 2026 · 3 min read

[Glossary](https://sortyra.com/glossary)

[A – D](https://sortyra.com/glossary/a-d) [E – H](https://sortyra.com/glossary/e-h) [I – L](https://sortyra.com/glossary/i-l) [M – P](https://sortyra.com/glossary/m-p) [Q – T](https://sortyra.com/glossary/q-t) [U – X](https://sortyra.com/glossary/u-x)

- [Main product image (image_link)](https://sortyra.com/glossary/image-link-imgurl-main-image)
- [Marketplace](https://sortyra.com/glossary/what-is-an-online-marketplace)
- [Marketplace commission](https://sortyra.com/glossary/marketplace-commission)
- [MCP (Model Context Protocol)](https://sortyra.com/glossary/what-is-mcp-model-context-protocol)
- [Minimum margin](https://sortyra.com/glossary/minimum-margin-price)
- [MPN](https://sortyra.com/glossary/what-is-an-mpn)
- [Multipack and bundle (is_bundle)](https://sortyra.com/glossary/multipack-is-bundle-google-feed)
- [Output feed](https://sortyra.com/glossary/output-feed-product-feed-export)
- [PNO (cost-to-revenue ratio)](https://sortyra.com/glossary/cos-pno-cost-of-sale)
- [Price comparison site](https://sortyra.com/glossary/what-is-a-price-comparison-site)
- [Price in the feed (price)](https://sortyra.com/glossary/price-in-feed-price-price-vat)
- [Price position](https://sortyra.com/glossary/what-is-price-position)
- [Product brand (brand)](https://sortyra.com/glossary/brand-in-product-feed)
- [Product catalog](https://sortyra.com/glossary/what-is-a-product-catalog)
- [Product category](https://sortyra.com/glossary/product-category-in-feed)
- [Product colour (color)](https://sortyra.com/glossary/color-attribute-google-feed)
- [Product condition (condition)](https://sortyra.com/glossary/condition-attribute-new-used-refurbished)
- [Product description (description)](https://sortyra.com/glossary/product-description-feed)
- [Product filter](https://sortyra.com/glossary/product-filters-feed-shop)
- [Product ID](https://sortyra.com/glossary/product-id-in-feed)
- [Product identifier](https://sortyra.com/glossary/product-identifier-id-ean-mpn)
- [Product link (link)](https://sortyra.com/glossary/product-link-url-in-feed)
- [Product material (material)](https://sortyra.com/glossary/material-attribute-google-feed)
- [Product page](https://sortyra.com/glossary/product-page-shop-comparison-site)
- [Product parameter](https://sortyra.com/glossary/product-parameter)
- [Product size (size)](https://sortyra.com/glossary/size-attribute-google-feed)
- [Product title (title)](https://sortyra.com/glossary/product-title-feed-productname)
- [Product type (product_type)](https://sortyra.com/glossary/product-type-google-feed)
- [Product variant](https://sortyra.com/glossary/what-is-a-product-variant)
- [Purchase price](https://sortyra.com/glossary/purchase-price-in-feed)

Margin is the part of the selling price that is left after you subtract the purchase price. If you sell a sleeping bag for €80 excluding VAT and bought it for €60, the margin is €20, which is 25% of the selling price. It is often confused with markup, which is calculated from the purchase price.

**In this article**

1. What is margin
2. What it is used for
3. What to watch out for
4. How Sortyra helps
5. Related terms
6. Frequently asked questions

## What is margin

If you sell apples at a market that you bought from a grower, the difference between the price the customer pays and the price you paid the grower is what is left to cover your stall rent, transport and wages. That is the margin.

Margin is expressed in two ways:

- **in euros** – selling price minus purchase price,
- **in percent** – profit divided by the selling price × 100%.

It is often confused with **markup**. Markup is the same profit, but divided by the **purchase** price. That is why the same sale always has a higher markup than margin:

| Purchase price | Selling price (excl. VAT) | Profit | Margin | Markup |
| --- | --- | --- | --- | --- |
| €60 | €80 | €20 | 25% | 33.3% |
| €50 | €75 | €25 | 33.3% | 50% |
| €12 | €15 | €3 | 20% | 25% |

When someone says "I have a 30% margin", it is worth asking whether they mean margin or markup. In everyday speech the two words get mixed up.

## What it is used for

- **Setting prices** – selling price = purchase price + markup, plus VAT.
- **A ceiling for advertising** – ads should not cost more than the margin. If the cost of sale (COS) is higher than the margin, you lose money on the ads.
- **Bidding on comparison sites** – for products with a higher margin you can afford a higher cost per click.
- **Campaigns by profitability** – products are split into groups (low, medium, high margin) using `custom_label`, and each group gets a different budget.
- **Competitor-based pricing** – the minimum margin sets the price below which you never go.

## What to watch out for

- **Calculate without VAT.** VAT is not your profit – calculate margin from prices excluding tax.
- **Do not confuse margin and markup.** A 25% markup does not mean a 25% margin, only 20%.
- **Do not forget hidden costs** – shipping from the supplier, customs duty, payment fees or marketplace commission.
- **Margin is not for the public.** Purchase prices and margins do not belong in a feed for comparison sites or partners.

## How Sortyra helps

In **SortyPricing** you enter the **Minimum margin (%)** – in Sortyra it is always a margin on the selling price, not a markup (with a purchase price of €80 and a margin of 20%, the lowest price is €100), and the pricing strategy never goes below it. The minimum margin in marketplace pricing and in price quotes is calculated in the same way. Bidding sets the CPC as a **Share of margin for CPC (%)**, and the **Margin buckets for campaigns** recipe writes the group into `custom_label_0`.

## Related terms

- [Purchase price](https://sortyra.com/glossary/purchase-price-in-feed)
- [Repricing](https://sortyra.com/glossary/what-is-repricing)
- [COS – cost of sale](https://sortyra.com/glossary/cos-pno-cost-of-sale)
- [Bidding](https://sortyra.com/glossary/what-is-bidding-cpc)
- [custom_label](https://sortyra.com/glossary/custom-label-google-feed)
- More detail: [Prices and competition](https://sortyra.com/knowledge-base/competitor-based-pricing) and [Bidding on comparison sites](https://sortyra.com/knowledge-base/cpc-bidding-heureka-zbozi)
- More terms in the [glossary](https://sortyra.com/glossary).

## Frequently asked questions

### How is margin calculated?

Subtract the purchase price from the selling price excluding VAT and divide the result by the selling price. For a sale at €80 and a purchase at €60 the margin is 20 / 80 = 25%.

### What is the difference between margin and markup?

Margin is calculated from the selling price, markup from the purchase price. A €20 profit on a €60 purchase is a 25% margin but a 33.3% markup.

### What is a good margin for an online shop?

It depends on the range and the costs. What matters is that something is still left after paying for ads, shipping and fees.

[← Previous article **Main product image (image_link)**](https://sortyra.com/glossary/image-link-imgurl-main-image) [Next article → **Marketplace**](https://sortyra.com/glossary/what-is-an-online-marketplace)

## Try it on your own feed

[Try it free](https://app.sortyra.com/registracia?lang=en) [Book a 15-min call](https://sortyra.com/contact)
