Free calculator, net of VAT

Profit Margin Calculator

This profit margin calculator works out your gross margin in percent and your gross profit in euros from a selling price and what the product costs you, with VAT taken out of the price first. Turned around, it gives the selling price a target margin needs.

Profit margin calculator explained
Daniel Busch
Written by Daniel Busch · Chief of Staff
Calculate

As your shop shows it, with VAT. For a month, enter your revenue.

What one unit costs you, without VAT: purchase or production price plus inbound freight and duties. For a month, the cost of the goods sold.

Gross margin

40.0%

€20.00 gross profit ÷ €50.00 price without VAT

Gross profit

€20.00

€50.00 price without VAT − €30.00 cost

Markup on cost

66.7%

the same gross profit ÷ €30.00 cost

Price without VAT

€50.00

€59.50 with 19% VAT

After the product cost

Fulfilment, shipping, payment fees and returns come off this gross profit next.

Assumes a selling price that includes 19% VAT and a cost without VAT. More options changes the rate or takes the VAT out.

At a selling price of €50.00 without VAT and a cost of €30.00, the gross profit is €20.00: a gross margin of 40.0% and a markup of 66.7%.

The calculator opens on this page's example, a product at €59.50 with 19% VAT that costs €30.00. It compares your margin with nothing: we have no margin benchmark.

How profit margin is calculated

Profit margin = (selling price − cost) ÷ selling price × 100
Gross profit = selling price − cost

  • Selling price is the price without VAT.
  • Cost is what a unit has cost you by the time it is in your warehouse, without VAT: the purchase or production price plus inbound freight and duties. The entry on COGS (cost of goods sold) lists what belongs in it.
  • Profit margin is the gross margin here, because only the product's cost is taken off.

Example. A product sells for €59.50 and costs €30.00. Without VAT the price is €50.00, the gross profit €50.00 − €30.00 = €20.00 and the margin €20.00 ÷ €50.00 = 40.0%.

Gross profit formula

Gross profit = net revenue − cost of goods sold (COGS)
Gross margin (GM%) = gross profit ÷ net revenue × 100

For a month or a year, the calculation runs on totals. Net revenue is what customers paid without VAT, after discounts and refunds, and COGS is the cost of the units those orders contained. A shop with €48,000 of net revenue and €19,200 of COGS in a month makes €28,800 of gross profit, a gross margin of 60.0%. Enter the two totals as selling price and cost and untick the VAT box under More options, and the calculator shows the same numbers.

A month's margin is the average of your products' margins, weighted by what sold. It moves when the mix changes, even if no price and no cost did: a campaign that sells more of a low-margin product lowers it.

Selling price for a target margin

Selling price without VAT = cost ÷ (1 − margin)
Selling price with VAT = selling price without VAT × (1 + VAT rate)

Switch the calculator to Selling price and it turns the formula around. For a 40% margin, the product that costs €30.00 needs a price of €30.00 ÷ (1 − 0.40) = €50.00 without VAT, which is €50.00 × 1.19 = €59.50 with 19% VAT. Adding 40% to the cost instead gives €42.00 and a margin of 28.6%, because a percentage added to the cost is a markup.

How to read your margin: what the gross profit still has to pay

If fulfilment, shipping and payment fees take €8.00 of the example's €20.00 gross profit, say, €12.00 is left: 24% of the price without VAT, not 40%, and only that can pay for ads. The contribution margin calculator starts where this one stops: your gross profit is its CM1, and it goes on to CM2 and CM3. What to decide on gross margin and what on CM2 is the gross margin entry's view on pricing with gross margin and setting marketing targets on CM2.

Traps when you calculate a margin

  • Leaving the VAT in the price. On €59.50 with VAT, the example's margin reads 49.6% instead of 40.0%.
  • Dividing by the cost. €20.00 ÷ €30.00 is 66.7%: that is the markup, and it is always the higher of the two numbers.
  • Forgetting the discount. A 20% voucher lowers the price without VAT from €50.00 to €40.00. The cost stays, so the whole discount comes out of the gross profit, and the margin falls from 40.0% to 25.0%.
  • Taking the supplier's invoice for the cost. Freight, duties and the packaging you buy with the product belong in the cost. Left out, the margin looks higher than it is.

Profit margin calculator: frequently asked questions

What's the formula for calculating profit margin?

Profit margin = (selling price − cost) ÷ selling price × 100, with both amounts without VAT. A tote bag that sells for €24.00 without VAT and costs €9.00 leaves €15.00, a margin of 62.5%. Because only the product's cost is taken off, this is a gross margin; a net profit margin takes off every other cost of the business as well.

How do you calculate GM%?

GM% is the gross margin in percent: gross profit ÷ net revenue × 100. A quarter with €150,000 of net revenue and €67,500 of cost of goods sold has €82,500 of gross profit and a GM% of 55.0%.

What is a 30% margin on $100?

At a selling price of $100, a 30% margin is $30 of gross profit, so the product may cost $70. If $100 is your cost and you want a 30% margin, the selling price is $100 ÷ (1 − 0.30) = $142.86. The calculator shows euros, and the percentages are the same in any currency.

What is the difference between profit margin and markup?

Margin is the gross profit as a share of the selling price, markup the same profit as a share of the cost. The markup calculator converts one into the other.

Do I calculate the margin with or without VAT?

Without. VAT passes through you to the tax office, so it is no part of your revenue. Under More options you set your own VAT rate, or untick the box if tax is added on top at checkout and the price you enter has none in it. Enter the cost without VAT too if you reclaim the VAT your supplier charges.