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

Page: https://www.emplotec.com/tools/margin-markup-calculator · Updated: 2026-11-06

Market: Any country

Use the calculator: https://www.emplotec.com/tools/margin-markup-calculator

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

## 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 find | Formula | Example (cost 800, price 1,000) |
| --- | --- | --- |
| Profit | Price − cost | 200 |
| Margin % | Profit ÷ price × 100 | 20% |
| Markup % | Profit ÷ cost × 100 | 25% |
| Price from a margin | Cost ÷ (1 − margin) | 800 ÷ 0.80 = 1,000 |
| Price from a markup | Cost × (1 + markup) | 800 × 1.25 = 1,000 |
| Cost from a margin | Price × (1 − margin) | 1,000 × 0.80 = 800 |
| Markup from a margin | Margin ÷ (1 − margin) | 0.20 ÷ 0.80 = 25% |
| Margin from a markup | Markup ÷ (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.**

| Margin | Markup needed | Markup | Margin 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.**

| Where | Usual rate | Price before tax, from 1,180 inclusive |
| --- | --- | --- |
| India, GST standard rate | 18% | 1,180 ÷ 1.18 = 1,000 |
| UAE, VAT | 5% | 1,180 ÷ 1.05 = 1,123.81 |
| Saudi Arabia, VAT | 15% | 1,180 ÷ 1.15 = 1,026.09 |
| UK, VAT standard rate | 20% | 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.

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

Read more: [Emplotec CRM & Sales](https://www.emplotec.com/erp/crm-sales.md)

## Questions and answers

### 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

- [CBIC: GST rates for goods and services](https://cbic-gst.gov.in/gst-goods-services-rates.html)
- [UAE Federal Tax Authority: VAT](https://tax.gov.ae/en/taxes/vat.aspx)
- [ZATCA: VAT in Saudi Arabia](https://zatca.gov.sa/en/RulesRegulations/Taxes/Pages/default.aspx)
- [GOV.UK: VAT rates](https://www.gov.uk/vat-rates)

## Related

- [/erp/crm-sales](https://www.emplotec.com/erp/crm-sales.md)
- [/templates/costing-sheet-format](https://www.emplotec.com/templates/costing-sheet-format.md)
- [/tools/steel-weight-calculator](https://www.emplotec.com/tools/steel-weight-calculator.md)
- [/tools/oee-calculator](https://www.emplotec.com/tools/oee-calculator.md)

---

- Talk to us: https://www.emplotec.com/contact (we call back within one working day)
- Email: preethan@emplotec.com · Phone and WhatsApp: +91 93420 95081
- Evaluating an ERP? Read the brief: https://www.emplotec.com/erp/brief.md
- Every page as Markdown: https://www.emplotec.com/llms.txt
- All tools: https://www.emplotec.com/tools.md
- /erp/crm-sales: https://www.emplotec.com/erp/crm-sales.md
- /templates/costing-sheet-format: https://www.emplotec.com/templates/costing-sheet-format.md
- /tools/steel-weight-calculator: https://www.emplotec.com/tools/steel-weight-calculator.md
