Skip to content
DraftYes

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.

I know
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 taxProfitMarkup (profit ÷ cost)Gross margin (profit ÷ selling price)
120.00 MAD20.00 MAD20%16.67%
150.00 MAD50.00 MAD50%33.33%
200.00 MAD100.00 MAD100%50%
300.00 MAD200.00 MAD200%66.67%

Markup ⇄ gross margin

Gross margin = markup ÷ (1 + markup). Markup = gross margin ÷ (1 − gross margin).

MarkupGross marginMultiplierSelling price of an item bought 100 DH
10%9.09%1.1110.00 MAD
20%16.67%1.2120.00 MAD
25%20%1.25125.00 MAD
30%23.08%1.3130.00 MAD
40%28.57%1.4140.00 MAD
50%33.33%1.5150.00 MAD
75%42.86%1.75175.00 MAD
100%50%2200.00 MAD
150%60%2.5250.00 MAD
200%66.67%3300.00 MAD

The formulas

  1. 1

    Profit

    Selling price before tax − cost before tax.

  2. 2

    Markup

    Profit ÷ cost × 100. Bought 100, sold 150: 50%.

  3. 3

    Gross margin

    Profit ÷ selling price × 100. Bought 100, sold 150: 33.33%.

  4. 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

Two people celebrating a closed deal