Skip to content
Browse calculators

Pricing & rates · Worldwide

Markup and Margin Calculator

Markup is profit divided by cost, and margin is profit divided by selling price, so a 25% markup equals a 20% margin. This markup and margin calculator turns any cost into a price using a markup, a target margin or a price you already have. It also adds platform fees and sales tax, VAT or GST, and shows what you actually receive and your profit in any of 45 currencies.

  • Free, no sign-up
  • 45 currencies
  • Fees, VAT and GST included
  • Reviewed 26 November 2026
Markup and margin calculator example: a $100 cost with a 25% markup gives a $125 price and a 20% margin

Markup and margin calculator

Choose how to price, then enter your cost. Fees and tax are optional.

1. How do you want to price?

Price using

2. Cost and price

Time at cost, materials, subcontractors.

3. Fees and tax (optional)

Taken out of what the client pays, like marketplace or card fees.

Collected for the government, so it is not part of your profit.

Price to charge (before tax)

…

Markup … · margin …

Breakdown
Price before tax…
Platform / payment fee…
You receive…
Your cost…
Profit…
Sales tax / VAT…
Total on the invoice…

Key points

  • Markup is profit as a share of cost; margin is profit as a share of selling price.
  • A 25% markup gives a 20% margin. A 50% margin needs a 100% markup.
  • To keep your profit after a platform fee, divide by (1 − fee), do not add the fee on top.
  • Sales tax, VAT and GST are added to the price but are never part of your margin.

Markup vs margin: what is the difference?

The markup and margin calculator shows both numbers for every price, so you never confuse them.

Diagram: a $25 profit on a $100 cost is a 25% markup, and a 20% margin on the $125 selling price

The same $25 profit is a 25% markup on cost and a 20% margin on price.

Both measure profit, against different bases. Markup compares profit with your cost. Margin compares profit with the selling price. That is why the same price always shows a higher markup than margin.

Markup and margin formulas

Markup % = (price − cost) ÷ cost × 100
Margin % = (price − cost) ÷ price × 100
Price from markup = cost × (1 + markup)
Price from margin = cost ÷ (1 − margin)
Markup to margin = markup ÷ (1 + markup) · Margin to markup = margin ÷ (1 − margin)

Want the full explanation with examples in four currencies? Read markup vs margin: formulas, conversion table and examples.

Markup to margin conversion table

Already know your selling price? Choose “A known price” and the tool works as a profit margin calculator, showing your margin and markup.

Common markups and the margins they give
MarkupMarginPrice on a 100 cost
10%9.1%110
20%16.7%120
25%20.0%125
30%23.1%130
40%28.6%140
50%33.3%150
75%42.9%175
100%50.0%200
150%60.0%250
200%66.7%300
Target margins and the markup you need
Target marginMarkup needed
10%11.1%
20%25.0%
25%33.3%
30%42.9%
40%66.7%
50%100%
60%150%

How to use the markup and margin calculator

The markup calculator has three modes, so you can start from a markup, a target margin or a price you already have:

  1. Choose a method: add a markup, aim for a target margin, or check a price you already have.
  2. Enter your cost: for services, hours × your cost per hour plus subcontractors or materials.
  3. Add any platform or payment fee taken from what the client pays.
  4. Add sales tax, VAT or GST if you charge it. It is shown separately from your profit.

Worked example: pricing to cover a 10% platform fee

A project costs you $2,000 and you want a 30% markup. The client pays through a platform that keeps 10%.

  • Amount to keep: $2,000 × 1.30 = $2,600
  • Price: $2,600 ÷ (1 − 10%) = $2,888.89
  • Fee $288.89, you receive $2,600, profit $600
  • Adding 10% instead ($2,860) would leave you $26 short after the fee

Worked example: pricing to a profit margin with VAT

A UK consultant wants a 30% margin on a £2,000 cost and charges 20% VAT. Price = £2,000 ÷ 0.70 = £2,857.14 (a 42.9% markup). Profit £857.14, VAT £571.43, invoice total £3,428.57.

Price with VAT, GST or sales tax: rates to add

To get a price with VAT, enter the rate in the calculator: it adds the tax on top and keeps it out of your profit and margin.

Standard rates (check before invoicing; reduced rates and thresholds apply)
CountryTaxStandard rate
United StatesState and local sales taxVaries by state; no federal sales tax
United KingdomVAT20%
IrelandVAT23%
GermanyVAT19%
FranceVAT20%
NetherlandsVAT21%
SpainVAT21%
CanadaGST / HST5% GST, or 13% HST in Ontario
AustraliaGST10%
New ZealandGST15%
SingaporeGST9%
United Arab EmiratesVAT5%
IndiaGSTSeveral rates; 18% for most services
JapanConsumption tax10%
South AfricaVAT15%
MexicoIVA16%

Common pricing mistakes

  • Pricing with markup but reporting margin: a 30% markup is only a 23.1% margin, almost 7 points less than you think.
  • Marking up the invoice cost only: include freight, payment fees, returns and your own time.
  • Adding platform fees on top instead of dividing them out.
  • Counting VAT or sales tax as revenue: it belongs to the tax authority.
  • Ignoring your hourly floor: for services, start from your minimum hourly rate.

Markup or margin: which should you use?

Use markup to build prices from costs, as most freelancers, agencies and trades do (cost-plus pricing). Use margin to report profitability and compare with industry figures, which are usually quoted as margins.

Sources for tax rates: GOV.UK VAT rates and the European Commission’s VAT rates in EU countries. Rates change, so check your tax authority before invoicing.

RELATED GUIDE

Markup vs margin explained

Formulas, a conversion table and examples with fees, VAT and GST.

Markup and Margin Calculator FAQs

What is a 25% markup on $100?

$125. The profit is $25: a 25% markup on the $100 cost and a 20% margin on the $125 price.

How do I convert markup to margin?

Margin = markup ÷ (1 + markup). A 25% markup is 0.25 ÷ 1.25 = 20% margin; a 50% markup is 33.3%.

How do I convert margin to markup?

Markup = margin ÷ (1 − margin). A 20% margin needs a 25% markup; a 50% margin needs 100%.

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

No. A 50% markup gives a 33.3% margin. To earn a 50% margin you need a 100% markup, so the price is double the cost.

How do I add a platform fee to my price?

Divide the amount you want to keep by (1 − fee rate). To keep $2,600 after a 10% fee, charge $2,888.89.

Is VAT or sales tax part of my margin?

No. Tax you collect is passed on to the government, so margin and markup are worked out on the price before tax.

What is a good profit margin for freelancers?

It depends on your costs and market. Start by making sure your price covers your minimum hourly rate, then add a margin for risk, overheads and growth.

Can a margin be more than 100%?

No. Margin is profit as a share of price, so it is always below 100%. Markup has no upper limit.

Related calculators

  • VAT Calculator

    Add or remove VAT at the 2026 rates for the UK, Ireland and every EU country, plus Norway, Switzerland and Iceland.

    Tax & VATUK · EU · Europe

  • GST Calculator

    Add or remove GST, HST, PST and QST for Australia, New Zealand, every Canadian province and Singapore.

    Tax & VATAU · NZ · Canada · SG

  • Invoice Late Fee Calculator

    Calculate late payment interest or a late fee on an overdue invoice, including UK statutory interest and compensation.

    Pricing & RatesUS · UK · worldwide

  • Freelance Hourly Rate Calculator

    Work out the hourly and day rate you need to reach your income goal after expenses, tax and unbillable time. Works in 45 currencies.

    Pricing & RatesWorldwide · 45 currencies