Profit margin is the share of the selling price you keep as profit, while markup is the percentage you add on top of your cost. A product that costs 60 and sells for 100 has a 40% margin but a 66.7% markup. Mixing the two up is one of the most common pricing mistakes, and the calculator below shows both numbers instantly.
Pricing sounds simple until real money is involved. Business news, such as the stories in the Spanish-language daily Al Heraldo, regularly shows how a few points of margin decide whether a company grows or struggles. Small businesses face the same maths on a smaller scale every day, and understanding it helps you quote with confidence.
- 100% free
- Call direct
- Voice search
- Urdu & English
In this guide you will learn the difference between margin and markup, the formulas, how to choose a target margin, and how to avoid the traps that quietly eat your profit. A free calculator in the middle of the page does the arithmetic for you.
Also readHow to Make an Invoice Template (Free Step-by-Step Guide for 2026)
Margins only tell half the story if winning each customer is expensive, so also work out your customer acquisition cost with our CAC calculator.
In this article
Margin vs markup: the simple difference
Both numbers use the same two inputs, your cost and your selling price, but they divide by different things. Margin divides your profit by the selling price. Markup divides your profit by your cost. Because the selling price is larger than the cost, margin is always a smaller percentage than markup for the same product.
| Cost | Price | Profit | Margin | Markup |
|---|---|---|---|---|
| 50 | 100 | 50 | 50% | 100% |
| 60 | 100 | 40 | 40% | 66.7% |
| 75 | 100 | 25 | 25% | 33.3% |
| 80 | 100 | 20 | 20% | 25% |
The formulas you need
- Profit = selling price minus cost
- Margin = profit divided by selling price, times 100
- Markup = profit divided by cost, times 100
- Price for a target margin = cost divided by (1 minus the margin as a decimal)
For example, if your cost is 60 and you want a 40% margin, the price is 60 divided by 0.6, which equals 100. If you had added 40% markup instead, you would have charged only 84 and earned a margin of about 28.6%. That gap is why the two terms must never be mixed up.
Profit Margin and Markup Calculator
Enter your cost and price, or your cost and a target margin. Nothing is saved or sent anywhere.
- Type your cost per item and your current selling price.
- Add the margin you want to reach.
- Press Calculate to see your margin, markup and the price needed for your target.
How to choose a target margin
There is no single right margin. Typical margins differ widely between industries, so compare yourself with similar businesses and check trade associations or accounting guides for your sector. What matters is that your margin covers your running costs and leaves a profit you are happy with. Software and online services often have high gross margins, while shops and food businesses often work with much lower ones and make money through volume.
A useful way to find your number is to work backwards. Add up your monthly fixed costs, such as rent, software and salaries. Estimate how many items you expect to sell. Divide your fixed costs by that number to see how much each item must contribute, then add your desired profit. If you want to know how many sales you need to cover your costs, try our break-even point calculator.
Gross margin and net margin
Gross margin only subtracts the direct cost of the product, such as materials or the price you pay a supplier. Net margin subtracts everything: wages, rent, marketing, card fees, refunds, interest and tax. A product with a healthy 50% gross margin can still lose money if overheads are high. Always check both numbers before deciding that a price is good.
Hidden costs that shrink your margin
- Payment fees. Cards and online platforms take a share of every sale.
- Discounts. A 10% discount can cut profit by much more than 10%, because the cost stays the same.
- Returns and refunds. Each return costs shipping, handling and sometimes the item itself.
- Your own time. If you pay yourself nothing, your true margin is lower than it looks. Our guide on how to price freelance services explains how to value your hours.
- Tax. Make sure you know whether your price includes tax.
A quick example
Pricing for different business types
A shop that resells goods usually calculates margin on each product and watches the average across the whole range. A service business, such as a designer or consultant, usually prices by the hour or by the project and should include the unpaid time spent on emails, quotes and admin. An online seller has to include platform fees, advertising and shipping. A restaurant or cafe tracks the cost of ingredients per dish, then adds labour and rent to see its real margin. Whatever your model, the logic is the same: know every cost, set a target margin, and test the result against the market.
If your calculated price looks too high for customers, do not simply cut your margin. First look for savings in your costs, such as better supplier terms, less waste or cheaper packaging, or add value that justifies a premium, such as faster delivery or better support. Sustainable pricing comes from understanding both sides of the equation.
Common mistakes to avoid
- Confusing markup with margin and under-pricing as a result.
- Forgetting overheads and counting only the cost of materials.
- Matching a competitor without knowing their costs.
- Never reviewing prices when your costs rise.
- Giving frequent discounts that train customers to wait for a sale.
Review your prices at least twice a year and any time a supplier raises theirs. Small regular adjustments feel easier to customers than one large jump.
Frequently asked questions
What is the difference between margin and markup?
Margin is profit divided by selling price. Markup is profit divided by cost. Markup is always the larger percentage for the same product.
What is a good profit margin?
It depends on your industry and costs. Compare with similar businesses and make sure your margin covers overheads and leaves the profit you need.
How do I turn a markup into a margin?
Divide the markup by one plus the markup. For example, a 50% markup equals a margin of 0.5 divided by 1.5, which is 33.3%.
Should the price include tax?
Calculate your margin on the price before tax, because the tax is not your income. Check local rules on how prices must be displayed.
