# What is gross margin? Formula, margin vs markup | MyRecords

> Gross margin is gross profit as a percentage of the selling price. The formula, pricing for a target margin, a worked example and margin against markup.

Canonical: https://myrecords.cloud/resources/glossary/gross-margin/
Last updated: 2026-11-04

Glossary · Sales and trade

**What is gross margin?**

 [Margin and markup calculator](https://myrecords.cloud/resources/free-tools/margin-markup-calculator/)

Definition

Gross margin is gross profit (sales minus the cost of the goods sold) as a percentage of sales; a product bought for 80 and sold for 120 has a gross margin of 33.3%.

Subject

Sales and trade

Applies

In any country

Also called

gross profit margin, margin, GP %

Term 69 of 150, A to Z Updated 4 Nov 2026

## What it means

**Gross margin % = (sales − cost of goods sold) ÷ sales × 100**

It is measured on the selling price, so it can never reach 100%. Use prices and costs before VAT or sales tax. The cost of goods sold includes what it took to get the goods to you ([landed cost](https://myrecords.cloud/resources/glossary/landed-cost/): freight and duty), but not running costs such as rent and salaries. To price for a target margin: **price = cost ÷ (1 − margin)**.

## Example

Nordlicht Tools GmbH, Munich, buys a cordless drill for €80.00 and sells it for €120.00, both before VAT.

| Line | Figure |
| --- | --- |
| Gross profit | €120.00 − €80.00 = €40.00 |
| Gross margin | €40.00 ÷ €120.00 = 33.3% |
| Markup, for comparison | €40.00 ÷ €80.00 = 50.0% |
| Price for a 40% margin | €80.00 ÷ (1 − 0.40) = €133.33 |

## Common mistakes

-   Confusing margin with [markup](https://myrecords.cloud/resources/glossary/markup/): a 50% markup is a 33.3% margin.
-   Working it out on prices that include VAT, which makes the margin look higher.
-   Leaving freight and duty out of the cost.
-   Averaging the margin percentages of several products instead of dividing total gross profit by total sales.

## In MyRecords

The Gross profit report shows sales, the cost of goods sold and gross profit by invoice, item or customer, at the valuation rate of the stock that was sold, so landed costs are included once they are booked.

## Official sources

Updated 4 Nov 2026

1.   [Gross margin, entrepreneur glossary, BDC (Business Development Bank of Canada)](https://www.bdc.ca/en/articles-tools/entrepreneur-toolkit/templates-business-guides/glossary/gross-margin) bdc.ca · gross margin = gross profit ÷ revenue × 100%; gross profit = revenue − cost of goods sold
2.   [7 steps to setting the right price for your products or services, BDC](https://www.bdc.ca/en/articles-tools/marketing-sales-export/marketing/steps-setting-right-price-your-products-services) bdc.ca

## More sales and trade terms

[All sales and trade terms](https://myrecords.cloud/resources/glossary/#sales)

-   [HS code An HS code is the six-digit number from the World Customs Organization's Harmonized System that classifies goods for customs; each country adds digits for its own tariff.](https://myrecords.cloud/resources/glossary/hs-code/)
-   [IBAN An IBAN (International Bank Account Number) is a bank account number in the ISO 13616 format: a country code, two check digits and the national account number, up to 34 characters.](https://myrecords.cloud/resources/glossary/iban/)
-   [Incoterms Incoterms are the International Chamber of Commerce's eleven three-letter trade terms, such as FOB, CIF and DAP, that say where the seller delivers the goods and who pays which costs.](https://myrecords.cloud/resources/glossary/incoterms/)
-   [Late-payment interest Late-payment interest is interest a supplier may charge on a business invoice paid after its due date, at the rate in the contract or, in many countries, at a rate set by law.](https://myrecords.cloud/resources/glossary/late-payment-interest/)
-   [Payment terms Payment terms are the conditions on an invoice that set when and how the customer must pay, such as net 30 days, end of month, a deposit first or an early-payment discount.](https://myrecords.cloud/resources/glossary/payment-terms/)
-   [Proforma invoice A proforma invoice is a preliminary bill sent before goods or services are supplied, showing what the final invoice will be; it is not a tax invoice and creates no debt or tax.](https://myrecords.cloud/resources/glossary/proforma-invoice/)

Any business, anywhere

## Put these terms to work in your books.

Accounting, tax, stock, payroll and loans in one system, customised to the way you work.

[See every app](https://myrecords.cloud/product/) [Works worldwide](https://myrecords.cloud/solutions/worldwide/)

Free, no obligation

Request a quote

-   For the apps and modules you pick
-   At our best price, in writing
-   Your questions, answered by our team

[Request a quote](https://myrecords.cloud/contact/?topic=quote) [or contact us](https://myrecords.cloud/contact/)
