Margin vs Markup: Use a Profit Margin Calculator to Price Products Correctly

A supplier charges you 700 for a product and you sell it for 1,000. Is that a 30% profit or a 43% profit? Both, depending on whether you mean margin or markup. Mixing the two up is one of the most common pricing mistakes small businesses make, and it can quietly eat into profit.
DoraPDF's Profit Margin Calculator shows both at once. Enter your cost and selling price, and it returns your profit, your margin % and your markup %, side by side, so there is no confusion about which number you are looking at.
Margin vs markup in plain words
Both start from the same profit: selling price − cost. The difference is what you divide by.
- Margin compares profit with the selling price. It answers: of every sale, how much do I keep?
Margin % = (Price − Cost) ÷ Price × 100
- Markup compares profit with the cost. It answers: how much did I add on top of what I paid?
Markup % = (Price − Cost) ÷ Cost × 100
Because cost is smaller than price when you make a profit, markup is always the bigger percentage.
How to use the Profit Margin Calculator
- Open the Profit Margin Calculator.
- Enter your Cost: what one unit costs you, including the parts you can attribute to it, such as purchase price, packaging and shipping in.
- Enter your Selling price.
- Choose a currency symbol (PKR, USD, EUR, GBP, INR or AED).
- Read Profit, Margin and Markup. They update as you type.
Worked examples
| Cost | Price | Profit | Margin | Markup |
|---|---|---|---|---|
| 700 | 1,000 | 300 | 30% | 42.86% |
| 400 | 500 | 100 | 20% | 25% |
| 60 | 100 | 40 | 40% | 66.67% |
| 1,200 | 2,000 | 800 | 40% | 66.67% |
Notice that a 40% margin always means a 66.67% markup, whatever the actual prices. The relationship is fixed:
Markup = Margin ÷ (1 − Margin) Margin = Markup ÷ (1 + Markup)
The costly mistake: adding a "margin" as a markup
Say you want a 30% margin on an item that costs 700. Many people add 30% to the cost: 700 × 1.30 = 910. The calculator then shows a margin of only about 23%, not 30%.
To hit a target margin, divide instead:
Price = Cost ÷ (1 − target margin)
700 ÷ 0.70 = 1,000. Enter 700 and 1,000 in the calculator and you will see the 30% margin you wanted. A quick way to find the right price is to try a few selling prices until the Margin field shows your target.
Which one should you use?
- Margin is what most accounts, reports and investors talk about, because it is tied to revenue. "Gross margin" on a profit-and-loss statement is a margin.
- Markup is handy on the shop floor, because it starts from the cost you already know. Many retailers price by a standard markup.
Neither is wrong. The important thing is to say which one you mean, especially when you agree prices with a partner, a reseller or a sales team.
Practical pricing tips
- Include all unit costs. If you forget delivery, platform fees or packaging, your real margin is lower than the calculator shows.
- Price before tax. Work out margin on your net price, then add GST or VAT for the customer. The Sales Tax Calculator adds or removes tax in one step.
- Remember discounts. A 10% sale on a 30% margin product leaves you about 22% margin (the profit drops from 300 to 200 on a 900 price). Run your sale price through the calculator before you launch a promotion.
- Look at overheads separately. Rent, salaries and software are not in unit cost. A healthy gross margin has to cover them.
- Measure the bigger picture. To judge a whole investment, such as new equipment or a stock purchase, use the ROI Calculator instead.
Common problems and fixes
Margin is negative. Your selling price is below your cost, so every sale loses money.
Markup shows a dash or a huge number. Cost is 0 or very small. Markup divides by cost, so it cannot be calculated when cost is zero.
Margin and markup look the same. They only match when profit is zero. If your numbers look identical, check that cost and price are not swapped.
Privacy
Cost and pricing data is sensitive for any business. This calculator runs entirely in your browser: nothing is uploaded, nothing is stored on a server and there is no account.
FAQ
What is a good profit margin? It depends heavily on the industry and business model. Compare with businesses like yours and make sure the margin covers overheads.
Is a 50% markup the same as a 50% margin? No. A 50% markup is a 33.33% margin. A 50% margin needs a 100% markup.
How do I calculate selling price from cost and margin? Price = cost ÷ (1 − margin). For a 25% margin on 600: 600 ÷ 0.75 = 800.
Does the calculator include tax? No. Enter net figures, without GST or VAT, for an accurate margin.
Try the tools from this guide — free
Keep reading
Reverse Sales Tax Calculator: Add or Remove GST and VAT From Any Price
Add tax to a price or remove GST/VAT from a tax-inclusive total. Free sales tax calculator with the correct reverse formula and worked examples.
GuideROI Calculator: Total Return on Investment vs Annualized ROI Explained
Calculate total ROI, gain and annualized ROI (CAGR) for any investment. Learn why two investments with the same ROI can be very different.
GuideHow to Make a Simple Receipt for a Small Business Sale (Phone or PC)
A customer asks for a receipt and you have no receipt book? Make a clean PDF receipt in a minute, send it on WhatsApp or email, and keep your records tidy.