Profit margin calculator
Enter your cost and your selling price, or the margin you want, and get your profit, markup, gross margin and selling price including VAT.
- Selling price before tax
- 150.00 MAD
- Profit
- 50.00 MAD
- Markup (profit ÷ cost)
- 50%
- Gross margin (profit ÷ selling price)
- 33.33%
- Multiplier (price ÷ cost)
- × 1.5
- Selling price incl. 20% VAT
- 180.00 MAD
What is the difference between markup and gross margin?
Profit is the selling price minus the cost, both before tax. Markup divides that profit by the cost; gross margin divides it by the selling price. An item bought for 100 DH and sold for 150 DH makes 50 DH of profit: a 50% markup, a 33.33% gross margin and a 1.5 multiplier.
Examples in dirhams
Cost before tax: 100.00 MAD
| Selling price before tax | Profit | Markup (profit ÷ cost) | Gross margin (profit ÷ selling price) |
|---|---|---|---|
| 120.00 MAD | 20.00 MAD | 20% | 16.67% |
| 150.00 MAD | 50.00 MAD | 50% | 33.33% |
| 200.00 MAD | 100.00 MAD | 100% | 50% |
| 300.00 MAD | 200.00 MAD | 200% | 66.67% |
Markup ⇄ gross margin
Gross margin = markup ÷ (1 + markup). Markup = gross margin ÷ (1 − gross margin).
| Markup | Gross margin | Multiplier | Selling price of an item bought 100 DH |
|---|---|---|---|
| 10% | 9.09% | 1.1 | 110.00 MAD |
| 20% | 16.67% | 1.2 | 120.00 MAD |
| 25% | 20% | 1.25 | 125.00 MAD |
| 30% | 23.08% | 1.3 | 130.00 MAD |
| 40% | 28.57% | 1.4 | 140.00 MAD |
| 50% | 33.33% | 1.5 | 150.00 MAD |
| 75% | 42.86% | 1.75 | 175.00 MAD |
| 100% | 50% | 2 | 200.00 MAD |
| 150% | 60% | 2.5 | 250.00 MAD |
| 200% | 66.67% | 3 | 300.00 MAD |
The formulas
- 1
Profit
Selling price before tax − cost before tax.
- 2
Markup
Profit ÷ cost × 100. Bought 100, sold 150: 50%.
- 3
Gross margin
Profit ÷ selling price × 100. Bought 100, sold 150: 33.33%.
- 4
Selling price from a rate
From a markup: cost × (1 + markup). From a gross margin: cost ÷ (1 − gross margin).
What is the difference between markup and gross margin?
Both use the same profit. The markup compares it to the cost, the gross margin to the selling price: a product bought 100 and sold 150 has a 50% markup and a 33.33% gross margin.
Should I calculate the margin before or after tax?
Before tax (HT): VAT is collected for the state and is not part of your profit. The calculator also shows the price including 20% VAT for your quotes.
How do I convert a markup into a gross margin?
Gross margin = markup ÷ (1 + markup). A 25% markup is a 20% gross margin, and a 100% markup is a 50% gross margin. The other way: markup = gross margin ÷ (1 − gross margin).
What is the multiplier?
The number you multiply the cost by to get the selling price: multiplier = selling price ÷ cost. A 1.5 multiplier is a 50% markup and a 33.33% gross margin.
Is the calculator free?
Yes, free and without sign-up. It works right in your browser.
More free tools
Quote at the right price, and send it in minutes
Save your products with their prices once, then build quotes in a minute and send them on WhatsApp.
Free forever · No credit card · Upgrade whenever you need
