Invoicing software 100% DGI compliant. 1-month free trial

Margin calculator: margin rate, markup rate and selling price

Enter your purchase price and your selling price to find your margin, or the margin rate you are aiming for to get the selling price to charge.

  • Gross margin in dirhams
  • Margin and markup rates
  • Suggested selling price

What I know

Calculation done in your browser: no data is sent or stored.

Gross margin

40.00MAD

Purchase cost 67 %Margin 33 %
Selling price excl. VAT
120.00 MAD
Margin rate (on cost)
50.00 %
Markup rate (on price)
33.33 %
Multiplier
1.5
01

Margin rate or markup rate?

The gross margin is the difference between the selling price excluding VAT and the purchase cost excluding VAT. The margin rate relates this margin to the purchase cost; the markup rate relates it to the selling price.

Example: a product bought for 80 MAD and sold for 120 MAD generates a 40 MAD margin, i.e. a margin rate of 50% (40 ÷ 80) and a markup rate of 33.33% (40 ÷ 120).

Which plans?

The calculator is free. In Ovalo, each product keeps its purchase and selling price, and stock tracks quantities (from the Business plan).

Compare plans

Frequently asked questions

Another question? Read the full FAQ.

01

How do I calculate a selling price from a margin rate?

Selling price excl. VAT = purchase cost excl. VAT × (1 + margin rate). With a cost of 80 MAD and a 50% margin: 120 MAD.

02

What is the difference between margin rate and markup rate?

The margin rate is calculated on the purchase cost, the markup rate on the selling price.

See also

Ready to invoice with full compliance?

Try Ovalo free for 1 month, no credit card required, no commitment.

Get started now