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
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.
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.
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:
- Choose a method: add a markup, aim for a target margin, or check a price you already have.
- Enter your cost: for services, hours × your cost per hour plus subcontractors or materials.
- Add any platform or payment fee taken from what the client pays.
- 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.
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.