Free calculatorOperations and costing

Margin calculator, with markup, profit and GST or VAT

Enter any two of cost, selling price, margin and markup to get the rest, with tax taken out of the price before margin is worked out.

  • Any two figures in
  • GST or VAT inclusive prices
  • Margin to markup table
  • Profit on an order

Last updated

What you know

₹

Landed cost of one unit, before tax: purchase price plus freight and duty, or the cost to make it.

₹

Tax collected is paid on to the government, so it is never part of the margin.

To see the profit on an order.

Gross margin

20.0%

Markup 25.0% · profit ₹200.00 on each sale

Profit per unit
₹200.00
Margin
20.0%
Markup
25.0%

Where the price goes

  • Cost ₹800.00
  • Profit ₹200.00

Per unit

Per unit
Cost₹800.00
Profit₹200.00
Selling price before tax₹1,000.00

Margin and markup side by side, on a cost of ₹800.00

MarginMarkupPrice
5%5.3%₹842.11
10%11.1%₹888.89
15%17.6%₹941.18
20%25.0%₹1,000.00
25%33.3%₹1,066.67
30%42.9%₹1,142.86
35%53.8%₹1,230.77
40%66.7%₹1,333.33
50%100.0%₹1,600.00
60%150.0%₹2,000.00

Margin = profit ÷ price. Markup = profit ÷ cost. Both before tax. Rounded to two decimals.

Margin and markup: the difference

Both start from the same profit: selling price less cost. Margin divides that profit by the selling price; markup divides it by the cost. Buy at 800 and sell at 1,000, and the profit of 200 is a 20% margin but a 25% markup.

Margin can never reach 100%, because profit can never be more than the whole price. Markup has no ceiling: doubling the cost is a 100% markup and only a 50% margin.

Margin, markup and price formulas

To findFormulaExample (cost 800, price 1,000)
ProfitPrice − cost200
Margin %Profit ÷ price × 10020%
Markup %Profit ÷ cost × 10025%
Price from a marginCost ÷ (1 − margin)800 ÷ 0.80 = 1,000
Price from a markupCost × (1 + markup)800 × 1.25 = 1,000
Cost from a marginPrice × (1 − margin)1,000 × 0.80 = 800
Markup from a marginMargin ÷ (1 − margin)0.20 ÷ 0.80 = 25%
Margin from a markupMarkup ÷ (1 + markup)0.25 ÷ 1.25 = 20%

Margin to markup table

Read across: a 30% margin needs a 42.86% markup; a 50% markup gives a 33.33% margin.
MarginMarkup neededMarkupMargin it gives
5%5.26%10%9.09%
10%11.11%20%16.67%
15%17.65%25%20%
20%25%30%23.08%
25%33.33%40%28.57%
30%42.86%50%33.33%
40%66.67%100%50%
50%100%

Margin when prices include GST or VAT

Tax collected on a sale belongs to the government, so it is never part of margin. If a price includes tax, divide it by (1 + tax rate) first, then work out the margin on what is left. Input tax you can claim back is left out of cost for the same reason.

Each country has other rates for some goods; use the rate on your invoice. US sales tax is added at the till, so US prices are usually quoted before tax.
WhereUsual ratePrice before tax, from 1,180 inclusive
India, GST standard rate18%1,180 ÷ 1.18 = 1,000
UAE, VAT5%1,180 ÷ 1.05 = 1,123.81
Saudi Arabia, VAT15%1,180 ÷ 1.15 = 1,026.09
UK, VAT standard rate20%1,180 ÷ 1.20 = 983.33

Work the margin out on 1,180 with a cost of 800 and it reads 32.2%, against the real 20%. That gap is why a tax-inclusive price list can look healthier than it is.

A worked example

A part costs ₹800 landed and sells for ₹1,000 before GST. Profit is ₹200, margin 20% and markup 25%: the calculator's opening figures. With 18% GST, the customer pays ₹1,180, of which ₹180 is tax.

To reach a 30% margin on the same cost, the price must be ₹800 ÷ 0.70 = ₹1,142.86, a 42.86% markup. Adding 30% to cost gives ₹1,040, which is only a 23.08% margin.

Gross margin, contribution and net margin

  • Gross margin: price less the cost of the goods sold (material, and for a maker, the cost of making it). This calculator works it out per unit.
  • Contribution margin: price less variable costs only, including freight out and sales commission. It shows what each sale adds towards fixed costs.
  • Net margin: net profit after every expense, interest and tax, as a share of revenue, from the profit and loss account.

Common mistakes

  • Adding the target margin to cost. A 25% target needs a 33.33% markup, not 25%.
  • Working margin out on a tax-inclusive price.
  • Using purchase price as cost and leaving out freight, duty and handling.
  • Forgetting that a discount comes straight off profit: 10% off a 20% margin price leaves an 11.1% margin.

Emplotec CRM & Sales

Or see the margin on every quote before it goes out.

In Emplotec, each quote is built on a costing sheet, so its margin is known line by line, and discounts past the limit wait for approval.

  • A costing sheet on the quote, with price lists, schemes and discount approvals.
  • A promise date on the quote from stock, planned production and capacity.
  • Proformas with advances, and credit limits with holds and releases.
  • A Customer 360 page with each account's orders, dispatches, invoices and payments in one place.
QT-2207 · Haldane PumpsQuote · rev 2 · valid to 30 Nov
LinesCostingTermsSend for approvalPreview PDF
ApprovalLine 3's 12% discount takes its margin to 14.8%, below the 18% floor. Sales head to approve.
Quote value₹7.83L
Cost₹6.08L
Margin22.2%
Promise date28 Nov
Lines
ItemQtyCostPriceDiscountMargin
Impeller housing IH-220Drawing IH-220 rev D200₹1,640₹2,1500%23.7%
Seal kit SK-141,600₹96₹1280%25.0%
Pump shaft PS-38EN8, ground120₹1,050₹1,40012%14.8%

A quote with its margin worked out line by line, and one discount waiting for approval. Example companies, people and figures.

Questions people ask about the margin and markup calculator

How do I calculate profit margin?

Subtract cost from the selling price, divide by the selling price and multiply by 100. A cost of 800 and a price of 1,000 gives a 20% margin.

What is the difference between margin and markup?

Margin is profit as a share of the selling price; markup is profit as a share of the cost. The same 200 profit on a 1,000 price is a 20% margin and a 25% markup.

What markup gives a 30% margin?

42.86%. Markup = margin ÷ (1 − margin), so 0.30 ÷ 0.70 = 42.86%.

How do I convert markup to margin?

Margin = markup ÷ (1 + markup). A 50% markup is a 33.33% margin, and a 100% markup is a 50% margin.

Should margin be calculated on the price with GST or VAT?

No. Take the tax out first by dividing the inclusive price by (1 + tax rate), then work out margin on the net price. Tax collected is paid on to the government.

Can margin be more than 100%?

No. Margin is profit divided by price, and profit can't exceed the price. Markup can be more than 100%: selling at three times cost is a 200% markup and a 66.67% margin.

Sources

  1. CBIC: GST rates for goods and serviceshttps://cbic-gst.gov.in/gst-goods-services-rates.html
  2. UAE Federal Tax Authority: VAThttps://tax.gov.ae/en/taxes/vat.aspx
  3. ZATCA: VAT in Saudi Arabiahttps://zatca.gov.sa/en/RulesRegulations/Taxes/Pages/default.aspx
  4. GOV.UK: VAT rateshttps://www.gov.uk/vat-rates

Run this inside one system.

Tell us how your business runs. We'll show you Emplotec doing this work on your own numbers, and reply within one working day.

WhatsApp