Margin and markup both describe the profit on a sale, but they measure it against different numbers. Mixing them up is one of the most common pricing mistakes in small businesses: price a product with a 40% markup when you meant a 40% margin, and you leave about 11 cents of every sales dollar on the table. Use the free calculator below to find your gross margin, markup and profit, or to work out the selling price you need to hit a target margin.
Profit margin and markup calculator
Choose what you already know, enter the two numbers, and the results update as you type.
Margin vs. markup: the difference
Both start with the same gross profit: selling price minus cost. The difference is what you divide it by.
- Gross margin is profit as a percentage of the selling price. It tells you how much of every sales dollar you keep.
- Markup is profit as a percentage of the cost. It tells you how much you added on top of what you paid.
Because the selling price is always larger than the cost (when you make a profit), the margin is always smaller than the markup for the same sale.
The formulas
Gross profit = Selling price - Cost
Gross margin % = Gross profit / Selling price x 100
Markup % = Gross profit / Cost x 100
Price from a target margin = Cost / (1 - Margin %)
Price from a markup = Cost x (1 + Markup %)
Cost from price and margin = Price x (1 - Margin %)
Worked example
You buy a product for $60 and sell it for $100.
- Gross profit: $100 – $60 = $40
- Gross margin: $40 / $100 = 40%
- Markup: $40 / $60 = 66.67%
Now suppose you want a 40% margin on a product that costs $60, but you calculate the price as a 40% markup instead: $60 x 1.40 = $84. Your real margin is then $24 / $84 = 28.6%, not 40%. To actually earn a 40% margin, the price has to be $60 / (1 – 0.40) = $100.
Markup to margin conversion table
| Markup | Gross margin | Price for a $100 cost |
|---|---|---|
| 10% | 9.09% | $110 |
| 25% | 20% | $125 |
| 33.33% | 25% | $133.33 |
| 50% | 33.33% | $150 |
| 66.67% | 40% | $166.67 |
| 100% | 50% | $200 |
| 150% | 60% | $250 |
| 200% | 66.67% | $300 |
| 300% | 75% | $400 |
Margin to markup conversion table
Going the other way: if you know the margin you want, this table shows the markup you need and the selling price for two example costs. Price = Cost / (1 – Margin).
| Target margin | Markup needed | Price for a $100 cost | Price for a $25 cost |
|---|---|---|---|
| 10% | 11.11% | $111.11 | $27.78 |
| 15% | 17.65% | $117.65 | $29.41 |
| 20% | 25.00% | $125.00 | $31.25 |
| 25% | 33.33% | $133.33 | $33.33 |
| 30% | 42.86% | $142.86 | $35.71 |
| 35% | 53.85% | $153.85 | $38.46 |
| 40% | 66.67% | $166.67 | $41.67 |
| 45% | 81.82% | $181.82 | $45.45 |
| 50% | 100.00% | $200.00 | $50.00 |
| 60% | 150.00% | $250.00 | $62.50 |
| 70% | 233.33% | $333.33 | $83.33 |
| 80% | 400.00% | $500.00 | $125.00 |
Which one should you use?
Use markup when you set prices from your costs, for example a contractor adding a percentage on top of materials. Use margin when you look at profitability: your profit and loss statement, comparing products, or checking whether a price covers your overhead. Most financial reports, lenders and industry benchmarks talk in margins, so it’s the safer number to plan with.
Remember that gross margin only covers the direct cost of what you sell. Rent, software, insurance and your own pay still have to come out of it. Track those in a monthly profit and loss to see your net margin.
Related calculators and templates
- Break-Even Calculator
- Percentage Calculator
- Sales Tax Calculator
- Freelance Hourly Rate Calculator
- House Cleaning Price Calculator (price per clean and per square foot)
FAQ
How do I convert markup to margin?
Divide the markup by 1 plus the markup. A 60% markup is 0.60 / 1.60 = 37.5% margin. Check it with real numbers: a $40 item marked up 60% sells for $64.00, the profit is $24.00, and $24.00 / $64.00 = 37.5%.
How do I convert margin to markup?
Divide the margin by 1 minus the margin. A 30% margin is 0.30 / 0.70 = 42.86% markup. That is why a 30% markup is not enough if you need a 30% margin.
Can a margin be more than 100%?
No. A margin of 100% would mean the product cost nothing. Markup, on the other hand, can be any size: a 300% markup is a 75% margin.
Is a 50% markup the same as a 50% margin?
No. A 50% markup on a $100 cost gives a $150 price and a 33.33% margin. A 50% margin needs a $200 price, which is a 100% markup.
What is a good profit margin for a small business?
It depends heavily on the industry. Retail and restaurants often work on much thinner gross margins than software or professional services. Compare yourself with businesses in the same industry rather than a single rule of thumb.
Should I include shipping and fees in cost?
Yes, if they are part of getting the product to the customer: inbound freight, packaging and payment processing fees all reduce your real margin. Leave out general overhead like rent.
Related tools: online calculator, A/R aging report, A/P tracker, 13-week cash flow forecast.
This calculator is for general information and planning. It isn’t tax, legal or accounting advice.
Comments
6 responses to “Profit Margin and Markup Calculator (Free, with Formulas)”
[…] Profit Margin and Markup Calculator […]
[…] Profit Margin and Markup Calculator […]
[…] Profit Margin vs. Markup Calculator […]
[…] Profit Margin and Markup Calculator […]
[…] Profit Margin and Markup Calculator […]
[…] Profit Margin and Markup Calculator […]