EveryToolAI
Index

Markup, Margin & VAT Calculator

This calculator answers the three pricing questions small businesses ask most: how to turn a cost into a selling price, how markup and margin differ, and how to add or strip VAT. Pick a mode, type your numbers, and it shows the result in your currency along with the figure people most often confuse it with. Everything runs in your browser and nothing is uploaded.

updated

Selling price
$150.00
Profit
$50.00
Equivalent margin
33.33%
Markup vs margin — what's the difference?

Both measure the same profit ($50.00 on a $100.00 cost), but against different bases. Markup is profit as a percent of cost (50%); margin is profit as a percent of the selling price (33.33%). Margin is always the smaller number, which is why quoting a “50% markup” is not a “50% margin”.

Runs entirely in your browser — nothing you type is uploaded. Figures are estimates for pricing; confirm the VAT/tax rules that apply to your country and product.

Markup and margin are not the same number

Markup and margin both describe the gap between what something costs you and what you sell it for, but they measure it against different bases, and treating them as interchangeable quietly bleeds profit. Markup is your profit as a percentage of cost. Margin is the same profit as a percentage of the selling price. Because the price is always larger than the cost, the margin is always the smaller of the two figures.

Buy an item for $100 and add a 50% markup: you sell at $150 and make $50. That $50 is a 50% markup on the $100 cost, but only a 33.3% margin on the $150 price. If your business plans around a 50% margin and you set prices with a 50% markup, every sale comes in a third short of where you thought it was — an error that compounds across a whole catalogue.

To hit a target margin you have to work from the price down, not the cost up. The formula is price = cost ÷ (1 − margin). A 40% margin on a $60 cost means a $100 price (60 ÷ 0.60), which is a 66.7% markup. The calculator shows both numbers side by side in every mode precisely so you never have to convert between them in your head.

A worked example

The three modes on one $100 cost, plus a VAT example:

Markup, margin and reverse-VAT on the same figures
MARKUP mode
  cost                   100.00
  markup                    50%
  selling price          150.00
  profit                  50.00
  margin (shown too)      33.33%

MARGIN mode
  cost                    60.00
  target margin             40%
  selling price          100.00
  markup (shown too)      66.67%

REVERSE VAT mode
  gross price            120.00
  VAT rate                  20%
  net price              100.00
  VAT amount              20.00

Reverse VAT is the mode people get wrong most often. To remove 20% VAT from a $120 gross price you divide by 1.20, you do not subtract 20%. Dividing gives $100 net and $20 of VAT; subtracting would give $96 and quietly overstate the tax by four dollars on every line. The rule generalises: strip VAT by dividing by (1 + the rate), add it by multiplying.

The forward direction is the easy one — a $100 net price at 20% VAT is simply $120 gross — but the reverse is what you need when you are backing the tax out of a receipt total, or quoting a client an inclusive price from a net cost.

Which mode you need, and when

Most pricing tasks map cleanly onto one of the three modes. Reach for Markup when you buy at a known cost and want a price by applying a standard uplift — the classic retail and wholesale move. Reach for Margin when the constraint is the other way round: you need each sale to retain a fixed percentage to cover overheads and profit, so you solve for the price that delivers it. And reach for VAT whenever tax has to be added to a quote or removed from a total.

The modes chain together in real work. A shop might set prices by margin to protect profitability, then present them VAT-inclusive to consumers, then reverse the VAT at bookkeeping time to report the net sales. Doing each step in the matching mode, rather than eyeballing percentages, is what keeps the figures consistent from the price tag to the tax return.

The tool works in any currency and at any rate, so it fits a 5% sales tax, a 20% UK VAT or a 15% GST equally. For the actual rate that applies where you trade, the companion VAT-rates table lists them by country.

What the estimate leaves out

The calculator does the arithmetic exactly; it does not know your local tax rules, and those are where the real complexity lives. VAT and sales-tax systems differ on what is taxable, which reduced rates apply to which goods, when you must register, and whether you can reclaim the tax you pay on purchases. A correct division by 1.20 is still the wrong answer if the rate should have been the reduced one, or if the sale is exempt.

It also treats cost as a single figure. In practice a product's true cost may fold in shipping, payment-processing fees, returns and storage, and a markup that looks healthy against the purchase price alone can vanish once those are counted. Feed the fully-loaded cost in, not just the invoice price, or the margin the tool reports will be optimistic.

Finally, the figures are estimates for pricing and planning, not a substitute for your accounts or professional tax advice. Confirm the VAT or sales-tax treatment that applies to your goods and territory before you rely on a number for an invoice or a filing.

Frequently asked questions

What's the difference between markup and margin?

Markup is profit as a percent of your cost; margin is the same profit as a percent of the selling price. Because price is bigger than cost, margin is always the smaller number — a 50% markup is only a 33.3% margin.

How do I get the selling price from a cost and a target margin?

Divide the cost by (1 − margin). For a 40% margin on a $60 cost, that's 60 ÷ 0.60 = $100. The Margin mode does this and also shows the equivalent markup.

How do I remove VAT from a price (reverse VAT)?

Divide the gross (VAT-inclusive) amount by (1 + the VAT rate) — do not subtract the rate. A £120 price at 20% VAT is £120 ÷ 1.20 = £100 net, so the VAT is £20. Reverse VAT mode does this for any rate.

Is a 50% markup the same as a 50% margin?

No — this is the most common pricing mistake. A 50% markup on a $100 cost gives a $150 price, which is a 33.3% margin. To actually earn a 50% margin you'd need to sell at $200 (a 100% markup).

Does it work for any currency and VAT rate?

Yes. Pick your currency and type any VAT/sales-tax rate. All the maths runs locally in your browser, so nothing you enter is sent anywhere.

Related tools