Profit margin calculator
Gross profit margin from cost and price, the price that gives the margin you want, or the most you can pay for stock.
Selling price from cost and markup, the markup you are charging, or the most you can pay, with the margin every answer leaves.
Example figures. Put in yours.
Selling price Your markup Most you can pay
The calculator needs JavaScript. The formula is below if you would rather work it out by hand.
Kept in this browser only. Nothing is sent to us.
This markup calculator works three ways. Give it your cost and the markup you want, and it gives the selling price. Give it a cost and a price, and it tells you the markup you are charging. Or give it a price and a markup, and it tells you the most you can pay for the stock.
Every answer shows the margin it leaves, because that is the number that pays the bills. Under More options it adds Irish or UK VAT to the price for you.
Markup is the profit on a sale as a share of what the thing cost you.
| To find | Formula | Example |
|---|---|---|
| Selling price | Cost × (1 + markup) | €40 × 1.5 = €60 |
| Markup | (Price − cost) ÷ cost × 100 | (€60 − €40) ÷ €40 × 100 = 50% |
| Cost | Price ÷ (1 + markup) | €60 ÷ 1.5 = €40 |
So a 25% markup on €100 is €125, a 20% markup on €500 is €600, and a 50% markup on €50 is €75.
This is where most pricing mistakes start. Markup is measured on the cost. Margin is measured on the selling price. The same sale gives two different percentages, and the margin is always the smaller one.
| Markup | Margin |
|---|---|
| 20% | 16.7% |
| 25% | 20% |
| 30% | 23.1% |
| 50% | 33.3% |
| 100% | 50% |
| 200% | 66.7% |
Say you need a 30% margin and you add 30% to the cost. You get a 23.1% margin instead, and you won’t notice until the year-end figures. If you think in margins, the profit margin calculator works the other way round.
Our guide to markup vs margin has the full conversion chart, both ways.
Turn the markup into a multiplier and multiply the cost by it. A 30% markup is × 1.3. A 75% markup is × 1.75. A 100% markup doubles the cost.
The calculator’s table does this for the common markups at once, with the margin each one leaves, so you can see where your price sits.
Work out the markup on prices before VAT, then add VAT on top. VAT isn’t profit, so a markup that includes it flatters the sale.
A €60 price becomes €73.80 with Irish VAT at 23%, or £72 with UK VAT at 20% on a £60 price. Under More options, pick the rate and the calculator shows the price with VAT beside everything else.
Enough to leave a margin that covers everything else: rent, wages, software, and the cost of winning the customer in the first place.
That last one is easy to forget. If you advertise, your margin sets the return on ad spend you need just to break even: a 33.3% margin needs a ROAS of 3. The calculator shows that figure with every answer, and the ROAS calculator takes it from there.
Client results, measured in the numbers the business cares about.
See the workTake the cost away from the selling price, divide by the cost and multiply by 100. A product that costs €40 and sells for €60 has a markup of €20 ÷ €40 × 100, or 50%.
$125. Multiply the cost by 1.25. The same works in any currency: a 25% markup on €100 is €125, and it leaves a margin of 20%.
Adding 30% of the cost to the cost. Something that costs €100 sells for €130, and the €30 profit is 23.1% of the selling price, so a 30% markup is a 23.1% margin.
$75: half of $50 is $25, added to the $50. The margin on that sale is $25 ÷ $75, or 33.3%.
Markup is profit as a share of the cost; margin is profit as a share of the selling price. The same sale gives two different percentages: a 50% markup is a 33.3% margin, and a 100% markup is a 50% margin. Mixing them up is the commonest way to underprice.
It depends on what the margin has to pay for. A 20% gross margin leaves little for rent, wages and marketing, and if you advertise it needs a return on ad spend of 5 just to break even on the ads. The ROAS calculator shows what that means for your campaigns.
Free, no sign-up, and every answer shows its working.
Gross profit margin from cost and price, the price that gives the margin you want, or the most you can pay for stock.
Return on ad spend, your break-even ROAS and the profit left after ads, or the target ROAS to give Google and Meta.
Start from the enquiries you want and get the monthly budget that buys them, then what those enquiries are worth once they become customers.
Cost per thousand impressions, the cost of a campaign, or the impressions a budget buys, then on to clicks, leads and the people you reach.
Click-through rate from clicks and impressions, set against the published average for your industry, or two ads compared to see which really wins.
What ranking is worth: visits, enquiries, customers and the return on your SEO spend, with Google's own search figures for 115 trades in Ireland and the UK.
Purpose-driven design, WordPress and Shopify builds, Core Web Vitals in the green, and conversion work every month after launch.